Is there any "without cache" option in clickhouse select query?
I want to check run-time performance of clickhouse without cache.
I expect options like SQL_NO_CACHE in mysql.
SELECT SQL_NO_CACHE * FROM table WHERE search= 'keyword';
Is there any "without cache" option in clickhouse select query?
I want to check run-time performance of clickhouse without cache.
I expect options like SQL_NO_CACHE in mysql.
SELECT SQL_NO_CACHE * FROM table WHERE search= 'keyword';
The cache reset is done in two steps:
sync; echo 1 > /proc/sys/vm/drop_caches
SYSTEM DROP MARK CACHE
I think echo 1 > /proc/sys/vm/drop_caches is not a good idea. As when ck starts, the primary key is cached in memory so you can use settings min_bytes_to_use_direct_io=1