Thread: postgres: writer process,what does this process actually do?

postgres: writer process,what does this process actually do?

From
Thomas
Date:
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?

From
Grzegorz Jaśkiewicz
Date:
On Tue, Dec 22, 2009 at 10:19 AM, Thomas <freebsdjlu@gmail.com> 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?

From
Thomas
Date:
On 12月22日, 下午11时26分, gryz...@gmail.com (Grzegorz Jaśkiewicz) wrote:
> On Tue, Dec 22, 2009 at 10:19 AM, Thomas <freebsd...@gmail.com> 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?

From
Richard Broersma
Date:
On Tue, Dec 22, 2009 at 6:56 PM, Thomas <freebsdjlu@gmail.com>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

From
Jayadevan M
Date:
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."





Re: PostgreSQL and character set change

From
Pavel Stehule
Date:


2009/12/23 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

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

From
"Albe Laurenz"
Date:
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

From
Jayadevan M
Date:
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."





Re: postgres: writer process,what does this process actually do?

From
Raymond O'Donnell
Date:
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?

From
Thomas
Date:
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.
:)