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

Lists: pgsql-general
From: Thomas <freebsdjlu(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: postgres: writer process,what does this process actually do?
Date: 2009-12-22 10:19:12
Message-ID: f1671691-24dc-489c-a6f1-7d88e82f4476@x25g2000prf.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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.


From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Thomas <freebsdjlu(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres: writer process,what does this process actually do?
Date: 2009-12-22 15:26:44
Message-ID: 2f4958ff0912220726v45f23178t9cb5b1d88f500dab@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Tue, Dec 22, 2009 at 10:19 AM, Thomas <freebsdjlu(at)gmail(dot)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


From: Thomas <freebsdjlu(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres: writer process,what does this process actually do?
Date: 2009-12-23 02:56:07
Message-ID: ff656d8a-0a68-4e6a-9344-3af279b215b3@g1g2000pra.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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


From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: Thomas <freebsdjlu(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres: writer process,what does this process actually do?
Date: 2009-12-23 03:51:58
Message-ID: 396486430912221951x24a1e62br5de0aec0f81b7bf4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Tue, Dec 22, 2009 at 6:56 PM, Thomas <freebsdjlu(at)gmail(dot)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


From: Jayadevan M <Jayadevan(dot)Maymala(at)ibsplc(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: PostgreSQL and character set change
Date: 2009-12-23 06:18:11
Message-ID: OF5CAA45ED.7CB80CCA-ON65257695.002275C3-65257695.0022C7ED@ibsplc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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."


From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Jayadevan M <Jayadevan(dot)Maymala(at)ibsplc(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL and character set change
Date: 2009-12-23 07:42:22
Message-ID: 162867790912222342u42e9fc1egba038195c6d21592@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

2009/12/23 Jayadevan M <Jayadevan(dot)Maymala(at)ibsplc(dot)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."
>
>
>
>
>


From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Jayadevan M *EXTERN*" <Jayadevan(dot)Maymala(at)ibsplc(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL and character set change
Date: 2009-12-23 07:42:54
Message-ID: D960CB61B694CF459DCFB4B0128514C2039380ED@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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


From: Jayadevan M <Jayadevan(dot)Maymala(at)ibsplc(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL and character set change
Date: 2009-12-23 08:32:13
Message-ID: OFD55CDEC1.4FB96794-ON65257695.002ED892-65257695.002F0D15@ibsplc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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(dot)albe(at)wien(dot)gv(dot)at>
To: "Jayadevan M *EXTERN*" <Jayadevan(dot)Maymala(at)ibsplc(dot)com>,
<pgsql-general(at)postgresql(dot)org>
Date: 12/23/2009 01:12 PM
Subject: Re: [GENERAL] PostgreSQL and character set change
Sent by: pgsql-general-owner(at)postgresql(dot)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(at)postgresql(dot)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."


From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Thomas <freebsdjlu(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres: writer process,what does this process actually do?
Date: 2009-12-23 20:44:11
Message-ID: 4B32811B.20805@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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(at)iol(dot)ie


From: Thomas <freebsdjlu(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres: writer process,what does this process actually do?
Date: 2009-12-24 10:24:28
Message-ID: 3bf01549-853f-4e27-bc65-19fa4213e47d@o9g2000prg.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Dec 23, 3:44 pm, r(dot)(dot)(dot)(at)iol(dot)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(dot)(dot)(dot)(at)iol(dot)ie
>
> --
> Sent via pgsql-general mailing list (pgsql-gene(dot)(dot)(dot)(at)postgresql(dot)org)
> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general

Tks man.
:)