sort, in order to improve the speed of database sorting, It is recommended that you try to use the memory sort area instead of the temporary segment. The sort_area_size is used to set the sorting area size.Increasing the sort area increases the performance of large-scale sorting, because it is possible to perform sorting in memory during query processing. The size of the sort area is important because there is only one sort area for each connection a
The SQL Tuning toolset (SQL Tuning set,sts) is an integral part of the Oracle 10g SQL Tuning Advisor feature. Each tuning toolset contains one or several SQL statements, as well as the contextual information needed to properly interpret them. SQL
of the author in practice. It is not only simple and practical, but also thought-provoking. It is a "treasure house" that is suitable for readers at all levels to study and explore...
Unlike other similar books, this book not only covers a variety of common Oracle versions on the market, but also highlights the unique performance optimization features of each ve
Oracle SQL Tuning Health Check ScriptWe focus on the performance of database system, the main task of database tuning is to optimize SQL. Good data architecture design, with application system middleware and writing a beautiful SQL, is the future of the system on-line no fatal perf
.
Three, Oracle memory tuning Method
When a performance problem arises in the production environment of the project, how do we determine which parameters need to be adjusted?
3.1 Check the library cache hit ratio for Oracle instances:
Standard: generally greater than 99%
Check mode: Select (SUM (reloads)/sum (Pins
the evaluation indexes before and after the database adjustment: The tradeoff between response time and throughput, the availability of database, the hit rate of database and the efficiency of memory usage, so as to measure the effect of adjusting measures and the direction of guiding adjustment.Performance tuning of an Oracle database should be done in a certain order, as the system's adjustments in the p
issues at every step of the environment creation. When creating a database, you also need to consider the functionality that affects maintainability. Databases that are easy to maintain can run normally for a longer time, which is also an important part of the overall performance. The create database statement in the "solution" section also takes into account the following maintainability features. Create an automatic UNDO tablespace (automatic UNDO
Tags: extracting day workload operation Dictionary sysdate requires module logic operationIn most cases, Oracle uses index t to traverse tables more quickly, and the optimizer improves performance primarily based on defined indexes. However, if the SQL code written in the WHERE clause of the SQL statement is not reasonable, it will cause the optimizer to delete the index and use a full table scan, which is
read times. The ways to refine each statement are:Check Optimizer statistics,Check the interpretation plan for the most efficient access pathMeasuringtry to replace SQL constructs, and test for possible new indexes, manifested views, and partitions. Test the performance of the entire application using the optimized SQL statement. Is overall performance improved? The method is reliable, but somewhat dilator
from pfile= '/home/oracle/init0321.ora '; --Create SPFile--reboot below (by default, SPFile is used)sql> shutdown immediate;Database closed.Database dismounted.ORACLE instance shut down.Sql> startup;Note:Pfile and SPFile default location:SPFile ${oracle_install_path}/product/11.2.0/dbhome_1/dbs/spfileorcl.oraIf the parameter does not specify a pfile location, the following file is used by defaultPfile ${oracle_install_path}/product/11.2.0/dbhome_1/db
TablesA table describes an entity such as employees. You define a table with a table name, such as employees, and set of columns. In general, you give each column a name, a data type, and a width when you create the table.1. Ordinary heap table (heap-organized Tables)For all scenarios, applications with specific scenarios have a performance bottleneck, and alternative types of tables need to be replaced depending on the scenario.2. Global temp Table (
the hard disks.
6. Adjust operating system parameters such as the Oracle database running on UNIX operating systems, you can adjust the size of the UNIX data buffer, the size of the memory that each process can use, and so on.
In fact, the database optimization measures mentioned above are interrelated. Oracle database performance degradation is basically the us
Tags: merging RDBMS LTE data file nbsp Select line div2016-11-22Subquery: Scalar subquery inline view (In-line views) semi-join/reverse-connect scalar subquery Select followed by subquery similar to a custom function to overwrite an inline view (In-line view) from followed by a subquery similar to Design view sub-query A condom query is a garbage design that can cause performance problems. A semi-connection is a subquery that has a in/exists in the ba
Anything can have a positive impact on Oracle performance, such as changing the Oracle initialization parameters, adjusting the corresponding SQL, etc. the problem with Oracle's instance tuning is that overloaded Oracle's SGA can cause serious performance problems. Adjustme
provide information on the use and performance of the main hardware components of the system, as well as the performance of the operating system itself. This information is critical for detecting potential resource consumption, such as CPU cycles and physical memory, as well as detecting poor performance of peripherals such as disk drives. Operating system stati
Importance of oracle data dictionary and dynamic performance table: because the data dictionary contains user information, we need to query the data dictionary when logging on and have permission information, we also need to query the data dictionary when performing operations, and we also need to query the data dictionary when operating data with constraints. Therefore, the data dictionary is very importan
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.