memory structure consisting of SGA to improve system performance. Because the memory structure requirements of the Oracle database server are closely related to applications, therefore, the memory structure should be adjusted before the disk I/O adjustment.
1.2.1 database buffer adjustment
The database buffer contains private and shared SQL and PL/
operations* Access path (SQL)* Memory Allocation
However, we can often find Major performance problems at the bottom layer of Oracle, as shown below:
* Input/output and physical database structure* Resource Competition* Underlying operating system platform
Treasure Map
In terms of Oracle
With the continuous development of network applications and E-commerce, the number of visits to various sites is increasing, how to make limited computer system resources for more users. How to ensure the user's response speed and quality of service. These problems are within the scope of server performance optimization. As a more successful database vendor, how is the performance optimization of
needs to be released and allocated frequently, it cannot achieve quick access to data, therefore, the SGA should be placed in the primary memory instead of in the virtual memory. Memory adjustment mainly refers to adjusting the size of the memory structure consisting of SGA to improve system performance. Because the memory structure requirements of the Oracle database server are closely related to applicat
time, network package size, and scheduling frequency.2. Adjust the optimizer statisticsStatistics of the optimizer should be collected and stored on a regular basis so that the optimizer generates the best execution plan based on the distribution of data. In addition, the histogram helps optimize the table join and for SkewedThe where clause predicate information makes the correct access decision.3. Adjust optimizer ParametersThe following optimizer parameters should be adjustedOptimizer_mode,
In order to optimize the performance of Microsoft SQL Server most effectively, you must be clear about where performance will be maximized in terms of changing circumstances and focus on these aspects. Otherwise, you may spend a lot of time and effort on these issues, while performance is not significantly improved.Mos
We can use set statistics Io and set statistics time to analyze the performance of T-SQL statements.
The method is as follows:
In the SQL Server Query analyzer, run:
Set statistics profile onset statistics Io onset statistics time ongo -- // The SQL statement to
has rich experience and the content fits into reality,
It is definitely a necessary optimization guide for DBAs in their daily work. The author uses the long-term first-line work experience as an example to explain the Oracle Performance Analysis and Optimization ideas. In a word, I have benefited a lot!
The author's DBA experience is not rich. This book is worth reading.
Very good. The examples in the boo
Oracle Performance Optimization Execution plan management-beyond OCP proficient Oracle Video Tutorial Training 31This course introduces:Oracle Video tutorial, wind Brother this set of Oracle Tutorial training Video Tutorials:Http://edu.51cto.com/course/course_id-8319.htmlOracle Per
methods of emptying SQL Server log files from the 10thOne way: Empty the log.1. Open Query Analyzer, enter command dump TRANSACTION database name with NO_LOG2. Open Enterprise Manager again--right click on the database you want to compress--all tasks--shrink the database--Shrink the file--Select the log file--in the contraction mode to choose to shrink to XXM, here will give an allowable contraction to the
Performance of different Oracle client and Oracle versions
**************************************** ******************************** **************
Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.
Please leave a message
the quality of an execution plan. 2, for the table connection order, in most cases using nested loops, especially in the case of good index availability, the use of nested loops is best, but when Oracle discovers that the data table needs to be accessed large, the cost of the index is high, or no suitable index is available, consider using a hash connection to improve efficiency. The performance of a sort
, To determine the quality of an execution plan. 2, for the table connection order, in most cases using nested loops, especially in the case of good index availability, the use of nested loops is best, but when Oracle discovers that the data table needs to be accessed large, the cost of the index is high, or no suitable index is available, consider using a hash connection to improve efficiency. The performance
. Switch to the second tab. The event class is listed on the left, and the existing event class is displayed on the right. For performance optimization, we do not need security review or session information. Click the delete button to continue to switch to the third tab. The data column here is enough by default. Of course, if you are not pleasing to the eye, you can delete all appname/NT username and so on. On the last tab page, we need to block the
Tonight continue to share the SQL performance issue, today is mainly a number of specific SQL optimization methods and ideas to share, if you look after you have other ideas, welcome to discuss, well, into today's theme.
To optimize the specific application of some serious consumption resources
What is the first thing to do when a
optimization phase. If the difference between the two is very large, the actual performance statistics are stored as statistical information feedback, and the statement is also marked as re-optimized. When the statement is executed the next time, statistical feedback is used to select a more appropriate degree of parallelism (DOP).--Note:1) from the Oracle 11GR2 backwards, the parallel hint in the statemen
existing event classes are displayed on the right. For performance optimization, we do not need security review or session information. Click the delete button:
Switch to the third tab page, and the data column here is enough by default. Of course, if you are not pleasing to the eye, you can delete the appname/NT username and so on.
On the last tab page, we need to block the event ID generated by the system:
Check the excluded System ID, for examp
Label:The person who writes the program often needs to analyze whether the SQL statement that has been written has been optimized, and how fast the server responds, this time it needs to use the statistics state value of SQL to view it. by setting Statistics we can view the system situation when executing SQL. The options are Profile,io, time. Introduced as follo
> exec show_space (' demo ', ' Auto '); Total Blocks ......... ............ 9216Total Bytes ......... ............. 75497472Unused Blocks ......... ........... 768Unused Bytes ......... ............ 6291456Last used Ext FileId ......... ..... 4Last used Ext blockid ......... ..... 8328Last used Block ......... ..........Successfully completed, procedure PL/SQL. The HWM of the table does not change after the delete operation, or it is in the No. 8448 b
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.