Re: Please Help Me... - Mailing list pgsql-admin

From Ian Lawrence Barwick
Subject Re: Please Help Me...
Date
Msg-id CAB8KJ=gmkANi1=kCsunXT0TcvPYqrm9ZC3xfTVvZn4Fy7dEVYg@mail.gmail.com
Whole thread Raw
In response to Please Help Me...  (Rafiqul Haque <rafiq.ced@gmail.com>)
List pgsql-admin
2014-02-26 20:35 GMT+09:00 Rafiqul Haque <rafiq.ced@gmail.com>:
> Thanks a lot Ian.. I figured out that as well... I am trying to figure out
> how many tables my server can create …

Why not try for a billion?

  http://www.pgcon.org/2013/schedule/events/595.en.html

;)

Regards

Ian Barwick

>
> On Wed, Feb 26, 2014 at 12:20 PM, Ian Lawrence Barwick <barwick@gmail.com>
> wrote:
>>
>> 2014-02-26 19:39 GMT+09:00 Rafiqul Haque <rafiq.ced@gmail.com>:
>> > Hi,
>> >
>> > Thanks very much for prompt response. I executed the commands you
>> > suggested.
>>
>> Please don't forget to CC the original mailing list, because more people
>> will
>> be able to help you.
>>
>> > Shared buffer is 128MB (I did know that, I thought it is taking all my
>> > GB
>> > automatically !!!!)
>> >
>> > The version is 9.3.2
>>
>> 128MB is the default setting for shared_buffers and is very low.
>> You'll need to adjust
>> that and some other settings (especially work_mem and
>> maintenance_work_mem)
>> appropriately for your system. See e.g.:
>>
>>   http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
>>
>> Regards
>>
>> Ian Barwick
>>
>>
>>
>> > Cheers,
>> >
>> >
>> > On Wed, Feb 26, 2014 at 9:57 AM, Ian Lawrence Barwick
>> > <barwick@gmail.com>
>> > wrote:
>> >>
>> >> 2014-02-26 17:48 GMT+09:00 Rafiqul Haque <rafiq.ced@gmail.com>:
>> >> > Hi,
>> >> >
>> >> > I am confronting this error (I pasted below). It gives a hint to
>> >> > increase
>> >> > "You might need to increase max_locks_per_transaction" which I did
>> >> > but
>> >> > get
>> >> > the same error .... please please suggest me something to get rid of
>> >> > this
>> >> > error.. I would really be grateful..
>> >> >
>> >> > My script create 13000 empty tables. Each table contains 130
>> >> > attributes...
>> >> >
>> >> > My server has 8 GB RAM 64 bit processor, running windows 7 OS
>> >> >
>> >> > Best regards,
>> >> > Rafiq
>> >> >
>> >> >
>> >> > *********************************
>> >> >
>> >> >
>> >> >
Error***********************************************************************************************************************
>> >> >
>> >> > WARNING:  out of shared memory
>> >>
>> >> What is your server's shared_buffers setting? And which version of
>> >> PostgreSQL
>> >> are you using? I.e. output of these statements:
>> >>
>> >>   SHOW shared_buffers;
>> >>   SELECT version();
>> >>
>> >> Regards
>> >>
>> >> Ian Barwick
>> >
>> >
>
>


pgsql-admin by date:

Previous
From: Ian Lawrence Barwick
Date:
Subject: Re: Please Help Me...
Next
From: Alanoly Andrews
Date:
Subject: Re: Database upgrade from 8.4.7 to 9.1.4