472,368 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,368 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 1904
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...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

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.