From: jimmy <mpokky@126.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: how to clean the cache from databases and operating system
Date: Wed, 26 Sep 2018 14:25:57 +0800 (CST)
Message-ID: <7d8b4bf.730b.166148e39d5.Coremail.mpokky@126.com> (raw)
1、When I execute the firse sql query, like below:
select * from tablename;
there are some datas that will be loaded into the database cache.
How to clean the data from cache.
2、When I execute second sql query like below:
SELECT pg_prewarm('tablename', 'buffer') . Data will be loaded into the database cache.
How to clean the data from cache.
3、When I execute the third sql query like below:
SELECT pg_prewarm('tablename', 'main') . Data will be loaded into the os cache.
How to clean the data from cache.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: mpokky@126.com
Subject: Re: how to clean the cache from databases and operating system
In-Reply-To: <7d8b4bf.730b.166148e39d5.Coremail.mpokky@126.com>
References: <7d8b4bf.730b.166148e39d5.Coremail.mpokky@126.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox