We are using Piwik1.6 version and we want to disable the OPTIMIZE TABLE query on the db tables.
Its mentioned in few forums/faqs that, optimizeTables() method Runs an OPTIMIZE TABLE query on the supplied table or tables.And the property ‘enable_sql_optimize_queries’ can be used set the option to optimize or not.
But i am not able to find these two in our Piwik source code.
global.ini.php
; By default Piwik runs OPTIMIZE TABLE SQL queries to free spaces after deleting some data.
; If your Piwik tracks millions of pages, the OPTIMIZE TABLE queries might run for hours (seen in “SHOW FULL PROCESSLIST \g”)
; so you can disable these special queries here:
enable_sql_optimize_queries = 1
And i am not able to find this optimize_tables() method and the property 'enable_sql_optimize_queries ’ in our Piwik installation code base.
It seems both of these are not available in Piwik VERSION = ‘1.6’ source code.
Can you please let me know
if i can still exclusively set the property enable_sql_optimize_queries to 0 to disable Optimization process.
OR different mechanism is used in the older versions of Piwik to disable Optimization process.