postgres: writer process,what does this process actually do?
postgres: writer process,what does this process actually do?
От:
Thomas <freebsdjlu@gmail.com>
Дата:
Does it write data to data files to make buffer "clean"?if it does ,but I can not find open files from the result of lsof -p PID.
Re: postgres: writer process,what does this process actually do?
От:
Grzegorz Jaśkiewicz <gryzman@gmail.com>
Дата:
On Tue, Dec 22, 2009 at 10:19 AM, Thomas wrote: > Does it write data to data files to make buffer "clean"?if it > does ,but I can not find open files from the result of lsof -p > PID. > writer actually takes care about writing pages down, from shared memory. It is the central point that accesses disk on behalf of all backends (which are spawned every time you create new connection). -- GJ
Re: postgres: writer process,what does this process actually do?
От:
Thomas <freebsdjlu@gmail.com>
Дата:
On 12月22日, 下午11时26分, gryz...@gmail.com (Grzegorz Jaśkiewicz) wrote: > On Tue, Dec 22, 2009 at 10:19 AM, Thomas wrote: > > Does it write data to data files to make buffer "clean"?if it > > does ,but I can not find open files from the result of lsof -p > > PID. > > writer actually takes care about writing pages down, from shared > memory. It is the central point that accesses disk on behalf of all > backends (which are spawned every time you create new connection). > > -- > GJ > > -- > Sent via pgsql-general mailing list (pgsql-gene...@postgresql.org) > To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general hi GJ Tks a lot . And could you give me some info about postgres internals? Such as ebooks or online articles.
Re: postgres: writer process,what does this process actually do?
От:
Richard Broersma <richard.broersma@gmail.com>
Дата:
On Tue, Dec 22, 2009 at 6:56 PM, Thomas ote: > And could you give me some info about postgres internals? Such as > ebooks or online articles. I'm not sure if you've already reviewed this part of the PostgreSQL docs or not: http://www.postgresql.org/docs/8.4/interactive/internals.html -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug
PostgreSQL and character set change
От:
Jayadevan M <Jayadevan.Maymala@ibsplc.com>
Дата:
Hi all,
We have a PostgreSQL server with ASCII data. We have a requirement for the db to support UTF also. Which is the best approach -
1) Make a new installation, move data
2) There is some way of doing an 'in-place' conversion and changing the character set of the existing installation
Please do provide some information on how to do this.
Jayadevan
DISCLAIMER:
"The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."
We have a PostgreSQL server with ASCII data. We have a requirement for the db to support UTF also. Which is the best approach -
1) Make a new installation, move data
2) There is some way of doing an 'in-place' conversion and changing the character set of the existing installation
Please do provide some information on how to do this.
Jayadevan
DISCLAIMER:
"The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."
Re: PostgreSQL and character set change
От:
Pavel Stehule <pavel.stehule@gmail.com>
Дата:
2009/12/23 Jayadevan M <Jayadevan.Maymala@ibsplc.com>
1 is right.
Regards
Pavel Stehule
Hi all,
We have a PostgreSQL server with ASCII data. We have a requirement for the db to support UTF also. Which is the best approach -
1) Make a new installation, move data
2) There is some way of doing an 'in-place' conversion and changing the character set of the existing installation
Please do provide some information on how to do this.
Jayadevan
1 is right.
Regards
Pavel Stehule
DISCLAIMER:
"The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."
Re: PostgreSQL and character set change
От:
"Albe Laurenz" <laurenz.albe@wien.gv.at>
Дата:
Jayadevan M wrote: > We have a PostgreSQL server with ASCII data. We have a > requirement for the db to support UTF also. Which is the best > approach - > 1) Make a new installation, move data This is the only and hence the best approach. It doesn't have to be a new installation, a new database with encoding UTF8 is enough. Yours, Laurenz Albe
Re: PostgreSQL and character set change
От:
Jayadevan M <Jayadevan.Maymala@ibsplc.com>
Дата:
Hi,
Thanks.
For anyone else who may be looking for more information, please see details on how to do it here....
http://docs.moodle.org/en/UTF-8_PostgreSQL#PostgreSQL_UTF8_Migration_How-to
Regards,
Jayadevan
From: "Albe Laurenz" <laurenz.albe@wien.gv.at>
To: "Jayadevan M *EXTERN*" <Jayadevan.Maymala@ibsplc.com>, <pgsql-general@postgresql.org>
Date: 12/23/2009 01:12 PM
Subject: Re: [GENERAL] PostgreSQL and character set change
Sent by: pgsql-general-owner@postgresql.org
Jayadevan M wrote:
> We have a PostgreSQL server with ASCII data. We have a
> requirement for the db to support UTF also. Which is the best
> approach -
> 1) Make a new installation, move data
This is the only and hence the best approach.
It doesn't have to be a new installation, a new database with
encoding UTF8 is enough.
Yours,
Laurenz Albe
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
DISCLAIMER:
"The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."
Thanks.
For anyone else who may be looking for more information, please see details on how to do it here....
http://docs.moodle.org/en/UTF-8_PostgreSQL#PostgreSQL_UTF8_Migration_How-to
Regards,
Jayadevan
From: "Albe Laurenz" <laurenz.albe@wien.gv.at>
To: "Jayadevan M *EXTERN*" <Jayadevan.Maymala@ibsplc.com>, <pgsql-general@postgresql.org>
Date: 12/23/2009 01:12 PM
Subject: Re: [GENERAL] PostgreSQL and character set change
Sent by: pgsql-general-owner@postgresql.org
Jayadevan M wrote:
> We have a PostgreSQL server with ASCII data. We have a
> requirement for the db to support UTF also. Which is the best
> approach -
> 1) Make a new installation, move data
This is the only and hence the best approach.
It doesn't have to be a new installation, a new database with
encoding UTF8 is enough.
Yours,
Laurenz Albe
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
DISCLAIMER:
"The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."
Re: postgres: writer process,what does this process actually do?
От:
Raymond O'Donnell <rod@iol.ie>
Дата:
On 23/12/2009 02:56, Thomas wrote: > And could you give me some info about postgres internals? Such as > ebooks or online articles. > There's quite a bit in the manual: http://www.postgresql.org/docs/8.4/interactive/internals.html Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie
Re: postgres: writer process,what does this process actually do?
От:
Thomas <freebsdjlu@gmail.com>
Дата:
On Dec 23, 3:44 pm, r...@iol.ie ("Raymond O'Donnell") wrote:
> On 23/12/2009 02:56, Thomas wrote:
>
> > And could you give me some info about postgres internals? Such as
> > ebooks or online articles.
>
> There's quite a bit in the manual:
>
> http://www.postgresql.org/docs/8.4/interactive/internals.html
>
> Ray.
>
> --
> Raymond O'Donnell :: Galway :: Ireland
> r...@iol.ie
>
> --
> Sent via pgsql-general mailing list (pgsql-gene...@postgresql.org)
> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general
Tks man.
:)