how to change block size of postgresql

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

how to change block size of postgresql

Postby zedjr » Fri May 15, 2009 3:56 pm

Where exactly do i change the postgresql block size. I cant find it in postgres.conf file. it currently uses 8kb am told and want to change it to 16kb.
zedjr
 
Posts: 198
Joined: Mon Feb 04, 2008 6:28 pm

Re: how to change block size of postgresql

Postby kraada » Fri May 15, 2009 4:06 pm

I believe the only way to change that value is to compile PostgreSQL from source with the --with-blocksize option set. I don't see that option for PostgreSQL 8.3, so you may need to use the new PostgreSQL 8.4 beta (preliminary tests indicate that PostgreSQL 8.4 will work fine with PT3). See this page for more on the installation from source procedure on PostgreSQL 8.4beta.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: how to change block size of postgresql

Postby zedjr » Fri May 15, 2009 6:21 pm

Can u ask dave as he might know. I have seen posts at other sites about setting block size in 8.3 and 8.2.
zedjr
 
Posts: 198
Joined: Mon Feb 04, 2008 6:28 pm

Re: how to change block size of postgresql

Postby kraada » Sat May 16, 2009 9:35 am

This post does mention a way to do it for PostgreSQL 8.3 -- you still do need to recompile though.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 31 guests

cron