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

Home -> Community -> Mailing Lists -> Oracle-L -> OLTP help

OLTP help

From: Herring Dave - dherri <Dave.Herring_at_acxiom.com>
Date: Thu, 17 Aug 2006 21:25:13 -0500
Message-ID: <7ED53A68952D3B4C9540B4EFA5C76E3602217C71@CWYMSX04.Corp.Acxiom.net>


Okay, I'm a little OLTP-slow, so please be patient with this issue. I've got a table that's used heavily in an OLTP manner, residing in a DW (really an ODS). It averages 21,000,000 logical reads per day, 2300 buffer busy waits per day, and 7800 block changes per day. Its a status table used by an internally developed job scheduler, serving job schedules across 8 servers and 11 databases. I came across this table and have brought it up as an issue because of performance problems we're having in production, with this table understandably showing up at the top of worst offenders for various categories within STATSPACK reports.  

The table has 11 columns, 100k rows, with 1 column updated the majority of the time (job status), with a composite key for the PK (never updated). The PK is in design only, with no physical index and/or constraint. Not sure why no index was created, but I'm thinking that may help a bit. My thought is to create a tablespace with a small block size, say 2 or 4K (vs. the 32K one this table is residing in now) and move it, along with various other tables used in the same OLTP fashion, to this 2k blocksize tablespace. I then thought I should create a physical PK within the same tablespace. My line of thinking is that access is nearly 95% of the time by PK columns - with an index and small blocksize, the number of blocks brought into cache and residing there would be very small and ideally cut down on the buffer busy waits. The logical reads should be cut down as well, since it'd be indexed access instead of full scans in the cache.  

I'm second guessing myself as I keep thinking there's got to be a better design for this table, but am out of ideas. Anything I'm missing? I mean besides this is Oracle 9.2.0.6 on Tru64 5.1b, GS1280 with 8 CPUs and 32GB of memory.  

Thanks.  

Dave


Dave Herring, DBA

Acxiom Corporation

3333 Finley

Downers Grove, IL 60515

wk: 630.944.4762

<mailto:dherri_at_acxiom.com <mailto:dherri_at_acxiom.com> >


 

"When I come home from work and see those little noses pressed against the windowpane, then I know I am a success" - Paul Faulkner  



The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged.

If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system.

Thank You.


--
http://www.freelists.org/webpage/oracle-l
Received on Thu Aug 17 2006 - 21:25:13 CDT

Original text of this message

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