[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::rdb_60

Title:Oracle Rdb - Still a strategic database for DEC on Alpha AXP!
Notice:RDB_60 is archived, please use RDB_70..
Moderator:NOVA::SMITHISON
Created:Fri Mar 18 1994
Last Modified:Fri May 30 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5118
Total number of notes:28246

4941.0. "Row cache stats query" by ukvms3.uk.oracle.com::LWILES (Louise Wiles, UK Rdb support) Tue Jan 21 1997 08:13

T.RTitleUserPersonal
Name
DateLines
4941.1NOVA::R_ANDERSONOracle Corporation (603) 881-1935Tue Jan 21 1997 10:176
4941.2MMiNOVA::SMITHIDon't understate or underestimate Rdb!Tue Jan 21 1997 10:285
4941.3Table & cache definitionsukvms3.uk.oracle.com::LWILESLouise Wiles, UK Rdb supportTue Jan 21 1997 12:5138
4941.4NOVA::SMITHIDon't understate or underestimate Rdb!Tue Jan 21 1997 13:2837
4941.5Don't forget padding bytesNOVA::MCGEEOracle Rdb Mission Critical EngineeringTue Jan 21 1997 14:065
4941.6ukvms3.uk.oracle.com::LWILESLouise Wiles, UK Rdb supportThu Jan 23 1997 06:257
4941.7NOVA::R_ANDERSONOracle Corporation (603) 881-1935Thu Jan 23 1997 06:596
4941.8ukvms3.uk.oracle.com::LWILESLouise Wiles, UK Rdb supportThu Jan 23 1997 09:5227
4941.9NOVA::SMITHIDon't understate or underestimate Rdb!Thu Jan 23 1997 10:194
4941.10ukvms3.uk.oracle.com::LWILESLouise Wiles, UK Rdb supportThu Jan 23 1997 11:2216
4941.11NOVA::R_ANDERSONOracle Corporation (603) 881-1935Fri Jan 24 1997 08:137
Try linking the storage area that contains the SITE_PARENT table to the
SITE_PARENT cache & see if the cache starts getting used.  

Also, try running SHOW STATS first, THEN try to insert rows into the SITE_PARENT
table.  There might be a problem creating the cache from SQL...

Rick
4941.12ukvms3.uk.oracle.com::LWILESLouise Wiles, UK Rdb supportMon Jan 27 1997 05:4312
    I created a cache for the site_parent storage area.
    
    The row cache screen for the SITE_PARENT cache still doesn't change,
    however, the storage area cache does get used.
    
    I ran show stats first, then loaded the records, then did a select. The
    load showed up, but not the select.
    
    Bascially, inserts/updates/deletes do get shown in show stats, selects
    don't.
    
    Louise.
4941.13NOVA::SMITHIDon't understate or underestimate Rdb!Mon Jan 27 1997 11:0110
is the select via an index?

to get to a row in the row cache you must be doing select by DBKEY.  Either
using SELECT ... WHERE DBKEY =...  or the query must be using an index which
will indirectly select by DBKEY.

Sequential access will have to scan the base table on disk because there is no
knowledge that the rows are all in cache.

Ian
4941.14index is the keyukvms3.uk.oracle.com::LWILESLouise Wiles, UK Rdb supportMon Jan 27 1997 12:3612
    It's doing index only retrieval using SITE_PARENT_SORT1.
    
    This index uses all the columns in the table. I redefined it with just
    one, and now it works.
    
    I also tried this on mf_personnel. I created a table with employee_id &
    last_name, then an index using both these columns, and it does the same
    thing.
    
    So it's something to do with all columns being used in an index.
    
    Louise.
4941.15NOVA::SMITHIDon't understate or underestimate Rdb!Mon Jan 27 1997 23:224
Right, what is the strategy used for the query?  If it is INDEX ONLY RETRIEVAL
then it never fetches the row from the table.

Ian
4941.16ukvms3.uk.oracle.com::LWILESLouise Wiles, UK Rdb supportTue Jan 28 1997 04:308
    Got it now.
    
    Thanks very much for the help.
    
    I've created a cache for the index, and see that that's being used.
    
    Feeling suitably sheepish,
    Louise.
4941.17NOVA::R_ANDERSONOracle Corporation (603) 881-1935Tue Jan 28 1997 06:325
Vindicated!!!

:-)

Rick