From: scott ribe <scott_ribe@elevated-dev.com>
To: Jakub Jedelský <jakub.jedelsky@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Clear FS caches after postgresql stops
Date: Mon, 27 Nov 2017 06:22:25 -0700
Message-ID: <3DF72595-3A7B-457E-A922-95860398F365@elevated-dev.com> (raw)
In-Reply-To: <CAE9--j_d0BvZB0qG3TuM+YK30U+x_Zyz3fwwjq+qXJktMK4mKA@mail.gmail.com>
References: <CAE9--j_d0BvZB0qG3TuM+YK30U+x_Zyz3fwwjq+qXJktMK4mKA@mail.gmail.com>
On Nov 27, 2017, at 4:16 AM, Jakub Jedelský <jakub.jedelsky@gmail.com> wrote:
>
> Is it possible, that Postgresql leave some data in memory after its stop?
Not unless you turned fsynch off in the conf, and you really should NOT be doing that for production.
Remember that rsync normally compares timestamp & size, and that timestamps are often only 1-second precision. Thus it's possible for changes to be skipped unless you use the -c flag.
--
Scott Ribe
https://www.linkedin.com/in/scottribe/
(303) 722-0567
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott_ribe@elevated-dev.com, jakub.jedelsky@gmail.com
Subject: Re: Clear FS caches after postgresql stops
In-Reply-To: <3DF72595-3A7B-457E-A922-95860398F365@elevated-dev.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