Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to Reduce SQLite Database File Size Using Qt
Forum Updated to NodeBB v4.3 + New Features

How to Reduce SQLite Database File Size Using Qt

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 409 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gohj
    wrote on last edited by
    #1

    Hi.
    I use QSqlDatabase to store user data.
    Database file size is not reduced, although user data has been deleted or Drop successfully.
    Please reply to anyone who knows how to solve this problem.

    jsulmJ 1 Reply Last reply
    0
    • G gohj

      Hi.
      I use QSqlDatabase to store user data.
      Database file size is not reduced, although user data has been deleted or Drop successfully.
      Please reply to anyone who knows how to solve this problem.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @gohj Take a look at this: https://www.sqlite.org/lang_vacuum.html
      Also you should mention what database you're using (I guess SQLite).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved