Re: Please Help Me...

From: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
To: Rafiqul Haque <rafiq(dot)ced(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Please Help Me...
Date: 2014-02-26 11:41:06
Message-ID: CAB8KJ=gmkANi1=kCsunXT0TcvPYqrm9ZC3xfTVvZn4Fy7dEVYg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

2014-02-26 20:35 GMT+09:00 Rafiqul Haque <rafiq(dot)ced(at)gmail(dot)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(at)gmail(dot)com>
> wrote:
>>
>> 2014-02-26 19:39 GMT+09:00 Rafiqul Haque <rafiq(dot)ced(at)gmail(dot)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(at)gmail(dot)com>
>> > wrote:
>> >>
>> >> 2014-02-26 17:48 GMT+09:00 Rafiqul Haque <rafiq(dot)ced(at)gmail(dot)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
>> >
>> >
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alanoly Andrews 2014-02-26 13:53:10 Re: Database upgrade from 8.4.7 to 9.1.4
Previous Message Ian Lawrence Barwick 2014-02-26 11:20:51 Re: Please Help Me...