Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: sorts (disk) and v$sort_usage

Re: sorts (disk) and v$sort_usage

From: <niy38_at_hotmail.com>
Date: 8 Jun 2006 13:27:12 -0700
Message-ID: <1149798432.258546.13950@u72g2000cwu.googlegroups.com>

Sybrand Bakker wrote:
> On 8 Jun 2006 10:41:53 -0700, niy38_at_hotmail.com wrote:
>
> >select a.name,b.value from v$statname a, v$sesstat b
> > where a.statistic#=b.statistic# and a.name='sorts (disk)'
> > and b.sid in (select sid from v$session where saddr in (select
> >session_addr from v$sort_usage));
> >
> >
> >returns all value is 0, anyone explain?
>
> Because there are no sorts to disk going on?
>
> --

v$sort_usage is not empty, which mean temporary tablespace is used. Received on Thu Jun 08 2006 - 15:27:12 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US