checkpoint

Started by Yves Dorfsmanover 11 years ago3 messagesgeneral
Jump to latest
#1Yves Dorfsman
yves@zioup.com

Hi,

If I run checkpoint from psql, is it applied to all the databases?

What if I do it though an API? When connecting with psycopg2, I'm forced to
specify a database name, if I use "dbname=postgres", and execute
"checkpoint;", is it applied to all the databases?

Thanks.

--
Yves.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#2Guillaume Lelarge
guillaume@lelarge.info
In reply to: Yves Dorfsman (#1)
Re: checkpoint

2014-07-10 20:56 GMT+02:00 Yves Dorfsman <yves@zioup.com>:

Hi,

If I run checkpoint from psql, is it applied to all the databases?

What if I do it though an API? When connecting with psycopg2, I'm forced to
specify a database name, if I use "dbname=postgres", and execute
"checkpoint;", is it applied to all the databases?

Yes. CHECKPOINT is more a cluster-wide operation, rather than a database
one.

--
Guillaume.
http://blog.guillaume.lelarge.info
http://www.dalibo.com

#3Yves Dorfsman
yves@zioup.com
In reply to: Guillaume Lelarge (#2)
Re: checkpoint

On 2014-07-10 13:02, Guillaume Lelarge wrote:

2014-07-10 20:56 GMT+02:00 Yves Dorfsman <yves@zioup.com <mailto:yves@zioup.com>>:

Hi,

If I run checkpoint from psql, is it applied to all the databases?

What if I do it though an API? When connecting with psycopg2, I'm forced to
specify a database name, if I use "dbname=postgres", and execute
"checkpoint;", is it applied to all the databases?

Yes. CHECKPOINT is more a cluster-wide operation, rather than a database one.

This is what I had observed, but wanted to be 100% sure. Thanks.

--
Yves.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general