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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: sequence question

Re: sequence question

From: Ramon E. Estevez <com.banilejas_at_codetel.net.do>
Date: Fri, 14 Jun 2002 11:51:36 -0800
Message-ID: <F001.0047E83F.20020614115136@fatcity.com>


Acording to the manuals SEQUENCE_CACHE_ENTRIES is an obsolete parameter for 8.1.7

Ramon

  while going throgh oracle manuals I found saying number of sequence cached is governed by init parameter SEQUENCE_CACHE_ENTRIES . Does it mean that this value should be set = 'number of sequence I want to cache' ...and what happens if a sequence gets aged out from sequence pool . Am I going to loose numbers ?   Did any of you guys tried caching high number such as 10000 or 1000000 .   Thanks ,
  Bp

    what do you mean about losing numbers after an import/export?

      -----Original Message-----
      From: Ramon E. Estevez [mailto:com.banilejas_at_codetel.net.do]
      Sent: Friday, June 14, 2002 10:44 AM
      To: Multiple recipients of list ORACLE-L
      Subject: Re: sequence question


      Bigp

      Remember that when you issue  sequence.nextval you are incrementing one value and either your process function correct or not that number is used.

      But, the more important is that if your system crash or you issue an SHUTDOWN ABORT you will loose the sequence numbers cached.  Also you can loose numbers after an Import / Export.

      Luck,

      Ramon

        ----- Original Message ----- 
        From: BigP 
        To: Multiple recipients of list ORACLE-L 
        Sent: Thursday, June 13, 2002 8:23 PM
        Subject: sequence question


        Hi List ,
        I want to create a sequence which will be used by some external process to generate some unique number . since this sequence will be used very frequently I would prefer to cache around 10000 numbers . Am I going to loose some numbers ?
        what is SEQUENCE_CACHE_ENTRIES and how does it affect number or sequence cached ?

        Thanks ,
        -Bp


--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Ramon E. Estevez
  INET: com.banilejas_at_codetel.net.do

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Jun 14 2002 - 14:51:36 CDT

Original text of this message

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