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
Postgresql C/C ++ API and postgresql sqlapi
1. postgresql learning uri recommendation
http://www.php100.com/manual/PostgreSQL8/ http://www.php100.com/manual/PostgreSQL8/reference.html http://www.yiibai.com/html/postgresql/
[Note tips byRuiy, distinguish uri/url, service/server,There has a certain truthChillax!]
Frie
PostgreSQL tutorial (18): client commands (2), postgresql tutorial
VII. pg_dump:
Pg_dump is a tool used to back up PostgreSQL databases. It can even perform a full and consistent backup when the database is being used concurrently without blocking access to the database by other users. The dump format generated by this tool can be divided into two types: script a
How to use Oracle's Dbms_sqltune package to execute SQL Tuning Advisor for SQL self-tuning1 ". Here is a simple example to illustrate the use of Dbms_sqltuneStart by running a SQL that you want to tune, and then get the SqlidSql> SELECT * from V$sqltext where sql_text like ' select * from dual% ';ADDRESS hash_value sql_id command_type PIECE sql_text---------------- ---------- ------------- ------------ ---------- --------------------------------------
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 business processing engines. and 10 years ago, web-
Tutorial on installing and using the extension module on PostgreSQL, postgresql extension module
Installation Module
Note: My runtime environments are Ubuntu 10.04 and PostgreSQL 8.4.
First, install the postgresql-contrib package and restart the database server. Then, check the contrib directory to see if there are som
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
JVM Tuning ToolsJconsole,jprofile,visualvmJconsole: The JDK comes with a simple function, but it can be used with a certain load on the system. The garbage collection algorithm has a very detailed tracking. For more information, see hereJprofiler: Commercial software, you pay for it. Powerful. For more information, see hereVisualVM: The JDK comes with powerful features similar to Jprofiler. Recommended.How to TuneObserve memory release, collection cla
11 simple Java performance tuning techniques, java Tuning
Most developers naturally think that performance optimization is complex and requires a lot of experience and knowledge. Well, it cannot be said that this is completely wrong. Optimizing applications to achieve optimal performance is not easy. However, this does not mean that you cannot do anything without such knowledge. Here are 11 easy-to-follow s
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 completed, it is difficult to immediately meet its performance requirements, so we have to tune the job. Regardless of the programming
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.