SQLite's sqlite_sequence table

Source: Internet
Author: User
Tags sqlite
SQLite's sqlite_sequence Table Sqlite_sequence table is also a system table for SQLite. The table is used to hold the maximum value of the ROWID for other tables. When the database is created, the Sqlite_sequence table is created automatically. The table includes two columns. The first column is name, which is used to store the name of the table. The second column is SEQ, which is used to hold the maximum value of the ROWID for the table. The maximum value for this value is 9223372036854775807. When the corresponding table adds a record, the table is automatically updated. When the table is deleted, the records corresponding to the table are also automatically deleted. If the value exceeds the maximum value, a sql_full error is caused. So, once the error is found, the user will not only have to check if the SQLite file is in a low disk space, but also check if the rowid of the table has reached the maximum value.

SQLite's sqlite_sequence table

Related Article

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.