absrtact: by discussing and studying the characteristics and principles of Oracle Server and Client/server, this paper expounds some principles and methods of improving and adjusting the performance of Oracle Application system.
Key Words: Oracle; client/server; system whole zone; network I/O; rollback segment.
local data, but only for those data that is not changed. Snapshots can also be used to dynamically replicate data between distributed databases, to define automatic refresh times for snapshots, or to manually refresh them to ensure referential referential integrity of the data. Invoking a remote procedure can also significantly reduce network congestion caused by frequent SQL statement calls. In summary, there is no single solution for all performance
With SPA, you can play a specific stream based on various types of changes (such as initialization parameter changes, optimizer statistics refresh, and database upgrades)SQL or the entire SQL load, and then generate a comparison report to help you evaluate their impact.
In versions earlier than Oracle Database 11g, I must capture all SQL statements and trace and run these statements,Then get the execution plan-this is an extremely time-consuming and e
identifies the session process ID of all users with the name starting with a:
1.select S.username, p.spid from V$session S, v$process P
2.
3.where s.paddr = p.addr and s.username like ' a% ';
4.
6) to sysdba into Sqlplus execution
1.alter session Set Timed_statistics=true;
2.
3.alter session Set max_dump_file_size=unlimited;
4.
5.oradebug Setospid
6.
7.oradebug Unlimit
8.
9.oradebug event 10046 Trace name forever, Level X/* Where x = (1,4,8,12) * *
10.
7 Track a session applicat
manufacturer, Oracle database at home and abroad to obtain a lot of successful applications, according to statistics, the global 93% of the listing. COM companies, 65 "Fortune Global 100" Enterprises invariably use Oracle database to carry out e-commerce. Many enterprises, government units and E-commerce websites in China have also adopted Oracle as the database
database performance bottleneck, then the solution is as follows:A.1 increase the write process while adjusting the db_block_lru_latches parameters.Example: Modify or add the following two parametersDb_writer_processes=4Db_block_lru_latches=8A, 2 asynchronous IO,IBM This is much simpler, and HP is a bit more troublesome to contact HP engineers.b, DB file sequential read, refers to the sequential read, that is, the full table scan, which is the part w
requires measurement. such as measuring the time of service execution, measuring the load that a single server can withstand, and the load that can be sustained after expansion, so that a reasonable planning system, and the cost of the expected expansion of the required investment.The measurement tools that you can use during the development phase include:* Server-side code-Yourkit (www.yourkit.com),* Client Web Measurement tool-FireBug (getfirebug.com), YSlow (developer.yahoo.com/yslow) or pag
The Oracle tutorial you are looking at is: Oracle SQL Performance Tuning Series learning three. 8. Use the Decode function to reduce processing time
Use the Decode function to avoid repeatedly scanning the same record or repeating the same table.
For example:
SELECT COUNT (*), SUM (SAL) from EMP
WHERE dept_no = 0020
oracle| Performance | optimization
46. Connect multiple Scans
If you compare a column to a limited set of values, the optimizer may perform multiple scans and concatenate the results.
Example:
SELECT *
From lodging
WHERE MANAGER in (' Bill GATES ', ' KEN MULLER ');
The optimizer may convert it to the following form
SELECT *
From lodging
WHERE MANAGER = ' BILL GATES '
or MANAGER = ' KEN MULLER ';
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.