Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Performance of sequences as primary key generators.
A sequence, as I understand it, is actually just another table that is being incremented by a procedure that is run when the NEXTVAL statement is issued. Is it correct to say that the following are issued when a sequence is utilized to generate a primary key?
I realize this is crude, but is it roughly correct? This seems like a lot of overhead. Does anybody have any input on this? I am a beginner, and am very open to new information.
If there is another way to generate primary keys for a table, I would love to hear it.
Thanks,
![]() |
![]() |