Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: why db block gets = 0?
rolympia_at_hotmail.com (Romeo Olympia) wrote in message news:<42fc55dc.0410082000.74219238_at_posting.google.com>...
> Seems like the usual confusion over DB BLOCK GETS and CONSISTENT GETS.
> Lots of AskTom resources for that, one of which is:
>
> http://asktom.oracle.com/pls/ask/f?p=4950:8:3827657808746015643::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:865586003021,
>
> Cheers!
>
Thanks for pointing, Tom has lots of good discussion, but I'm still confused, look at this:
SQL> create table t (id number);
Table created.
SQL> insert into t values(1);
1 row created.
Execution Plan
Statistics
2 sorts (memory) ------------------------why need sort here?0 sorts (disk)
SQL> select * from t;
ID
Execution Plan
In another window:
SQL> alter system flush shared_pool;
System altered.
back to original window:
SQL> / ID
Execution Plan
2 sorts (memory) ------------------- sort again ?0 sorts (disk)
![]() |
![]() |