I have a database which holds the name and location of reports stored on a system. Each one has an auto incrementing primary key. Throughout the day, a crontab entry "freshens" the list by basically adding new report entries to the database. At night, I flush the database by deleting all of the entries and rebuilding the table. This ensures database integrity so that I don't have to worry about a report having been renamed, moved, or deleted.
There are now a bunch of reports in the database and being that it is flushed daily, the primary keys are getting high. Is there any problem if the primary key increments too high (is there an upper limit where I will get an error)? Does it roll over? Is there a way to reset it?
I appreciate any help you can offer.
There are now a bunch of reports in the database and being that it is flushed daily, the primary keys are getting high. Is there any problem if the primary key increments too high (is there an upper limit where I will get an error)? Does it roll over? Is there a way to reset it?
I appreciate any help you can offer.