RE: Reading sequences is much slower in AIX 6.1 than Linux

  • From: "Mark W. Farnham" <mwf@xxxxxxxx>
  • To: <Mark.Bobak@xxxxxxxxxxxx>, <exriscer@xxxxxxxxx>, "'Chitale, Hemant Krishnarao'" <Hemant.Chitale@xxxxxx>
  • Date: Tue, 11 Oct 2011 11:11:59 -0400

Hermitize your sequences. I've previously published the instructions and
scripts to do this seamlessly restoring your existing sequence definitions
and parameters. Be careful, especially if you have auditing turned on,
because you do not want any sequence generation going on if you include the
step to rebuild sys owned sequences. I have tested this only through 11.1.x,
but the fundamentals of this storage have not changed since V6. In OPS it
was laughable to attempt more than 2 nodes without this fix.

If you rebuild seq$ one row per block you will ameliorate tendency to cross
ping blocks for sequences. The root cause is likely some reduction in a sys
sequence cache size or inclusion of ordering. (But I'm neither Oracle nor
dev.)

If you write your own, remember to temporarily reduce your sequence cache
size on each sequence if you need to avoid burning a bunch of sequence
numbers on the restart.

Your mileage may vary. If you screw this up it is not my fault.

Regards,

mwf

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Bobak, Mark
Sent: Monday, October 10, 2011 5:52 PM
To: exriscer@xxxxxxxxx; Chitale, Hemant Krishnarao
Cc: oracle-l@xxxxxxxxxxxxx
Subject: RE: Reading sequences is much slower in AIX 6.1 than Linux

That's a concern....


Do you have a bug number?


-Mark
-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of LS Cheng
Sent: Monday, October 10, 2011 5:34 PM
To: Chitale, Hemant Krishnarao
Cc: oracle-l@xxxxxxxxxxxxx
Subject: Re: Reading sequences is much slower in AIX 6.1 than Linux

oracle support opened a bug but not AIX related, it is a RAC bug, gettings
sequences are much much slower in 11.2.0.2 RAC currently under development
investigation!




On Thu, Sep 29, 2011 at 8:34 AM, Chitale, Hemant Krishnarao <
Hemant.Chitale@xxxxxx> wrote:

> ** **
>
> Can you check to see if the cached values are being "lost" frequently
(i.e.
> the sequence is not pinned and is getting aged-out) ?****
>
> ** **
>
>
> Hemant K Chitale
>
> ****
>
> ** **
>
> *From:* LS Cheng [mailto:exriscer@xxxxxxxxx]
> *Sent:* Thursday, September 29, 2011 2:31 PM
> *To:* Chitale, Hemant Krishnarao
> *Cc:* oracle-l@xxxxxxxxxxxxx
> *Subject:* Re: Reading sequences is much slower in AIX 6.1 than
> Linux****
>
> ** **
>
> ops forgot to mention that, cache size is 500000 and noorder
>
> Thanks****
>
> On Thu, Sep 29, 2011 at 7:30 AM, Chitale, Hemant Krishnarao < 
> Hemant.Chitale@xxxxxx> wrote:****
>
> What are the CACHE_SIZE and ORDER_FLAG (sometimes used in RAC) for the
> SEQUENCE_S1 sequence in the two environments ?
>
>
> Hemant K Chitale****
>
>
> -----Original Message-----
> From: oracle-l-bounce@xxxxxxxxxxxxx
> [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
> On Behalf Of LS Cheng
> Sent: Thursday, September 29, 2011 1:17 PM
> To: Oracle Mailinglist
> Subject: Reading sequences is much slower in AIX 6.1 than Linux
>
> Hi all
> We have some batch processes which need to meet some SLA, the 
> execution time should exceed certaint threshold of time. The processes 
> are mainly insert.... select sequence, ... from table.****
>
> ...deleted......
>
>
>
> ****
>
> ** **
>
> This email and any attachments are confidential and may also be
privileged.
> If you are not the addressee, do not disclose, copy, circulate or in 
> any other way use or rely on the information contained in this email 
> or any attachments. If received in error, notify the sender 
> immediately and delete this email and any attachments from your 
> system. Emails cannot be guaranteed to be secure or error free as the 
> message and any attachments could be intercepted, corrupted, lost, 
> delayed, incomplete or amended. Standard Chartered PLC and its 
> subsidiaries do not accept liability for damage caused by this email or
any attachments and may monitor email traffic.
>
> Standard Chartered PLC is incorporated in England with limited 
> liability under company number 966425 and has its registered office at
> 1 Aldermanbury Square, London, EC2V 7SB.
>
> Standard Chartered Bank ("SCB") is incorporated in England with 
> limited liability by Royal Charter 1853, under reference ZC18. The 
> Principal Office of SCB is situated in England at 1 Aldermanbury 
> Square, London EC2V 7SB. In the United Kingdom, SCB is authorised and 
> regulated by the Financial Services Authority under FSA register number
114276.
>
> If you are receiving this email from SCB outside the UK, please click 
> http://www.standardchartered.com/global/email_disclaimer.html to refer 
> to the information on other jurisdictions.
>

--
//www.freelists.org/webpage/oracle-l




--
//www.freelists.org/webpage/oracle-l


--
//www.freelists.org/webpage/oracle-l


Other related posts: