Hi
Sometimes I need to do some SQL tuning task, I usually do such tests on my test db.
After I excute a sql statments, I want to flush the buffer cache which containing SQL
statements and sql result, just like the command in Oracle "Alter system flush buffer_cache"
Is PG server provide a commond of this?
相关问题
- Insert text into current buffer from function
- jsp caching tag library
- How can we cache HLS video url once streamed
- Hibernate cache level 1
- HTTPS images not caching
相关文章
- Is there a google API to read cached content? [clo
- AWS API Gateway caching ignores query parameters
- Check if url is cached webview android
- WebView's LOAD_NO_CACHE setting still saves fi
- QML Loader not shows changes on .qml file
- UnitOfWork in Action Filter seems to be caching
- Python: Is there any reason *not* to cache an obje
- Caching of WebConfigurationManager.AppSettings?
If you're developing on OSX (I haven't tested on linux), you can use
purge
command to force disk cache to be purged (flushed and emptied). Then run your SQL query again and it should execute as if it were the first time.Check out this SO answer,
See and clear Postgres caches/buffers?