Re: PHP SQL

From: Richard Huxton <dev(at)archonet(dot)com>
To: Shaun Clements <ShaunC(at)relyant(dot)co(dot)za>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>, 'Michael Fuhr' <mike(at)fuhr(dot)org>
Subject: Re: PHP SQL
Date: 2005-03-22 15:43:59
Message-ID: 42403D3F.8020709@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shaun Clements wrote:
> Excellent idea. Yes, I would prefer to write in plpgsql.
> My next concern then, is, does Postgres, perform some kind of Load
> Balancing.

Well, you can have multiple clients running queries at the same time.

> I dont want the stored procedure once run, to DOS other users, who are
> running reports.. or perform queries using some application.
> The reason for asking, is I plan on taking, 350 000 rows, and transforming
> them, into hopefully about 50% smaller number (in a new schema)
> It is critical, that I dont DOS the database server, because it is being
> used in a PRODUCTION enviroment

Well, if you need to lock resources used by other users then they could
be delayed then. Otherwise, you'll need to test and see if your
production server has enough capacity to run your simultaneous queries
fast enough.

--
Richard Huxton
Archonet Ltd

In response to

  • Re: PHP SQL at 2005-03-22 12:18:42 from Shaun Clements

Browse pgsql-general by date

  From Date Subject
Next Message tony_caduto 2005-03-22 16:20:58 Question about function body checking and 8.1
Previous Message Justin L. Kennedy 2005-03-22 15:03:21 Re: Tsearch vector not stored by update/set