Re: [sqlite] Vacuum'ing database returns a 'PRIMARY KEY must be unique' error in 3.7.0

2010-08-05 Thread Black, Michael (IS)
: sqlite-users@sqlite.org Subject: EXTERNAL:[sqlite] Vacuum'ing database returns a 'PRIMARY KEY must be unique' error in 3.7.0 I decided to vacuum my places.sqlite database (used by Firefox to store its history and bookmarks) and got a primary key violation. The database passes the anal

[sqlite] Vacuum'ing database returns a 'PRIMARY KEY must be unique' error in 3.7.0

2010-08-05 Thread Scott Crosby
I decided to vacuum my places.sqlite database (used by Firefox to store its history and bookmarks) and got a primary key violation. The database passes the analyzer and dumper with no errors. select count(*) from the different tables also shows no errors. However, a dump and attempted restore DOE

Re: [sqlite] VACUUM'ing

2008-04-05 Thread Ken
Hi, If this is a production system? Then I'd do the following: 1. Make a backup. 2. Run Vacuum manually. I would automate this as part of a periodic maintenance schedule, (weekly/bi-weekly etc..) This is given then number of bugs and issues with DB corruption when run

[sqlite] VACUUM'ing

2008-04-05 Thread Bambero
Hi, I have a small problem with database size. I wrote a http session class to use with sqlite and after few months databse is huge. I read some about VACUUM but now I don't realy know which solution is better. Set the auto_vacuum pragma command before creating session table or calling VACUUM com