Forum Database SQL Filesize Doubled in a Month ?

Neutral Singh

Well-known member
Licensed customer
I take backup of my forum sql file fortnightly. Just noticed that filesize increased 250% in just one month...?
My forum is more or less dormant with less than ten responses per day.
How can I check what made the size increase so dramatically.
TIY

Screenshot 2026-08-06 at 3.30.41 PM.webp
 
Have you got a full backup saved in public_html maybe? That might double the size.
 
spam users? that's a LOT of users....
do you store attachments in the db? tons of space there but unlikely...

even june 1 to june 15th is a big jump


did you install an addon that takes a lot of space? eg, there's an seo addon that writes about 2gb of data every time it runs on my board for logs.
 
Code:
SELECT
    table_name as `Table`,
    ROUND(((data_length + index_length) / 1024 / 1024), 2) AS `Total Size (MB)`,
    ROUND((data_length / 1024 / 1024), 2) AS `Data (MB)`,
    ROUND((index_length / 1024 / 1024), 2) AS `Index (MB)`,
    table_rows AS `Approx Rows`
FROM
    information_schema.TABLES
WHERE
    table_schema = 'your_database_name'
ORDER BY
    (data_length + index_length) DESC;
 
Last edited:
Back
Top Bottom