On Wed, 10 Feb 2010 10:05:34 +0530,
<[email protected]> wrote:

>Hi All,
> 
>I am Ramesh, facing come issue regarding DB malformed, find trace
below.
>
> sqlite> pragma integrity_check;
> *** in database main ***
> Main freelist: 4 of 4 pages missing from overflow list starting at 0
> Page 1515 is never used
> Page 1519 is never used
> Page 1528 is never used
> Page 1529 is never used
> sqlite>
>
>The above DB can be recover by using VACUUM command.
> 
> sqlite> vacuum;
> sqlite> pragma integrity_check;
> ok
> sqlite>
>
>Presently PRAGMA auto_vacuum is disabled, and we are using as it is,
> 
>Please give me you suggestions to over come this issue,
> 
>will enabling PRAGMA auto_vacuum will solve the issue, 

Probably not.

>OR any othet way...?

In which version of SQLite does this happen?
SELECT sqlite_version();
Check the timeline, there have been similar issues in the
past. Perhaps you use an old version.

http://www.sqlite.org/src/timeline

Make sure you use one of the latest.


>Thanks in advance.
> 
>Regards,
>Ramesh
-- 
  (  Kees Nuyt
  )
c[_]

 
 
>Hi,

> 

>The sqlite version 3.5.8

3.5.8 is old. Too old for people to remember its quirks.

I advise to upgrade to 3.6.22.

>Regards,

>Ramesh

--

( Kees Nuyt

)

c[_]

Hi Kees Nuyt,

Will enabling auto_vacuum help to resolve the issue of getting DB
malformed,

COZ of unused pages, in 3.6.22 version


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to