Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
utkanbir asked whether Informix caches data when a query runs in parallel, as Oracle bypasses its buffer cache. Superboer pointed to light scans (LIGHT_SCANS, onstat -g lsc), light appends (onstat -g lap) and RA_PAGES/RA_THRESHOLD. Art S. Kagel said parallel queries mostly use the buffer cache; light scans apply to long sequential scans either way. David E. Grove asked a follow-up about cached tables; no reply.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Hi Gurus ,
I use oracle 9i rac on linux redhat ia64 . When i issue a parallel
query on oracle , the query bypasses the oracle buffer cache and use
process memory instead. So no caching occurs. When a full table scan
is issued in parallel , it is also true that , oracle always bypasses
the buffer cache.(Related oracle wait event for this is direct path
read) . It does not matter whether the table which is full table
scanned has some cached blocks in memory , they are not used by
parallel query . So if there is no file system caching in use ,
subsequent running of same parallel query take same time since no
caching is inuse.
As i remember correctl , with informix , we also use som ebypassing
mechanism called light scans which bypasses the resident memory and
uses virtual memory , but how about the caching? Does informix use
caching when a query runs in parallel ..
Kind Regards,
hope
this is some time ago; if i recall correctly:
there is an env var called
export LIGHT_SCANS=FORCE
and there are restrictions on it; check the manual for it;
it may also be dependant on your isolation level; if dirty read then
light_scans ??
monitor it using
onstat -g lsc
there is also something called light appends --> temp table with no log and
temp dbspaces can use this; also the high perf loader; monitor using
onstat -g lap
you can also 'configure' bits of it;
RA_PAGES and RA_THRESHOLD onconfig params have influence on how many buffers
are used for light scans/appends.
See you
Superboer.
hopehope_123@yahoo.com (utkanbir) wrote in message news:<f6c90ebe.0410052300.6f6ecd72@posting.google.com>...
> Hi Gurus ,
>
> I use oracle 9i rac on linux redhat ia64 . When i issue a parallel
> query on oracle , the query bypasses the oracle buffer cache and use
> process memory instead. So no caching occurs. When a full table scan
> is issued in parallel , it is also true that , oracle always bypasses
> the buffer cache.(Related oracle wait event for this is direct path
> read) . It does not matter whether the table which is full table
> scanned has some cached blocks in memory , they are not used by
> parallel query . So if there is no file system caching in use ,
> subsequent running of same parallel query take same time since no
> caching is inuse.
>
>
> As i remember correctl , with informix , we also use som ebypassing
> mechanism called light scans which bypasses the resident memory and
> uses virtual memory , but how about the caching? Does informix use
> caching when a query runs in parallel ..
>
>
> Kind Regards,
> hope
↪ replying to utkanbir
Art S. Kagel — — source: Usenet: comp.databases.informix
On Wed, 06 Oct 2004 03:00:04 -0400, utkanbir wrote:
Read the Administrator's Guide, Light Scans are not used for parallel queries
in general, most go through the IDS buffer cache. Light scans do avoid the
buffer cache and are used for queries that include a long sequential scan of
a table and are only used for pages from that table. This is to prevent a
large table scan from thrashing the buffer cache and forcing recently used
pages out of the cache. This behavior is independent of whether the query is
parallelized or not.
Art S. Kagel
> Hi Gurus ,
>
> I use oracle 9i rac on linux redhat ia64 . When i issue a parallel query on
> oracle , the query bypasses the oracle buffer cache and use process memory
> instead. So no caching occurs. When a full table scan is issued in parallel
> , it is also true that , oracle always bypasses the buffer cache.(Related
> oracle wait event for this is direct path read) . It does not matter whether
> the table which is full table scanned has some cached blocks in memory ,
> they are not used by parallel query . So if there is no file system caching
> in use , subsequent running of same parallel query take same time since no
> caching is inuse.
>
>
> As i remember correctl , with informix , we also use som ebypassing
> mechanism called light scans which bypasses the resident memory and uses
> virtual memory , but how about the caching? Does informix use caching when a
> query runs in parallel ..
>
>
> Kind Regards,
> hope
↪ replying to Art S. Kagel
David E. Grove — — source: Usenet: comp.databases.informix
>Light scans do avoid the
> buffer cache and are used for queries that include a long sequential scan
of
> a table and are only used for pages from that table.
I've wondered about that, too. So, if a light scan is to be used, IDS
ignores any pages already in the buffer cache? Suppose the whole table is
already cached (say it was made resident)-- would that affect the answer?
Thank you.
DG
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.