Python Forum
Database that can compress a column, or all data, automatically?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database that can compress a column, or all data, automatically?
#1
I have a Sqlite3 database that I use to store testing data. Most of the columns are small but one column can be HUGE as it stores the JSON results from our test. This column can be up to 500KB is size, with the average being around 62KB. My database is about. My file is about 80MB after about a months usage.

I've done some testing using ZLIB to compress the data in that large column and I can get a 500% compression ratio using it. That means my current database would go from 80 MB to 16MB, which is a great savings in disk space.

What I want to know is, are there are any databases available to python that you can specify to compress a column, or that does data compression, in the background?
Reply


Messages In This Thread
Database that can compress a column, or all data, automatically? - by Calab - May-15-2023, 05:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python script to extract data from API to database melpys 0 1,102 Aug-12-2024, 05:53 PM
Last Post: melpys
  Returning Column and Row Data From Spreadsheet knight2000 0 1,169 Oct-22-2023, 07:07 AM
Last Post: knight2000
  How to detect abnormal data in big database python vanphuht91 5 2,526 Jun-27-2023, 11:22 PM
Last Post: Skaperen
  Code for pullng all data in a column EmBeck87 5 2,187 Apr-03-2023, 03:43 PM
Last Post: deanhystad
  Basic SQL query using Py: Inserting or querying sqlite3 database not returning data marlonbown 3 3,354 Nov-08-2022, 07:16 PM
Last Post: marlonbown
  split txt file data on the first column value shantanu97 2 3,676 Dec-29-2021, 05:03 PM
Last Post: DeaD_EyE
  Retrieving a column from a data set using a function Bayle 6 4,389 Oct-06-2021, 08:52 PM
Last Post: Bayle
  I need help parsing through data and creating a database using beautiful soup username369 1 2,403 Sep-22-2021, 08:45 PM
Last Post: Larz60+
  Python Pandas: How do I extract all the >1000 data from a certain column? JaneTan 0 2,179 Jul-17-2021, 09:09 AM
Last Post: JaneTan
  SaltStack: MySQL returner save less data into Database table columns xtc14 2 3,112 Jul-02-2021, 02:19 PM
Last Post: xtc14

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020