Re: PostgreSQL Cache
От
Joris Dobbelsteen
Тема
Re: PostgreSQL Cache
Дата
Msg-id
48E07D38.90906@familiedobbelsteen.nl
Ответ на
PostgreSQL Cache (Matthew Pulis)
Список
Дерево обсуждения
PostgreSQL Cache "Matthew Pulis" <mpulis@gmail.com>
Re: PostgreSQL Cache Joris Dobbelsteen <joris@familiedobbelsteen.nl>
Re: PostgreSQL Cache Greg Smith <gsmith@gregsmith.com>
Re: PostgreSQL Cache Sam Mason <sam@samason.me.uk>
Re: PostgreSQL Cache Greg Smith <gsmith@gregsmith.com>
Re: PostgreSQL Cache Sam Mason <sam@samason.me.uk>
Re: PostgreSQL Cache Oleg Bartunov <oleg@sai.msu.su>
Matthew Pulis wrote: > Hi, > > I need to perform some timed testing, thus need to make sure that disk > cache does not affect me. Is clearing the OS (Ubuntu) disk cache, ( by > running: sudo echo 3 | sudo tee /proc/sys/vm/drop_caches ) enough to > do this? If not can you please point me to some site please since all > I am finding is such command. Look for methodologies for doing performance tests. A problem is that the disk cache is an essential part that makes up for postgresql performance. Also do not forget about overhead and inaccuracies that you will affect your results. In general performance tests are a rather large simulation of how your application would use the database. It should be large enough for many effects (such as initial cache state) to be neglected. It only provides an average for the performance on your system configuration. If you run it a few times more, you can compute the variation. It provides some insight how stable your system is in handling the workload. - Joris
В списке pgsql-general по дате отправления