Become a Java GC expert (5)-Java Performance Tuning principle, gc Tuning
Not every program needs optimization. If the performance of a program is the same as expected, you don't have to put extra effort into improving its performance. However, after the program debugging is
Article title: Overview of tuning methods for Linux network performance tuning. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Author: Yao Ye He Xiaoyu Yang bangqing Hongyun
In two articles:
MySql performance tuning policy and mysql tuning policy
This topic provides detailed parameter descriptions for my. cnf configuration.
The sample configuration is as follows:
# Cat my. cnf
# MySQL client library initialization.
[Client]
Port
= 3306
Socket =/tmp/mysql. sock
Character-set-server = utf8
# The MySQL server
[Mysqld]
Init_connect = 'set na
with a graphical performance detection tool. Ability to monitor memory, threads, class loading, virtual machine information, and moreVisual VM is a multi-in-one graphical performance detection tool that integrates a variety of new capability detection tools. Can replace some of the JDK's own tools, if JSTATE,JPS, etc.The Mat full name Memory Analyzer is a powerful Java heap analysis tool capable of analyzi
The main processes of tuning the JVM are:1. Determine heap memory size (-XMX,-XMS)2, the rational distribution of the new generation and old generation (-xx:newratio,-XMN,-xx:survivorratio)3. Determine the size of the permanent zone (-xx:permsize,-xx:maxpermsiize)4. Select the garbage collector5, the garbage collector to set reasonable6. Disable GC (-XX:+DISABLEEXPLICITGC)7. Disable class Metadata recycling (-XNOCLASSGC)8. Disable class validation (-x
:16TAB1 small, TAB2 billion level above, two weeks data in tens of millions of.Lan Hua Main 16:13:22Ok.Orchid Island Main 16:16:29So change the SQL:with T1 as (Select count (t.c1), t.c1,t.c2,t.c3,t.c4,t.c5From Tab1 twhere T.c2 not in (' Val1 ', ' val2 ', ' val3 ', ' val4 ', ' VAL5 ')and C1 is not NULLGroup by T.C1, T.C2,T.C3,T.C4,T.C5)Select T1.c1,t1.c2,t1.c3,t1.c4,t1.c5from T1Where NOT EXISTS (Select/*+ Use_hash (m,n) */M.C1, M.C2,M.C3,M.C4,M.C5from T1 m,tab2 Nwhere N.c2 > Sysdate-14and m.c1 =
Database Tuning tutorial (4) Explain performance analysis command, tuning explain
In the previous chapter, we learned how to find slow queries and record statements into logs. How can we know where statement problems occur after slow queries are found. This chapter describes how to use the database performance analysis
In the DB2 tuning process, you often want to be able to get SQL that is slow to execute in your current production environment, which you can then fine tune for specific slow SQL. The following scripts can be exploited, or are cumbersome to operate, and need to be run manually.DB2 Connect to Tablename;db2-x "Select Current Timestamp | | ' | ' | | Stmt_text | | '
Label:This paper mainly explains MySQL performance bottleneck analysis, performance indicators, performance index information collection tools and methods, analysis of the use of tuning tools.The article has not been completed, the following is an outline.Performance bottlenecks:SlowPerformance Index:Frequency of Visit
performance, especially to cope with the increase in data volume and query complexity. However, like all data management systems, pureXML also requires good settings and some adjustments. For some suggestions on XML performance tuning, see the section "getting excellent XML query DB2 9 XML
First, diagnostic tools
1. Warning Log file
Warning log files contain system information and error logs that contain important errors (such as: ORA-600) and block checksum error messages (ora-1578,ora-1498). Monitor database operations such as CREATE DATABASE, STARTUP, SHUTDOWN, ARCHIVE log, and RECOVER, and record Non-default initialization parameter values. When Log_checkpionts_to_alert is set to true, the warning log file also records the start and end times of checkpoints, incomplete checkpo
MySQL performance tuning and Architecture Design-the idea and solution of the High Availability design in Chapter 17th, mysql Tuning
Chapter 1 High Availability design ideas and solutions
Preface:
The database system is the core part of an application system. To ensure the overall availability of the system, the database system cannot have any problems. For an en
The performance tuning of Enterprise Java applications is a daunting, sometimes futile task, caused by the complexity of modern applications and the lack of formal tuning methods. Modern enterprise applications are quite different from those applied ten years ago, and these applications now support multiple inputs, multiple outputs, complex frameworks, and busine
DB2forIBMi provides a series of performance tuning tools. VisualExplain is an important one. It graphically displays the access plan generated after the DB2fori database query engine intelligently optimizes Users' Query requests.
DB2 for IBM I provides a series of performance tunin
performance. Therefore, increase the value of the LOCKLIST parameter as much as possible. It must be noted that the LOCKLIST parameter is not the number of locks, A memory area is a database page (each lock requires 96 bytes in a 32-bit system, and each lock requires 48 bytes for locking. In a 64-bit system, each lock requires 128 bytes. For locking and locking, each lock requires 64 bytes ). The MAXLOCKS parameter corresponds to the LOCKLIST paramet
single processor system, hash connections only use dedicated sortheap. In SMP systems (where intra-parallel = ON and dft_degree> 1), hash connections use shared sortheap in the first phase of the operation, and dedicated sortheap in the last phase. For more information about these parameters, see the Administration Guide: Performance provided with DB2 UDB.How can we optimize these parameters? Like most
behavior does bring more trouble for subsequent adjustments.7. Keep in mind the decrease rule of return. Remember, the most efficient performance tuning results often come from your initial efforts. Subsequent adjustments will result in a gradual reduction in earnings and more efforts.Adjusted DB2 UDB System ConfigurationAfter
The individual believes that JVM tuning is primarily addressed by the following methods1. Set the appropriate maximum heap memory (maximum and value for Cenozoic and Laosheng generations) and minimum heap memory (the operating system memory size consumed by JVM startup), and set the scale allocation of the heap.2, set up the suitable new generation because of its impact on the system performance and GC reco
Performance optimization is to improve the system performance, reduce energy usage, or reduce the impact of applications on other parts. If the optimization is hasty or there is no measurement, of course, performance optimization may have a bad effect.
Performance optimization is to improve the system
Database Tuning tutorial (4) Explain performance analysis command, tuning explain
In the previous chapter, we learned how to find slow queries and record statements into logs. How can we know where statement problems occur after slow queries are found. This chapter describes how to use the database performance analysis
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.