pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
sql-statement blocks maschine
2+ messages / 2 participants
[nested] [flat]

* sql-statement blocks maschine
@ 2006-05-23 08:39 MG <pgsql-admin@carladata.de>
  2006-05-23 11:45 ` Re: sql-statement blocks maschine Adam Radlowski <adamr@informatyka.gdansk.pl>
  0 siblings, 1 reply; 2+ messages in thread

From: MG @ 2006-05-23 08:39 UTC (permalink / raw)
  To: pgsql-admin

Hello,

we are using PostgreSQL 8.0.3 under SuSE Linux 9.2 and SCO OpenServer 6.0 and have some perfomance problems. We are working with telnet-clients, which controlls our application on the server. The application does the sql-statements

If we have sql-statements e.g. SELECT or UPDATE which takes some minutes to be executed, then this statement blocks the whole maschine. This has the affect, that the telnet-clients work very very slowly, e.g. it takes several seconds from one keystroke to the next one. So you can`t work with the application in a reasonable way.

These sql-statments are so variable, that we can`t create a index for each combination.

How can we solve that problem?

Greeting
Michaela

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: sql-statement blocks maschine
  2006-05-23 08:39 sql-statement blocks maschine MG <pgsql-admin@carladata.de>
@ 2006-05-23 11:45 ` Adam Radlowski <adamr@informatyka.gdansk.pl>
  0 siblings, 0 replies; 2+ messages in thread

From: Adam Radlowski @ 2006-05-23 11:45 UTC (permalink / raw)
  To: MG <pgsql-admin@carladata.de>; pgsql-admin

Run the "top" program. You'll see, that Your server CPU time is strongly 
take by postmaster. The best way is to have two machines - servers: for 
database server and for terminals. Maybe good will be to have more than 
one CPU in the one server and run database server on CPU not used by 
others apps.
Greetins
Adam

MG wrote:

> Hello,
>  
> we are using PostgreSQL 8.0.3 under SuSE Linux 9.2 and SCO OpenServer 
> 6.0 and have some perfomance problems. We are working with 
> telnet-clients, which controlls our application on the server. The 
> application does the sql-statements
>  
> If we have sql-statements e.g. SELECT or UPDATE which takes some 
> minutes to be executed, then this statement blocks the whole maschine. 
> This has the affect, that the telnet-clients work very very slowly, 
> e.g. it takes several seconds from one keystroke to the next one. So 
> you can`t work with the application in a reasonable way.
>  
> These sql-statments are so variable, that we can`t create a index for 
> each combination.
>  
> How can we solve that problem?
>  
> Greeting
> Michaela





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-05-23 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-05-23 08:39 sql-statement blocks maschine MG <pgsql-admin@carladata.de>
2006-05-23 11:45 ` Adam Radlowski <adamr@informatyka.gdansk.pl>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox