Clear cache on AWS Redshift
问题 I am doing testing against AWS Redshift, and to replicate real world scenarios I need my test queries to not be cached so as not to give a false picture of performance. Is there any way for me to clear the Redshift cache between query runs? 回答1: I believe you can disable the cache for the testing sessions by setting the value enable_result_cache_for_session to off From the documentation If enable_result_cache_for_session is off, Amazon Redshift ignores the results cache and executes all