I. Preface
Index plays an important role in database performance. The advantages and disadvantages of index design directly affect the efficiency of DB execution. Therefore, when performing DB tuning, some of them will start to process the index. SQL server also provides a good tool for Database Engine Tuning Advisor and provides some advice on index creation and optimization.
Ii. Index Overview
In this re
Summary of database MySQL tuning practices and mysql tuning practices
MySQL databases are widely used, with excellent stability and security. They have been verified by countless companies. It is far from enough to install and use MySQL. MySQL requires constant parameter adjustment or optimization settings to maximize its role. The content below is a summary of my work experience and work notes. It would be
MySQL performance tuning and Architecture Design-Chapter 1 Basic Principles of scalable design, mysql Tuning
Chapter 1 Basic Principles of scalable design Preface: With the rapid increase of information, the development of hardware equipment has gradually become unable to keep up with the application system's requirements for processing capabilities. How can we solve the performance requirements of the syst
Linux server performance tuning skills, linux Server TuningPerformance tuning skills for 20 Linux servers
Guide
Linux is an open-source operating system that supports various hardware platforms. Linux servers are world-renowned. The main difference between Linux and Windows is that, by default, a Linux server does not provide a GUI (graphical user interface) but a command line interface. The mai
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
Tags: ash text results SQL tuning SRC completion need to end TunA few days ago, a user developed QQ to find me, as follows:The free Dolphin. 16:12:01The island owner, my SQL can not find the results, could you help me see?Orchid Island Main 16:12:10How long is the result?The Free Dolphin 16:12:17How long has not produced the result, has not seen the result.Orchid Island Main 16:12:26Oh, good.Orchid Island Main 16:12:39Send the SQL and execution plan.T
GIS image cutting performance tuning and GIS image Performance TuningStatus Quo and objectives
DellR920 Server, virtualized vmware vsphere 5.5 system, Guest System Windows Server 2012 R2. Deploy software ARCGIS 10. Image graph cutting test: the original cut takes 70 hours, And now it takes 17 hours. There is still room for further optimization. Debugging objectives:
1. Verify the optimal graph cutting parameter configuration in the virtualization env
timeout; b read timeout; c write timeout);2.2. Parallelization of the serial request;A) use of curl_multi_* ();b) Use the swoole extension.
3. compress the PHP interface output:Using gzip compressionBenefits: Facilitates faster reception of data by client side;Cons: Extra CPU overhead
4. Cache Duplicate content: multiple requests, the content is not changed under the circumstances;
5.smarty Tuning and time window overlap ideas (which can be used in c
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 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 e
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 names utf8' // sets utf8 encoding for connectin
Common SQL Tuning Tips and SQL Tuning tuningtips
Create an appropriate index (refer to correct database index creation)
Replace OR with UNION (applicable to index columns)
Replace in and not in with exist and not exist
Do not declare numbers in character format (this will invalidate the index and generate a full table scan)
Do not use select * (list each column after select)
JVM tuning summary, jvm Tuning
Auxiliary InformationJVM provides a large number of command line parameters and prints information for debugging. There are mainly the following:
-XX: + PrintGCOutput Format: [GC 118250 K-> 113543 K (130112 K), 0.0094143 secs][Full GC 121376 K-> 10414 K (130112 K), 0.0650971 secs]
-XX: + PrintGCDetailsOutput Format: [GC [DefNew: 8614 K-> 781 K (9088 K), 0.0123035 secs] 1
Oracle tuning uses related SQL, oracle tuning related SQL
Select * from v $ session where username is not null;Select username, count (username) from v $ session where username is not null group by username;Select count (*) from v $ process;Select value from v $ parameter where name = 'processs ';Select count (*) from v $ session where status = 'active ';Select name, VALUE, DISPLAY_VALUE from v $ parameter
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 analyzing heap memory leaks and viewing memory usage information.The Jprofiler tool is a powerful
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 commands provided by Mysql to analyze SQL statements.
Ii. Explain commands for database
Jvm-related parameters, tuning, and jvm parameter tuning
Common jvm parameters are as follows:
-Xmx1024m: Set the JVM maximum available memory to 1024 MB.-Xms1024m: Set JVM to enable the memory to be 1024 MB. This value can be set to the same as-Xmx to avoid JVM re-allocating memory after each garbage collection.-Xmn512m: Set the young generation size to 512 m. Memory size of the entire JVM = size of the yo
Meizu mobile browser compatibility tuning best practices, compatibility tuning Best PracticesProblem 1: Non-position: absolute container height: 100% does not take effect, leading to bottom location dislocation
1: The actual height of the container is rendered as 0.
2:
Node 1 style contains position: relative; height: 100%; but the height in meizu mobile browser is rendered as 0Node 2 defines bot
Http://www.360doc.com/content/14/1208/13/16070877_431273418.shtmlUse JMeter to stress test tomcat and Tomcat performance tuningNginxtomcat Throughput Research ReportHttp://wenku.baidu.com/link?url= Fmp1sd8qbi87s23kei5nbek7mpjr-mwbte-pb4bn4iyqn1vqoagkig7bbnn5csmryhye4skxyoc5emjukc1gwqxnbgxsvrthadaxbcannf3Http://www.open-open.com/lib/view/open1401931407228.htmlIntroduction to JMeter's articlesHttp://www.cnblogs.com/TankXiao/p/4045439.htmlView JMeter Aggregation Tree ResultsTuning Series-tomcat
FineReport performance tuning methods, finereport Performance TuningThe basic idea of FineReport performance optimization is to properly set the memory size of the application server.
Generally, the default memory configuration of the server is relatively small. In larger application projects, this memory is not enough. Therefore, you need to increase the memory size during processing.
The memory configuration methods for each application server are d
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
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.