Seeking advice regarding a design problem - Mailing list pgsql-sql

From Wei Weng
Subject Seeking advice regarding a design problem
Date
Msg-id 1028305002.9763.31.camel@Monet
Whole thread Raw
Responses Re: Seeking advice regarding a design problem
Re: Seeking advice regarding a design problem
List pgsql-sql
I am running postgresql as database backend, and I have some scripts
dealing with constant incoming data and then insert these data into the
database, in a quite complex way, involving a couple of procedures.

But the performance of the database is worse than I had thought. After
about 100 times of the script being run, the speed of the insertion
slowed down dramatically. But it went back to the regular fast speed
after I did a vacuum analyze.

how can I redesign the system to avoid the bottleneck? And why is it
that postgresql can slow down so much after doing some complex
operations?


Thanks


-- 
Wei Weng
Network Software Engineer
KenCast Inc.




pgsql-sql by date:

Previous
From: "Rajesh Kumar Mallah."
Date:
Subject: possible bug in \df+
Next
From: Wei Weng
Date:
Subject: Re: Seeking advice regarding a design problem