SlideShare a Scribd company logo
Statspack
1.
1. Statspack;
2. Statspack ;
3. Statspack ;
4. Statspack ;
2. Statspack :
1. 8i ;
2. Statspack AWR , , AWR;
3. Statspack is a set of scripts that capture and report on performance data from within
the Oracle database;
4. Statspack :
1. Capture instance data by taking a "snapshot";
2. Store snapshot data in the database in a separate schema;
3. Create reports between two snapshots;
4. Mark snapshots as baseline information;
5. Use the reports as part of a performance tuning method;
5. Statspack :
1. spcreate.sql: Statspack;
2. statspack.snap: ;
3. spauto.sql: , alter system set job_queue_processes = 5 ;
4. spreport.sql/sprepsql.sql: ;
5. statspack.purge/sppurge.sql: ;
6. sptrunc.sql: Statspack ;
7. spdrop.sql: Statspack ;
8. spexp.par: Statspack ;
3. Statspack:
1. , statspack :CREATE TABLESPACE statspack DATAFILE '+DATA' SIZE
500M AUTOEXTEND ON EXTENT MANAGEMENT LOCAL;
2. sysdba :sqlplus / as sysdba;
3. PERFSTAT :define perfstat_password='oracle';
4. PERFSTAT :define default_tablespace='statspack';
5. PERFSTAT :define temporary_tablespace='temp';
6. Statspack:@?/rdbms/admin/spcreate.sql;
7. :host ls *.lis; spdrop.sql ,
;
8. PERFSTAT ,Statspack ;( ,
)
4. Statspack :
1. :execute statspack.snap;
2. :
3. , :
5. :
1. :
1. 0:General Performance;
2. 5:SQL statments;
3. 6:SQL plans and SQL plan usage;
4. 7:Segment-level statistics, v$segment_statistics ,
:SELECT owner, object_name FROM v$segment_statistics WHERE statistic_name =
'buffer busy waits' ORDER BY VALUE DESC;
5. 10:Parent and child latches, ;
2. :SELECT snap_level FROM perfstat.stats$statspack_parameter;
3. :execute statspack.snap(i_snap_level=>6);
4. , :execute statspack.snap(i_snap_level=>10,
i_modify_parameter=>'true');
5. / ( ):execute
statspack.modify_statspack_parameter(i_snap_level=>7);
6. session , session_id=3 :execute
statspack.snap(i_session_id=>3);
6. / Statspack Baselines :
1. ( ,
i_snap_range=false, ture):exec statspack.make_baseline(i_begin_snap=>2,
i_end_snap=>5, i_snap_range=>true);
2. :exec statspack.make_baseline(i_begin_date=>to_date('2012-
05-01 12:00:00', 'YYYY-MM-DD HH24:MI:SS'), i_begin_date=>to_date('2012-05-02
12:00:00', 'YYYY-MM-DD HH24:MI:SS'));
3. , ( , ,
i_snap_range=false):statspack.clear_baseline(i_begin_snap=>2, i_end_snap=>5,
i_snap_range=>true);
4. :exec statspack.clear_baseline(i_begin_date=>to_date('2012-05-
01 12:00:00', 'YYYY-MM-DD HH24:MI:SS'), i_begin_date=>to_date('2012-05-02 12:00:00',
'YYYY-MM-DD HH24:MI:SS'));
5. exec statspack.purge(); ;
6. baseline , purge baseline baseline snap,
clear baseline;
7. Statspack :
1. perfstat :conn perfstat/oracle;
2. , :
1. :define begin_snap=1;
2. :define end_snap=4;
3. :define report_name=spreport;
3. :@?/rdbms/admin/spreport.sql;
4. :host ls spreport.lst;
8. Statspack :
1. STATISICS_LEVEL=TYPICAL;
2. TIMED_STATISTICS=TRUE ;
3. Statspack AWR , AWR;
4. , 1 , , ###### ;
5. PREFSTAT ;
9. Statspack :
1. :
1. Load Profile(useful with baseline);
2. Instance Efficiency(useful with baseline);
3. Top 5 Timed Events;
4. Time Model;
5. Wait Events and Background Wait Events;
6. Wait Event Histogram(only in Statspack);
2. ,:
1. CONT:Block contention;
2. CPU:CPU consumption;
1. Host CPU;
2. Instance CPU;
3. SQL ordered by CPU;
4. SQL ordered by Gets;
3. LC:Library cache;
1. Shared Pool Statistics;
2. SQL ordered by Parse Calls;
4. MEM:Memory consumption;
1. Virtual Memory Paging;
5. ENQ:Enqueue;
6. IO:I/O consumption;
1. SQL ordered by Elapsed;
2. SQL ordered by Reads;
7. LAT:Latch contention;
8. PGAM:PGA memory consumption;
9. RBS:Rollback segment;
10. UNDO:Automatic undo;
11. SP:Shared pool;
------------------- Statspack -------------------
-- 1. , ;
1. ORCL, 10.2.0.1.0;
2. , 1.67 ;
-- 2. , , , baseline ;
1.Redo size: ( ), ;
2.Logical reads: ( block);
3.block changes: block , , 1:4(13.51:57.68),
OLTP ;
4.Physical reads: block , Logica reads , Physical Reads
, Buffer Cache , ;
5.Physical writes: block , , ;
6.User calls: ;
7.Parses: sql ( ), CPU ; 100 /s ,
300 /s ;
8.Hard parses: , (1 - hard prases/parses)*100%, 95% ,
session_cached_cursors ;
9.Sorts: , ;
10.Logons: , , session ;
11.Executes: , , baseline ;
12.Transactions: , ;
13.Blocks changed per Read: 23.42%;
14.Recursive Call: PL/SQL , ; ;
15.Rollback per transaction: , undo , ,
;
-- 3. , , 100%;
1.Buffer Nowait: 99%, ;
2.Buffer Hit: 99%, , , IO ;
3.Library Hit: 95%, sql ( ,
);
4.Soft Parse: 95%, 80% sql , Load Profile ;
5.Latch Hit: 95% ;
6.Execute to Parse: SQL , SQL , ,
session , 0. , session , SQL SQL
;
7.Parse CPU to Parse Elapsd: CPU 100/102.56 ; 100%, CPU
SQL , ; 100%, CPU , ;
8.Non-Parse CPU , round(100*(1-
parse_cpu/tot_cpu),2). parse_cpu , tot_cpu , 100%, ,
, ;
9.Memory Usage: , 75% 90%; , ;
, , SQL ;
10.Sql with executions > 1: 1 SQL ,
;
11.Memory for SQL w/exec>1: SQL , SQL ,
1 SQL , ;
-- 4. 5 , ;
1. CPU time , DB CPU;
2.DB file scatter read: , ;
, , , (
);
3.DB file sequential read: ( , ); ,
;DB_CACHE_SIZE , ;
PGA , , ; ;
4.Buffer busy wait: , , ; 1 ,
;
5.Latch free: , (SGA) , ;
6.Enqueue: , ; , ,
, , ;
7.Logfile Switch: ( ) ;
8.Log buffer space: , ;
9.Log file sync: session ,session , LGWR redo
entry redo log file, redo log file , session, 10.LGRW ; :
, ;
11.Ldle event: ;
-- 5.CPU ( );
1. CPU 88.78%, 4.07%, 5.44;
2. CPU 5.44%*4.98%, CPU 5.44%*4.98%*44.41%;
-- 6. , v$sys_time_model ;
-- 7. / ;
1. :s- ;cs-1/100s;ms-1/1000s;us-1/1000000s;
2. SQL*Net , , ,
;
-- 8: sql ;
1. sql , , SQL , ;
2. SQL SQL , SQL :
1. SQL , SQL , schema user1 select * from
t; schema user2 select * from t; SQL , schema , ;
2. , ;
3. , SQL 10, SQL
50, SQL ;
4. SQL ;
-- 9. , PGA ;
1. , pga_aggregate_target=96 100% ;
2. V$PGA_TARGET_ADVICE ;
-- 10. , , ;
------------------- Statspack -------------------

More Related Content

PPTX
Oracle audit and reporting in one hour or less
DOCX
Creating a physical standby database 11g on windows
PDF
Oracle Database 11g Product Family
 
PDF
DBA だってもっと効率化したい!〜最近の自動化事情とOracle Database〜
PDF
آموزش مدیریت بانک اطلاعاتی اوراکل - بخش پانزدهم
PPT
Oracle11g suse11 ilker bakir
PDF
監査ログをもっと身近に!〜統合監査のすすめ〜
PDF
PostgreSQL High_Performance_Cheatsheet
Oracle audit and reporting in one hour or less
Creating a physical standby database 11g on windows
Oracle Database 11g Product Family
 
DBA だってもっと効率化したい!〜最近の自動化事情とOracle Database〜
آموزش مدیریت بانک اطلاعاتی اوراکل - بخش پانزدهم
Oracle11g suse11 ilker bakir
監査ログをもっと身近に!〜統合監査のすすめ〜
PostgreSQL High_Performance_Cheatsheet

What's hot (20)

PPT
Developing Information Schema Plugins
PPT
Oracle12c Pluggable Database Hands On - TROUG 2014
PPTX
1.1 sql create and drop database statement
PDF
Startupandshutdown
ODP
MySQL Monitoring Mechanisms
PDF
MySQL for Oracle DBAs
PDF
How To Configure Apache VirtualHost on RHEL 7 on AWS
DOC
Schema replication using oracle golden gate 12c
PDF
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
PDF
Schedulers
ODP
Performance schema and_ps_helper
PDF
12c installation
PPTX
MySQL InnoDB Cluster 미리보기 (remote cluster test)
PPTX
Heritrix DecideRules
PPT
2011 384 hackworth_ppt
DOCX
how to protect your sensitive data using oracle database vault
PDF
Extending MySQL Enterprise Monitor
ODP
MySQL Monitoring Mechanisms
PDF
Step by Step Restore rman to different host
PDF
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
Developing Information Schema Plugins
Oracle12c Pluggable Database Hands On - TROUG 2014
1.1 sql create and drop database statement
Startupandshutdown
MySQL Monitoring Mechanisms
MySQL for Oracle DBAs
How To Configure Apache VirtualHost on RHEL 7 on AWS
Schema replication using oracle golden gate 12c
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Schedulers
Performance schema and_ps_helper
12c installation
MySQL InnoDB Cluster 미리보기 (remote cluster test)
Heritrix DecideRules
2011 384 hackworth_ppt
how to protect your sensitive data using oracle database vault
Extending MySQL Enterprise Monitor
MySQL Monitoring Mechanisms
Step by Step Restore rman to different host
How To Install and Configure Log Rotation on RHEL 7 or CentOS 7
Ad

Similar to Performance Tuning Tool01-Statspack (20)

PDF
SQL Tuning04-Interpreting Execution Plans
PDF
SQL Tuning01-Introduction to SQL Tuning
PPTX
Oracle RDBMS Workshop (Part1)
PPT
Using AWR for SQL Analysis
PPT
Adventures in Dataguard
DOCX
12c database migration from ASM storage to NON-ASM storage
PPT
11thingsabout11g 12659705398222 Phpapp01
PPT
11 Things About11g
PDF
Refresh development from productions
PPTX
How_to_read_and_use_Oracle_AWR_report.pptx
PPTX
ASH and AWR on DB12c
PDF
SafePeak Configuration Guide
PPT
Rmoug ashmaster
PDF
Oracle goldengate 11g schema replication from standby database
PDF
Publishing a Perl6 Module
PDF
PGDay.Amsterdam 2018 - Stefan Fercot - Save your data with pgBackRest
PPT
Okuyama Summary
PPTX
MySQL Audit using Percona audit plugin and ELK
PDF
Spark Jupyterlab Final GSE Presentation 2024
PPTX
Sqladria 2009 SRC
SQL Tuning04-Interpreting Execution Plans
SQL Tuning01-Introduction to SQL Tuning
Oracle RDBMS Workshop (Part1)
Using AWR for SQL Analysis
Adventures in Dataguard
12c database migration from ASM storage to NON-ASM storage
11thingsabout11g 12659705398222 Phpapp01
11 Things About11g
Refresh development from productions
How_to_read_and_use_Oracle_AWR_report.pptx
ASH and AWR on DB12c
SafePeak Configuration Guide
Rmoug ashmaster
Oracle goldengate 11g schema replication from standby database
Publishing a Perl6 Module
PGDay.Amsterdam 2018 - Stefan Fercot - Save your data with pgBackRest
Okuyama Summary
MySQL Audit using Percona audit plugin and ELK
Spark Jupyterlab Final GSE Presentation 2024
Sqladria 2009 SRC
Ad

More from Zhaoyang Wang (20)

PDF
海通证券金融云思考与实践(数据技术嘉年华2017)
PDF
云管理平台助力海通金融云建设
PDF
海通证券数据库备份恢复云平台实践(OTN Tour Shanghai 2017)
PDF
Oracle Compute Cloud Service快速实践
PDF
Oracle Compute Cloud Service介绍
PDF
Oracle cloud 使用云市场快速搭建小型电商网站
PDF
Oracle cloud ravello介绍及测试账户申请
PDF
Oracle cloud 云介绍及测试账户申请
PDF
New awesome features in MySQL 5.7
PDF
SQL Tuning02-Intorduction to the CBO Optimizer
PDF
MySQL Fulltext Search Tutorial
PDF
Data Organization in InnoDB
PDF
Oracle enterprise manager cloud control 12c release 5 installation on oracle ...
PDF
Oracle enterprise manager cloud control 12c r5 agent installation
PDF
Why use MySQL
PDF
MYSQLCLONE Introduction
PDF
Oracle security 08-oracle network security
PDF
Oracle security 02-administering user security
DOCX
Interpreting execution plans
DOCX
Intorduction to the cbo optimizer
海通证券金融云思考与实践(数据技术嘉年华2017)
云管理平台助力海通金融云建设
海通证券数据库备份恢复云平台实践(OTN Tour Shanghai 2017)
Oracle Compute Cloud Service快速实践
Oracle Compute Cloud Service介绍
Oracle cloud 使用云市场快速搭建小型电商网站
Oracle cloud ravello介绍及测试账户申请
Oracle cloud 云介绍及测试账户申请
New awesome features in MySQL 5.7
SQL Tuning02-Intorduction to the CBO Optimizer
MySQL Fulltext Search Tutorial
Data Organization in InnoDB
Oracle enterprise manager cloud control 12c release 5 installation on oracle ...
Oracle enterprise manager cloud control 12c r5 agent installation
Why use MySQL
MYSQLCLONE Introduction
Oracle security 08-oracle network security
Oracle security 02-administering user security
Interpreting execution plans
Intorduction to the cbo optimizer

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Approach and Philosophy of On baking technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Machine learning based COVID-19 study performance prediction
PDF
Empathic Computing: Creating Shared Understanding
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
20250228 LYD VKU AI Blended-Learning.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Building Integrated photovoltaic BIPV_UPV.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Approach and Philosophy of On baking technology
Digital-Transformation-Roadmap-for-Companies.pptx
Review of recent advances in non-invasive hemoglobin estimation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Mobile App Security Testing_ A Comprehensive Guide.pdf
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
Machine learning based COVID-19 study performance prediction
Empathic Computing: Creating Shared Understanding
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Per capita expenditure prediction using model stacking based on satellite ima...

Performance Tuning Tool01-Statspack

  • 1. Statspack 1. 1. Statspack; 2. Statspack ; 3. Statspack ; 4. Statspack ; 2. Statspack : 1. 8i ; 2. Statspack AWR , , AWR; 3. Statspack is a set of scripts that capture and report on performance data from within the Oracle database; 4. Statspack : 1. Capture instance data by taking a "snapshot"; 2. Store snapshot data in the database in a separate schema; 3. Create reports between two snapshots; 4. Mark snapshots as baseline information; 5. Use the reports as part of a performance tuning method; 5. Statspack : 1. spcreate.sql: Statspack; 2. statspack.snap: ; 3. spauto.sql: , alter system set job_queue_processes = 5 ; 4. spreport.sql/sprepsql.sql: ; 5. statspack.purge/sppurge.sql: ; 6. sptrunc.sql: Statspack ; 7. spdrop.sql: Statspack ; 8. spexp.par: Statspack ; 3. Statspack: 1. , statspack :CREATE TABLESPACE statspack DATAFILE '+DATA' SIZE 500M AUTOEXTEND ON EXTENT MANAGEMENT LOCAL; 2. sysdba :sqlplus / as sysdba; 3. PERFSTAT :define perfstat_password='oracle'; 4. PERFSTAT :define default_tablespace='statspack'; 5. PERFSTAT :define temporary_tablespace='temp'; 6. Statspack:@?/rdbms/admin/spcreate.sql; 7. :host ls *.lis; spdrop.sql , ; 8. PERFSTAT ,Statspack ;( , ) 4. Statspack : 1. :execute statspack.snap; 2. : 3. , : 5. : 1. : 1. 0:General Performance; 2. 5:SQL statments; 3. 6:SQL plans and SQL plan usage; 4. 7:Segment-level statistics, v$segment_statistics , :SELECT owner, object_name FROM v$segment_statistics WHERE statistic_name = 'buffer busy waits' ORDER BY VALUE DESC; 5. 10:Parent and child latches, ; 2. :SELECT snap_level FROM perfstat.stats$statspack_parameter; 3. :execute statspack.snap(i_snap_level=>6); 4. , :execute statspack.snap(i_snap_level=>10, i_modify_parameter=>'true'); 5. / ( ):execute statspack.modify_statspack_parameter(i_snap_level=>7); 6. session , session_id=3 :execute statspack.snap(i_session_id=>3); 6. / Statspack Baselines : 1. ( , i_snap_range=false, ture):exec statspack.make_baseline(i_begin_snap=>2, i_end_snap=>5, i_snap_range=>true); 2. :exec statspack.make_baseline(i_begin_date=>to_date('2012- 05-01 12:00:00', 'YYYY-MM-DD HH24:MI:SS'), i_begin_date=>to_date('2012-05-02 12:00:00', 'YYYY-MM-DD HH24:MI:SS')); 3. , ( , , i_snap_range=false):statspack.clear_baseline(i_begin_snap=>2, i_end_snap=>5, i_snap_range=>true); 4. :exec statspack.clear_baseline(i_begin_date=>to_date('2012-05- 01 12:00:00', 'YYYY-MM-DD HH24:MI:SS'), i_begin_date=>to_date('2012-05-02 12:00:00', 'YYYY-MM-DD HH24:MI:SS')); 5. exec statspack.purge(); ; 6. baseline , purge baseline baseline snap, clear baseline; 7. Statspack : 1. perfstat :conn perfstat/oracle; 2. , : 1. :define begin_snap=1; 2. :define end_snap=4; 3. :define report_name=spreport; 3. :@?/rdbms/admin/spreport.sql; 4. :host ls spreport.lst; 8. Statspack : 1. STATISICS_LEVEL=TYPICAL; 2. TIMED_STATISTICS=TRUE ; 3. Statspack AWR , AWR; 4. , 1 , , ###### ; 5. PREFSTAT ; 9. Statspack : 1. : 1. Load Profile(useful with baseline); 2. Instance Efficiency(useful with baseline); 3. Top 5 Timed Events; 4. Time Model; 5. Wait Events and Background Wait Events; 6. Wait Event Histogram(only in Statspack); 2. ,: 1. CONT:Block contention; 2. CPU:CPU consumption; 1. Host CPU; 2. Instance CPU; 3. SQL ordered by CPU; 4. SQL ordered by Gets; 3. LC:Library cache; 1. Shared Pool Statistics; 2. SQL ordered by Parse Calls; 4. MEM:Memory consumption; 1. Virtual Memory Paging; 5. ENQ:Enqueue; 6. IO:I/O consumption; 1. SQL ordered by Elapsed; 2. SQL ordered by Reads; 7. LAT:Latch contention; 8. PGAM:PGA memory consumption; 9. RBS:Rollback segment; 10. UNDO:Automatic undo; 11. SP:Shared pool; ------------------- Statspack ------------------- -- 1. , ; 1. ORCL, 10.2.0.1.0; 2. , 1.67 ; -- 2. , , , baseline ; 1.Redo size: ( ), ; 2.Logical reads: ( block); 3.block changes: block , , 1:4(13.51:57.68), OLTP ; 4.Physical reads: block , Logica reads , Physical Reads , Buffer Cache , ; 5.Physical writes: block , , ; 6.User calls: ; 7.Parses: sql ( ), CPU ; 100 /s , 300 /s ; 8.Hard parses: , (1 - hard prases/parses)*100%, 95% , session_cached_cursors ; 9.Sorts: , ; 10.Logons: , , session ; 11.Executes: , , baseline ; 12.Transactions: , ; 13.Blocks changed per Read: 23.42%; 14.Recursive Call: PL/SQL , ; ; 15.Rollback per transaction: , undo , , ; -- 3. , , 100%; 1.Buffer Nowait: 99%, ; 2.Buffer Hit: 99%, , , IO ; 3.Library Hit: 95%, sql ( , ); 4.Soft Parse: 95%, 80% sql , Load Profile ; 5.Latch Hit: 95% ; 6.Execute to Parse: SQL , SQL , , session , 0. , session , SQL SQL ; 7.Parse CPU to Parse Elapsd: CPU 100/102.56 ; 100%, CPU SQL , ; 100%, CPU , ; 8.Non-Parse CPU , round(100*(1- parse_cpu/tot_cpu),2). parse_cpu , tot_cpu , 100%, , , ; 9.Memory Usage: , 75% 90%; , ; , , SQL ; 10.Sql with executions > 1: 1 SQL , ; 11.Memory for SQL w/exec>1: SQL , SQL , 1 SQL , ; -- 4. 5 , ; 1. CPU time , DB CPU; 2.DB file scatter read: , ; , , , ( ); 3.DB file sequential read: ( , ); , ;DB_CACHE_SIZE , ; PGA , , ; ; 4.Buffer busy wait: , , ; 1 , ; 5.Latch free: , (SGA) , ; 6.Enqueue: , ; , , , , ; 7.Logfile Switch: ( ) ; 8.Log buffer space: , ; 9.Log file sync: session ,session , LGWR redo entry redo log file, redo log file , session, 10.LGRW ; : , ; 11.Ldle event: ; -- 5.CPU ( ); 1. CPU 88.78%, 4.07%, 5.44; 2. CPU 5.44%*4.98%, CPU 5.44%*4.98%*44.41%; -- 6. , v$sys_time_model ; -- 7. / ; 1. :s- ;cs-1/100s;ms-1/1000s;us-1/1000000s; 2. SQL*Net , , , ; -- 8: sql ; 1. sql , , SQL , ; 2. SQL SQL , SQL : 1. SQL , SQL , schema user1 select * from t; schema user2 select * from t; SQL , schema , ; 2. , ; 3. , SQL 10, SQL 50, SQL ; 4. SQL ; -- 9. , PGA ; 1. , pga_aggregate_target=96 100% ; 2. V$PGA_TARGET_ADVICE ; -- 10. , , ; ------------------- Statspack -------------------