NAME
VALUE DIFF
---------------------------------------------------------------- ---------- ----------
physical reads direct temporary tablespace
188
physical writes direct temporary tablespace
188
session pga memory
7313996
session pga memory max
11115084
session uga memory
1396000
session uga memory max
2705280
SQL> alter session set workarea_size_policy=manual;
SQL> alter session set sort_area_size = 65536;
Session altered
SQL> set termout off
SQL> select * from t order by 1, 2, 3, 4;
SQL> set termout on
SQL> @ D:\watch_stat.sql
NAME
VALUE DIFF
---------------------------------------------------------------- ---------- ----------
physical reads direct temporary tablespace
2947 2759
physical writes direct temporary tablespace
2947 2759
session pga memory
7117388-196608
session pga memory max
111150840
session uga memory
13960000
session uga memory max
27052800
SQL> alter session set sort_area_size=1073741820;---1G
SQL> set termout off
SQL> select * from t order by 1, 2, 3, 4;
SQL> set termout on
SQL> @ D:\watch_stat.sql
NAME
VALUE DIFF
---------------------------------------------------------------- ---------- ----------
physical reads direct temporary tablespace
3606
0
physical writes direct temporary tablespace
3606
0
session pga memory
77503052 69992448
session pga memory max
78551628 67436544
session uga memory
1396000
0
session uga memory max
80078645302584
|