[wp-trac] [WordPress Trac] #54221: _transient_dirsize_cache is set to autoload=yes and kills db performance if it grows (20MB in our case)

WordPress Trac noreply at wordpress.org
Thu Jan 27 10:08:58 UTC 2022


#54221: _transient_dirsize_cache is set to autoload=yes and kills db performance if
it grows (20MB in our case)
--------------------------+------------------------------------------
 Reporter:  archon810     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Database      |     Version:  2.8
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration, performance
--------------------------+------------------------------------------
Changes (by jk_gabba):

 * focuses:  multisite, performance => administration, performance


Comment:

 I'm having a similar issue, got a huge uploads directory, so the
 _transient_dirsize_cache stands at 1379775 which is obviously slowing down
 the DB a load, is it safe to clear the record, or change the autoload, or
 should we wait for the patch?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54221#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list