I'm wondering how does SQLite
deal with adding new rows after deleting some rows before it.
For example I have 3 records/rows and their 3 auto increment ID's :
ID 1
ID 2
ID 3
I delete the record with ID 2, so now I have :
ID 1
ID 3
Now I add a new record / row.
Does that database add ID 4
or does it add ID 2
(when its auto increment)?
I suppose it just adds +1 from the last record but I am not sure.
But if it does, how does that affect the database size?
If I often delete / add new records the ID will be a million before you know it?
Would that be any kind of problem?
Is there anyway for auto increment to fill the skipped ID numbers (which were deleted)?