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: RAC performance and redundancy questions.

Re: RAC performance and redundancy questions.

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 10 Nov 2005 05:53:14 -0800
Message-ID: <1131630866.526496@yasure>


Jonathan Lewis wrote:

> Inserts TEND to be directed at a very limited number of blocks
> (and of table if you are not running ASSM, right hand edge of
> index if you have sequence-generated primary keys with a small
> cache on the sequence).
>

<snipped>
>
> It sounds as if you have some serialisation points in your application
> that make it impossible for RAC to scale. Sequences defined as
> NOCACHE, home-grown sequence tables, (freelists 1 freelist groups 1)
> if not running ASSM, right-hand edge problems on indexes that might
> have to be reversed, etc.

To the OP: A couple of thoughts.

If using sequences to generate a surrogate key take a serious look at using a reverse key index for the primary key. For example:

CREATE TABLE t (
id_col NUMBER(10));

ALTER TABLE t
ADD CONSTRAINT pk_t
PRIMARY KEY (id_col)
USING INDEX
PCTFREE 0
REVERSE;

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Thu Nov 10 2005 - 07:53:14 CST

Original text of this message

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