. Reference documents
Microsoft Books Online logical operators and physical operator references
Refer to the book SQL. server.2005. Technical Insider "series
Conclusion This article is here first, this article mainly describes the T-SQL statement tuning from the execution plan, and introduces three
are crossed, then a query can be made using one. Let's see a statement. SELECT OrderID from
ORDERS
'1998-01-01'
1998-03-05 ' Here we use the predicate connection method for and, so in the actual execution, although both columns have nonclustered indexes, the theory can be used, but we just choose an optimal index to find, and another directly using bookmarks to find out. Save the previous introduction of the various Gods horse sort to go heavy .... Flow polymerization de-weight .... And s
of disk sorting will be greatly increased. This is mainly because at the end of the month, users will make statistics on the transaction data for the month. So at the beginning of the month, because of the number of transactions, so there will be more disk sorting occurs. In this case, it is necessary for the database administrator to adjust the relevant parameters. However, this adjustment is a temporary adjustment, until the cycle has passed, still need to transfer the parameters back. Only i
.
The customer provided an AWR report during peak hours. After careful analysis, it was found that it was a high-CPU-consuming SQL statement, which only took 85% of the CPU, this gives us an in-depth understanding of SQL optimization. We have also done some DB optimization before, basically through analysis tables, index creation, parameter adjustment, PATCH, and so on. However, this time, it lasted for a w
It is troublesome to optimize an SQL statement before Oracle 10 Gb. However, the SQL Tuning Advisor tool launched in Oracle 10 Gb can greatly reduce the workload of SQL optimization, however, to use
Tag: Time Condition number column arch OSI user CTE codeIn section 1.5 of the SQL Tuning Basics Overview 05-oracle Index Type and introduction, several "Common index execution plans" are mentioned:
Index full Scan: Fully scanned indexes, block read, orderedIndex range Scan: Range sweep of indexIndex fast full Scan: Fast all scans of indexes, multiple rea
Io is very relevant, when the free buffer waiting in the v$session_wait of the entry is very small or not, Explain the DBWR process of your system will be enough, do not need to adjust, there are many items of free buffer wait, your system must feel very slow, then your DBWR is not enough, the resulting wio has become your database performance bottlenecks, the solution is as follows:
A.1 to increase the write process while adjusting the db_block_lru_latches parameters
Example: Modify or add the
the deterioration of performance is a variety of factors, and sometimes the results of the performance degradation caused by multiple elements, this requires the database administrator has a more comprehensive computer knowledge, can be sensitive to the impact of the database performance of the main reason. In addition, good database management tools are also important for optimizing database performance.
Database performance optimization tools commonly used in
Trust a lot of friends, whether it is to do development, architecture, or DBA, are often heard that the word "tune". Speaking of "tune", may let a lot of technical staff heart surging, may also make a lot of people feel distressed. Of course, there are a lot of people are dismissive of this, because not everyone has access to the project is very large, and not everyone does the project is very high performance requirements.
In the mainstream enterprise-level development and Internet application
Document directory
Preliminary steps
Using bind variables
There are several relatively easy steps you can take to improve performance. From the user's perspective, one of the most frequently used interfaces with a database involves SQL statements, so getting a handle on them is a good place to start, in terms of being able to see an immediate improvement. -->Oracle
I believe many of my friends, whether engaged in development, architecture, or DBA, often hear the word "tuning. Speaking of "tuning", it may make many technical staff feel excited, or it may make many people feel distressed. Of course, there are also many people who despise this because not everyone is exposed to a large number of projects, and not everyone does have high performance requirements.
In mains
The Association of SQL tuning and shared pool structures introduces three types of computer resources that affect performance: Memory, CPU, and I/O. By adjusting SGA and PGA to make full use of physical MEMORY, making full use of CPU through parallel processing, and making full use of Hard Disk processing power by adjusting I/O distribution. Server process and PGA are "two grasshoppers on one rope", so sp a
Oracle Adjusts Oracle's competition
One of the benefits of Oracle is that it manages the free space in each table space. Oracle handles the space management of tables and indexes so that we don't have to understand the internal workings of Oracle's tables and indexes. However, for an experienced Oracle
oracle| Data | database | Performance Oracle is a high-performance database software. The user can adjust the parameters to achieve the optimization of performance. Performance optimization is mainly divided into two parts: first, the database administrator through the adjustment of system parameters to achieve the goal of optimization, the second is the development of the application of the optimization to
Tags: managing tuning direction Cache ACK Analysis binding shared pool SQLAnalysis of effective cursor management"Thinking Analysis"The ability to interpret cursors as shared run schedules when SQL is not shared. There are two directions to the conventional approach:1. Adjust the size of the shared pool (shared operation plan in the library buffer of the shared pool);2,
for media recovery.D.unused indicates that the log was never written, could have just been added, or was reset after resetlogs.6. Delete the old log groupsql> ALTER DATABASE drop logfile Group 1;sql> ALTER DATABASE drop logfile Group 2;sql> ALTER DATABASE drop logfile Group 3;7. Delete the Redolog log file under the operating systemMV/U01/ORACLE/ORADATA/ORCL/RED
nothing is perfect.The cost of the Begin Tran is that all the resources locked by the SQL statements cannot be released until the commit is committed before committing.It can be seen that if the BEGIN TRAN too many SQL statements, the performance of the database is poor. Before this large transaction commits, it is bound to block other statements, resulting in many blocks.The principle of the BEGIN Tran is
Tags: service simulation datapump tuning Management production practical fail controlOne: Download routeSecond: The book DrawingThree: the book catalogue
The 1th chapter of database operation and maintenance1th. Database Installation Configuration1.1 Preparation for pre-installation 11.2 Installing database Software 51.2.1 Method 1:oui Installation 61.2.2 Method 2: Silent installation 81.2.3 Method 3: Clone installation 111.2.4 Diagnostic Case: Un
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.