Lists: | pgsql-admin |
---|
From: | Thomas Bräutigam <thomas(dot)braeutigam(at)nexustelecom(dot)com> |
---|---|
To: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | PostgreSQL and ZFS |
Date: | 2008-09-03 13:00:19 |
Message-ID: | 46F5921DF52F6E40860287B30CADADC7A67ACE@EROS.nexus-ag.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
Hello,
I am working with a PostgreSQL Database and I want to change the Filesystem to ZFS.
Does someone have experience with PostgreSQL and its Performance with ZFS? Are the current write options for PostgreSQL suitable for ZFS?
Do I need to finetune Postgres with the settings for ZFS?
Like finetuning of...
- fsync
- wal_sync_method
Thanks if someone can help me on this.
Cheers Thomas
From: | "Anibal David Acosta" <aa(at)personal(dot)net(dot)py> |
---|---|
To: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Database encoding |
Date: | 2008-09-03 13:40:36 |
Message-ID: | 000001c90dca$a5e653a0$f1b2fae0$@net.py |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
Hello, I have a postgresql installed with encoding "WIN1252".
But I need to create a DB with LATIN1 encoding, when I try I got the error:
"Encoding Latin1 does not match server's locale Spanish_Spain.1252. The
servers's LC_CTYPE setting require encoding WIN1252
Is possible to change the server encoding to LATIN1?
Thanks for your help!
From: | "Jeremy Tunnell" <jeremy(dot)tunnell(at)gmail(dot)com> |
---|---|
To: | "Anibal David Acosta" <aa(at)personal(dot)net(dot)py> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Database encoding |
Date: | 2008-09-03 17:58:32 |
Message-ID: | d65067e10809031058g6a4a145emaef820a498fb771b@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
The setting is in a file called i18n, but I can't recall where it's located.
On Wed, Sep 3, 2008 at 6:40 AM, Anibal David Acosta <aa(at)personal(dot)net(dot)py>wrote:
> Hello, I have a postgresql installed with encoding "WIN1252".
>
>
>
> But I need to create a DB with LATIN1 encoding, when I try I got the error:
> "Encoding Latin1 does not match server's locale Spanish_Spain.1252. The
> servers's LC_CTYPE setting require encoding WIN1252
>
>
>
>
>
> Is possible to change the server encoding to LATIN1?
>
>
>
>
>
> Thanks for your help!
>
>
>
>
>
From: | valgog <valgog(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Database encoding |
Date: | 2008-09-04 07:35:02 |
Message-ID: | 0302d94a-7a8e-46cc-bc47-c6b02623c38c@r15g2000prd.googlegroups.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-admin |
On Sep 3, 3:40 pm, a(dot)(dot)(dot)(at)personal(dot)net(dot)py ("Anibal David Acosta") wrote:
> Hello, I have a postgresql installed with encoding "WIN1252".
>
> But I need to create a DB with LATIN1 encoding, when I try I got the error:
> "Encoding Latin1 does not match server's locale Spanish_Spain.1252. The
> servers's LC_CTYPE setting require encoding WIN1252
>
> Is possible to change the server encoding to LATIN1?
>
> Thanks for your help!
You should use the same encoding for your DB instance as you used when
creating a DB with initdb. Usually it makes sense to always use UTF8
as your encoding... in case you will need some non-LATIN1
characters... you can check which encoding was used when creating a DB
with show lc_ctype...
Regards,
-- Valentine
P.S.: there are many posts related to that issue. You can look up a
BUG mailing list for collate and encoding.