in SSMS
T-SQL Tools
SQL Profiler
Query Analyzer
Database Engine Tuning Advisor
Windows Event Viewer, primarily to view the following event logs
Windows Application Log
Windows system logs
Windows security Log
Windows System Monitor is able to track:
SQL Server I/O
Many of my friends may be making mistakes in performance optimization as described below. If you have any need, please refer to the mistakes in SQL Server query performance optimization to get out of the index.
Many of my friends may be making mistakes in performance optimization as described below. If you have any nee
The most talked about Oracle 10g performance is the new automated Workload repository (AWR) feature and proactive performance monitoring through automated database diagnostics monitoring (ADDM). When an Oracle session is established, a specially sorted area is divided into server memory to provide a sort space for the
The most important component of Oracle SQL running time is the time spent preparing new SQL statements for execution. However, if you understand the Inherent Mechanism of executable plan generation, you can control the time spent by Oracle in evaluating the table connection sequence and improve query
SQL Server query performance optimization analysis transactions and locks (2 ). Step 1: Execute Example 2 and Example 3 code in the query analyzer. (This is the example in the previous article SQLSERVER query performance optimization analysis transactions and locks (2) -- Example 2 6 is locked by 53
optimize to avoid full table scans to reduce IO waiting, thus speeding up the execution of the statement.
Tip: When I do optimization sql, I often run into statements that use in, and then we have to replace it with exists, because Oracle does it in the same way as or, even if you use an index, it's slow.
Like what:
SELECT Col1,col2,col3 from table1 a
WHERE a.col1 not in (SELECT col1 from Table2)
Can be r
32712.2 database and agile development 32812.3 progressive Data Modeling 32912.4 rebuilding a database 33112.5 create an access layer through PL/SQL 33512.6 agile declaration 34712.7 incremental data modeling with PL/SQL 34912.7.1 define interface 34912.7.2 think about scalability 34912.7.3 test-driven development 35012.7.4 use mode and user 350 wisely12.8 conclusion 351Chapter 2
Server Load balancer for our customers. In fact, it is one-sided. RAC mainly targets Server Load balancer for CPU and memory,Disk I/O load balancing is not implemented. (Of course, disk I/O can be achieved through Raid or NAS)
Another advantage of RAC is that it improves availability, that is, a server is broken (Note: it is not a data storage medium) and does not affect normal use.Like Server Load balancer, it improves the availability above the data layer, but not all, because the data is bro
sequential access to each record in the table. Oracle optimizes full table scan by reading multiple data blocks at a time.
2. Access the table through rowid
You can use rowid-based access to improve the efficiency of accessing tables. rowid contains the physical location information recorded in the table .. oracle uses indexes to establish a connection between data and the physical location where data is s
According to Oracle's documentation, the data pump in different ways to export imports, performance can be significantly different, this time just have the opportunity to test, migration table space, direct path, external table, and database chain export, import performance differences.
This test direct path export, import method.
First clear the user and tablespace imported from the previous article, and
. Use where to replace having (if possible)Optimize GROUP BY:Increase the efficiency of the group BY statement by filtering out unwanted records before group by. The following two queries return the same result but the second one is significantly faster.Copy CodeThe code is as follows:Low efficiency:SELECT JOB, AVG (SAL)From EMP GROUP job has job = ' president ' and AVG (SAL) >xxxEfficient:SELECT JOB, AVG (SAL)From EMPWHERE JOB = ' President 'OR job = ' MANAGER ' GROUP JOB having and AVG (SAL) >
. In the case of Alpha 1200 for the revenue system, the SGA is about 160 megabytes in size.
Some parameters in the initialization parameter file have a decisive effect on the size of the SGA. Parameter db-block-buffers (number of buffers cached in the SGA), parameter shared-pool-size (number of bytes allocated to the shared SQL area), is the main influence of the SGA size.
The Db-block-buffers parameter is the most important determinant of the SGA siz
business system, at the peak of business will form a large number of centralized concurrent operations, resulting in a large number of I/O operation; 2 , non-standard SQL statement resulting in excessive disk access (e.g., full table scan, etc.); 3 , due to hardware-caused storage IO its own performance problems; is a certain customer in the real environmentI/Oof per
Oracle database Jiyaqunxiong, still maintains the enterprise database market share leader position.
A comparison between ORACLE and Sybase's advanced technology
Compared with Sybase database, Oracle database has great advantages in architecture, parallel support, integrity control and so on.
1, the system structure comparison
The following articles mainly introduce how to obtain the actual operating solutions for Oracle System Performance Statistics. Recently, many computer companies have asked me questions about Oracle performance. What is the concept of slowness? How to quantify performance sta
I. Question proposal
At the early stage of application system development, due to the relatively small amount of data in the development database, the performance of SQL statement writing is not good for querying SQL statements and writing complex views, however, after the application system is submitted to the actual application, as the data in the database incr
[Author: Shi XiaoYu]
I. Question proposalAt the early stage of application system development, due to the relatively small amount of data in the development database, the performance of SQL statement writing is not good for querying SQL statements and writing complex views, however, after the application system is submitted to the actual application, as the data
changed, for methods to collect system statistics, see section 5.9 "system Statistics" in Oracle-based SQL optimization ".(7) we recommend that you collect additional statistics on internal objects in the X $ table, however, it is only because the internal object statistics in the X $ table are inaccurate that the existing system performance problem is clearly d
Tags: style blog http color using OS IO strongOne, automatic workload library (Automatic Workload Repository,awr)The Automated Workload library (Automatic Workload repository,awr) is a tool provided by Oracle Corporation. AWR can automatically collect, process, and save performance statistics, which are stored in memory and then saved in a database that can be displayed in a report or queried through a view
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.