[sqlite] Usage of vacuum and auto vacuum

2010-02-23 Thread ramesh.kotabagi
In which version of SQLite does this happen?
 
I am using version-3.5.8

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
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Usage of vacuum and auto vacuum

2010-02-16 Thread ramesh.kotabagi
On Wed, 10 Feb 2010 10:05:34 +0530,
 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
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Usage of vacuum and auto vacuum

2010-02-16 Thread ramesh.kotabagi
Hi kees Nuyt,

I am not able to reply to group, I found option there to reply via email
to U,
Just did that, Please help me.

Regards,
Ramesh 

-Original Message-
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Kees Nuyt
Sent: Wednesday, February 17, 2010 4:58 AM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Usage of vacuum and auto vacuum


Hoi Ramesh,

Please reply (again) to the list, not to me personally.


On Tue, 16 Feb 2010 10:13:28 +0530, you wrote:

>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[_]
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

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
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Usage of vacuum and auto vacuum

2010-02-16 Thread Kees Nuyt

Hoi Ramesh,

Please reply (again) to the list, not to me personally.


On Tue, 16 Feb 2010 10:13:28 +0530, you wrote:

>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[_]
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Usage of vacuum and auto vacuum

2010-02-10 Thread Kees Nuyt
On Wed, 10 Feb 2010 10:05:34 +0530,
 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[_]
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] Usage of vacuum and auto vacuum

2010-02-09 Thread ramesh.kotabagi
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, OR any othet
way...?
 
 
Thanks in advance.
 
Regards,
Ramesh


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
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users