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: sequence number

Re: sequence number

From: Joel Garry <joel-garry_at_home.com>
Date: 8 Nov 2004 14:34:33 -0800
Message-ID: <91884734.0411081434.1f3f97e9@posting.google.com>


db2group88_at_yahoo.com wrote in message news:<111e249e.0411080512.5c5090f4_at_posting.google.com>...
> before, we use DB2 identity column to generate auto number for each
> row for unique number.our application has thousands table and each one
> required to have one identity column. now we switch to oracle db 10g,
> as i know we can use sequence number to generate the number. but i
> would like to know from performance standpoint. is it better to give
> sequence to each table or use one sequence for the whole database.
> thanks

Worry less about performance and more about designing proper applications.

I think thousands of tables fighting over a sequence would likely be a bit of a performance problem.

See the thread about natural v. synthetic keys and the application developers guides http://otn.oracle.com/pls/db10g/portal.portal_demo3?selected=5

jg

--
@home.com is bogus.
Mr. Barney T!  http://www.signonsandiego.com/uniontrib/20041108/news_m1b8fivecopy.html
Received on Mon Nov 08 2004 - 16:34:33 CST

Original text of this message

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