| From: | Edmundo Robles <edmundo(at)sw-argos(dot)com> | 
|---|---|
| To: | pgsql-general(at)postgresql(dot)org | 
| Subject: | Looking for software to 'enqueue' connections | 
| Date: | 2016-08-15 20:30:20 | 
| Message-ID: | CAOXzpYANjxv5bQ1HpLZ-8Wt5EP6sqHETGLX6mYDFhr8+SL30xA@mail.gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-general | 
Hi!
I want find  a software to 'enqueue' the client connections to database, so
if i reach the max limit the query must be holding in a queue   until one
connection is released.
I have  many devices (100+) saving  their state to a database,  each
minute,  but  the table is too large more than 13,000,000 of records and
many indexes, so, insert  one record takes 3 or more minutes.
Then,  there is a moment  at connection limit is reached :( and  lose
information
I tried with pgbouncer  to  'enqueue' the connections but  I  get  no
success, maybe   I missing something...
by the way:
I use postgres 9.4 with max_connections 100
and pgbouncer  max_connections to 100 and  reserve_pool_size=50
I hope you can help me...
 thanks.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Melvin Davidson | 2016-08-15 20:36:15 | Re: 9.2 to 9.5 pg_upgrade losing data | 
| Previous Message | Bruce Momjian | 2016-08-15 19:56:53 | Re: 9.2 to 9.5 pg_upgrade losing data |