When Oracle database performance problems occur, it is effort-saving to use the Oracle toolkit and give reasonable optimization suggestions.
The following two packages are described and their specific practices.
The smallest adjustment tool for SQL Tuning Advisor.
Use one or more SQL statements as the input content, analyze all access paths, generate suggestions
Label:ObjectiveIn the previous article, we analyzed the usage of query hint as the first of the last play module of tuning series. Interested can click to view: SQL Server Tuning Series play turn (how to run with query hint (Hint) bootstrap statement)This article continues to play the contents of the module, the same, or want to grasp the previous series of conte
) 4 ways to resolve the index not being used when you like '%str ' http://blog.csdn.net/hzy38324/article/details/44975859 Database Tuning Tutorial (11) Design a beautiful table http://blog.csdn.net/hzy38324/article/details/44992649 Database Tuning Tutorial (12) Optimizing SQL
Guide. In simple terms, the process includes the following steps:
Set up one or several SQL tuning sets. STS can be created in Oracle Enterprise Manager through an existing awr snapshot, saved snapshot set, or a defined SQL history period. They can also be created manually using the procedures in Dbms_sqltune.
Use the Pac_stgtab_sqlset procedure in Dbms_sqltun
Original: SQL Server Tuning Series play turn three (use index hint (Hint) to boot statement maximum optimization run)ObjectiveThis article continues to play the content of the module, about the location of the index in SQL Server No need to say, this article will analyze how to use the Hint Bootstrap statement to fully use the index to run, as well as a solid gra
SQL Server Tuning Series Article summary: This is a series of articles on SQL Server tuning, which basically covers the decomposition of the query operations we write in the day and the tuning content items, all original ... The first basic module focus on the basic content
Label:Original: SQL Server Tuning series play Turn II (how to run with the aggregation joint hint (Hint) bootstrap statement)ObjectiveIn the previous article, we analyzed the usage of query hint as the first of the last play module of tuning series. Interested can click to view: SQL Server
Label:The main steps used by SQL Tunning Advisor: 1 Setting up Tunning task 2 Execute Task 3 showing tunning results 4 Follow the recommendations to run the corresponding tuning methodHere's how to do it in this order: 1 Setting up test tables and indexes Sql> CREATE TABLE test_sql_advisor as SELECT owner,object_name,object_id from Dba_objects;Table createdSql> S
Label:Original: SQL Server Tuning Series advanced (in-depth profiling statistics)ObjectiveAfter the analysis of the previous few, in fact, in general has been the first glimpse of the importance of SQL Server statistics, so this article will be sacrificed this artifact.This content will be very long, sit good bench, melon seeds snacks and so on ...No nonsense, go
statistic changes more than 500.
For a table with a data volume greater than 500 rows, when the first field data of the statistic changes more than the 20%* (total data volume of the table). So for larger tables, SQL Server recalculates the statistics only after more than 1/5 of the data has changed.
2, the temporary table can also have statistics information. This is one of the reasons why temporary table optimizations are used in many case
Original: SQL Server Tuning Series Basics (subquery operations Summary)ObjectiveIn the previous articles, we introduced a series of descriptions of operators and the optimization methods and techniques for each operator. This includes a series of our common operators, including how to view execution plans, how several datasets are commonly used, how to join operators, and parallel operators. Interested chil
Original: 2-year summary of SQL Server DBA tuning2 years SQL Server DBA Summary of tuningWhen I was 2 DBA I felt that there was something that needed to be shared with everyone to discuss the book first.Book List1. "In-depth analysis of SQL Server 2008 series" This is the MSSQL 2005 Technology Insider series. Version 2012 also out of interest can see, Technical I
N years ago, just when the contact with SQL, is a multi-table query in a variety of internal connections, external connections, left outer connection, right outside the connection of a variety of connections to get dizzy.What's more, there are two different ways to read the table connections in the book.For example, the query for table A, table B1, internal connection two kinds of wording:SELECT * from A, B where a.id = b.id;SELECT * from A join B on
Original: SQL Server Tuning Series Advanced (query statement running several indicator value monitoring)ObjectiveIn the previous article, we analyzed how the query optimizer works, including: detailed operation steps of the query optimizer, analysis of filter conditions, optimization of index items, and other information.In this article we analyze the detection of several key indicator values in the course
threads.Of course, here are a few thread operations can set their own, the maximum recommended for the current system configuration of the logical core number, of course, the large set can be just useless.Second , index Hint hints (index Hint)The so-called index hint hint is to force the query optimizer to perform a scan of a query statement or use a specified index.In this way, we often use in the tuning of a way, many times we create the index is i
both are created in the SGA but SQL plan directives have not yet been persisted to the Sysaux table space, and statistical feedback is used during the re-optimization period, ignoring the existence of SQL plan directives.Ø both are created but the SQL plan directives are persisted to the Sysaux table space, and the SQL
2YearSQL Server DBAOptimization Summary
When I was a dBA for two years, I felt that some things needed to be shared and discussed with you.
Book order
1. "in-depth analysis of SQL Server 2008 series" is the technical insider series of MSSQL 2005. I am also interested in version 2012. The technical insider series is my first book. It covers a large amount of content, but it's all just a few clicks. So many of them can be savedcarefully.
2. troubleshoot
Oracle SQL tuning procedure
The full name of SQL is Structured Query Language (Structured Query Language ). SQL is an industrial standard database query language used in the middle of 1980s. Do not confuse SQL with commercial products such as Microsoft
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.