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

How to Reduce SQLite Database File Size Using Qt

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 384 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 20 Feb 2019, 08:35 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.

    J 1 Reply Last reply 20 Feb 2019, 09:03
    0
    • G gohj
      20 Feb 2019, 08:35

      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.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 20 Feb 2019, 09:03 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

      1/2

      20 Feb 2019, 08:35

      • Login

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