Learn about Centmin Mod LEMP Stack today
Become a Member

Flush table_open_cache or not?

Discussion in 'System Administration' started by pamamolf, Sep 17, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    1:29 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi
    I am having about 8.000 open tables and i want to ask if it is ok and good to flush them every x hours/days or not?

    And how?


    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    9:29 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Optimisation of MySQL is left to end user as Centmin Mod is provided as is. However, you should read Optimizing table_open_cache - MariaDB Knowledge Base to decide whether or not to flush it - which you shouldn't really do for reasons outlined in that link ;)