Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7458403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T13:26:35+00:00 2026-05-29T13:26:35+00:00

If I look in the database settings of my database (with SQLite Manager) I

  • 0

If I look in the database settings of my database (with SQLite Manager) I have a freelist_count of 16. According to this source the freelist count is

the number of unused pages in the database file

What is meant with unused pages and why are there unusued pages? Is it bad to have a freelist count of greater than zero? What can I do to reduce the number to zero?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T13:26:36+00:00Added an answer on May 29, 2026 at 1:26 pm

    From SQLite FAQ:

    (12) I deleted a lot of data but the database file did not get any smaller. Is this a bug?

    No. When you delete information from an SQLite database, the unused
    disk space is added to an internal “free-list” and is reused the next
    time you insert data. The disk space is not lost. But neither is it
    returned to the operating system.

    If you delete a lot of data and want to shrink the database file, run
    the VACUUM command. VACUUM will reconstruct the database from scratch.
    This will leave the database with an empty free-list and a file that
    is minimal in size. Note, however, that the VACUUM can take some time
    to run (around a half second per megabyte on the Linux box where
    SQLite is developed) and it can use up to twice as much temporary disk
    space as the original file while it is running.

    As of SQLite version 3.1, an alternative to using the VACUUM command
    is auto-vacuum mode, enabled using the auto_vacuum pragma.

    There’s nothing bad in having some free pages, unless they take significant amount of space. It is up to you to decide where ends the “nothing bad” and starts the “significant”, depending on the needs of your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database full of text fields that look like this: (paragraph of
I have to look into solutions for providing a MySQL database that can handle
I am trying to learn mySQL database, and have started taking a look at
I've been asked to look at a database that records user login and logout
Are there any tools that can look at a database, and generate the basic
When you take your first look at an Oracle database, one of the first
Does anyone know tools which look at a MySQL database, show you all the
I've been asked to look at a SQL 2005 database that is reporting 'torn
I need a tool that will look at a Microsoft SQL Server database and
I'm just starting to look into using LINQ for my database (and XML, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.