[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
Wed Feb 2 02:49:25 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
--------------------------+------------------------------------------

Comment (by seedsca):

 Interesting read, I have a client with:
 {{{_transient_dirsize_cache        1344451}}}

 However only 551 directories in uploads:
 {{{[~/public_html/wp-content/uploads]# ls -lR | grep "^d" | wc -l}}}
 {{{551}}}

 Will set to autoload=no since it's not a multisite...

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


More information about the wp-trac mailing list