473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Continuous performance regression

Hello.

I use postgress to manage a small amount of data (ca. 25MB), but often
changed.
This is a mirror of several tables taken form four different databases.

All data are updated once per hour (or sometimes on demand)

Update of every table is closes within a transaction (constant data
availability is most important):
BEGIN;
INSERT...
UPDATE...
UDPDATE...
COMMIT;

After all updated (every hour) I issue 'analyse' command.
Once a day, during night I issue 'vacuum full' command.

Since database creation I observe constant performance degradation during
update,
though data amount still persists the same.
At the beginning all updates take i.e. 1 minute
After 2 weeks the same update takes 4 minutes

When I make full backup, drop the database and recreate it from backup
everything starts from
the beginning (1 minute).

I tried this both on Postgres 7.4.x on Fedora2 (Pentium 2GHz/256Mb RAM)
and Solaris 2.6 (2x Ultra Sparc 400Mhz/ 512 Mb RAM) - on both the same
behaviour.

Any idea what I do wrong?
(such a bug in postgres engine is unbelivable)...

Regards:
P.M.
Jul 19 '05 #1
2 1943
What's about reindexing your tables?
I doubt that vacuum takes care about it.
See the SQL command "REINDEX"
And I don't think doing full vacuum makes sense since the
space is not a crucial thing for you.
I would use VACUUM ANALYZE.

"Przemyslaw Mazur" <pm****@post.pl> wrote in message
news:ct**********@atlantis.news.tpi.pl...
Hello.

I use postgress to manage a small amount of data (ca. 25MB), but often
changed.
This is a mirror of several tables taken form four different databases.

All data are updated once per hour (or sometimes on demand)

Update of every table is closes within a transaction (constant data
availability is most important):
BEGIN;
INSERT...
UPDATE...
UDPDATE...
COMMIT;

After all updated (every hour) I issue 'analyse' command.
Once a day, during night I issue 'vacuum full' command.

Since database creation I observe constant performance degradation during
update,
though data amount still persists the same.
At the beginning all updates take i.e. 1 minute
After 2 weeks the same update takes 4 minutes

When I make full backup, drop the database and recreate it from backup
everything starts from
the beginning (1 minute).

I tried this both on Postgres 7.4.x on Fedora2 (Pentium 2GHz/256Mb RAM)
and Solaris 2.6 (2x Ultra Sparc 400Mhz/ 512 Mb RAM) - on both the same
behaviour.

Any idea what I do wrong?
(such a bug in postgres engine is unbelivable)...

Regards:
P.M.


Jul 19 '05 #2
THANK YOU VERY MUCH!

REINDEX was what I needed.

VACUUM FULL was an act of despair...

BR:
P.M.

"Nikolay A Mirin" <ni*****@mail.ru> wrote in message
news:gZ**************@newsread3.news.pas.earthlink .net...
What's about reindexing your tables?
I doubt that vacuum takes care about it.
See the SQL command "REINDEX"
And I don't think doing full vacuum makes sense since the
space is not a crucial thing for you.
I would use VACUUM ANALYZE.

"Przemyslaw Mazur" <pm****@post.pl> wrote in message
news:ct**********@atlantis.news.tpi.pl...
Hello.

I use postgress to manage a small amount of data (ca. 25MB), but often
changed.
This is a mirror of several tables taken form four different databases.

All data are updated once per hour (or sometimes on demand)

Update of every table is closes within a transaction (constant data
availability is most important):
BEGIN;
INSERT...
UPDATE...
UDPDATE...
COMMIT;

After all updated (every hour) I issue 'analyse' command.
Once a day, during night I issue 'vacuum full' command.

Since database creation I observe constant performance degradation during
update,
though data amount still persists the same.
At the beginning all updates take i.e. 1 minute
After 2 weeks the same update takes 4 minutes

When I make full backup, drop the database and recreate it from backup
everything starts from
the beginning (1 minute).

I tried this both on Postgres 7.4.x on Fedora2 (Pentium 2GHz/256Mb RAM)
and Solaris 2.6 (2x Ultra Sparc 400Mhz/ 512 Mb RAM) - on both the same
behaviour.

Any idea what I do wrong?
(such a bug in postgres engine is unbelivable)...

Regards:
P.M.

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Nicolas Pernetty | last post by:
Hello, I'm looking for any work/paper/ressource about continuous system simulation using Python or any similar object oriented languages (or even UML theory !). I'm aware of SimPy for...
3
by: Hans Karman | last post by:
Is it possible to set the background colour for each record in a continuous form to the colour stored in a datafield within that record? Hans Karman, Canberra, Australia
8
by: Michael van der Veeke | last post by:
Hi All, Does anyone use any regression testing tools with MS Access? We have tried a few and none seem to work very well with a MS Access Front end and I need one. Can anyone provide any...
11
by: Doug Bell | last post by:
Hi, I am trying to create form that displays data like an Access continuous dataform rather than using a data grid. I am thinking that I can achieve this by creating a row of text boxes, one...
3
by: S P Arif Sahari Wibowo | last post by:
Hi! I would like to make an editable continous form, where most fields will be from table A and editable, except 1-3 fields are a glimpse into table B and uneditable. Table A relate to table B...
12
by: Lars Schouw | last post by:
All, Does anyone know how much performance speedup I can expect by using 64 bit C++ / Windows XP 64 bit over the 32 bit versions? Did anyone test this under Visual Studio 2005 or Intel C++...
8
by: Dave Potts | last post by:
Hi, I'm just starting a development project in Python having spent time in the Java world. I was wondering what tool advice you could give me about setting up a continuous integration...
2
by: Monroeski | last post by:
I'm not a new user to Access, but I have been away from it for a while, so I'm making a lot of new user mistakes. I have a continuous form set up which displays performance measures for different...
13
by: eighthman11 | last post by:
using Access 2003 and sql server version 8.0 Hey everyone. Created a text box where the user types in an Inventory number and it takes them to that inventory number on the contimuous form. The...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.