Oracle sequence Mechanism

Source: Internet
Author: User
Today, I am going to process a piece of data and discover a problem in the Oracle sequence. I am prepared to clarify this problem in the spirit of discovering, solving, and asking the root question.

Today, I am going to process a piece of data and discover a problem in the Oracle sequence. I am prepared to clarify this problem in the spirit of discovering, solving, and asking the root question.

Today, we have processed a piece of data and found a problem in the Oracle sequence. We are prepared to clarify this problem in the spirit of discovering, solving, and answering the problem.

Problems and phenomena:

For sequences, seq is obtained every time according to our understanding. nextval, Which is auto-incrementing, must be larger than the first database, but one of my log tables has the following symptoms:

LOGIDCREATETIME

17300092011/8/6 15:41:14

27299882011/8/6 15:37:53

37299782011/8/6 15:34:53

47299612011/8/6 15:43:22

57299582011/8/6 15:33:52

67299512011/8/6 15:31:38

77299442011/8/6 15:11:00

87299412011/8/6 15:10:30

Note the following red content to check whether the time and sequence size are misplaced. Among them, the time is correct and the execution sequence is the same as that of me.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.