Closed (works as designed)
Project:
Advanced CSS/JS Aggregation
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 May 2013 at 13:10 UTC
Updated:
18 Aug 2015 at 19:05 UTC
Jump to comment: Most recent
Comments
Comment #1
mikeytown2 commentedadvagg_cron will truncate these with time (see advagg_remove_old_unused_aggregates()). The default is to remove any aggregate info from the database if that aggregate has not been accessed in the last 6 weeks.
The less combinations of CSS/JS files, the smaller the advagg_aggregates table will be. This records the combination and order of CSS/JS files used on your site. The advagg_aggregates_versions table is a record of the contents hash, wither this is a root or derivative aggregate, and access time with the filenames hash in there so the data can be joined to the advagg_aggregates table.
Comment #2
felixodie commentedHi there,
I've got the same issue. I set Advagg to remove the files from database after 2 days, however that's the minumum I can select. I still get 2 gb of data in my database from Advagg in 2 days, is that something weird?
Is it possible to set it for 3 hours maybe?
Comment #3
mikeytown2 commented2GB in 2 days seems excessive. How many rows are in the tables? I would expect around 500k in a big site which would be around 250mb. I could toy around with the idea of using the ascii_bin collation and switching to char from varchar.
Comment #4
mikeytown2 commentedCreated an issue because that change also speeds up the bundler query #2487087: Speed up the bundler, use char instead of varchar; also use ascii_bin instead of utf8_bin
Comment #5
mikeytown2 commentedCan you let me know if the changes in the other issue helped out here?
Comment #6
mikeytown2 commentedClosing this out.