Bug 113885 - permissions denorm triggers slow on postgres
Summary: permissions denorm triggers slow on postgres
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise CMS
Classification: Retired
Component: other
Version: nightly
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Aram Kananov
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-19 21:46 UTC by Bryan Che
Modified: 2007-04-18 17:01 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-05 17:51:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Bryan Che 2004-01-19 21:46:35 UTC
I've been populating a cms postgres server, and the data population is
much slower now than before.  With around 5,000 published articles so
far, creating and publishing each additional article is taking around
5 minutes.  Previously, the slowest performance I saw populating on a
heavily used postgres db was around at most 1 minute/article.

The biggest problem seems to be doing operations like

update object_context
set context_id = 7149
where object_context.object_id = 15004

After turning on stats gathering for postgres, I see lots of
operations like these during population, and they each take up to
around 12 seconds to complete.  I think the culprit is the
object_context_dnm_trg trigger on object_context.  

I am currently populating an oracle server as well with statspack
enabled, but it's too early to know yet if oracle has this problem too.

Comment 1 Bryan Che 2004-01-20 18:14:40 UTC
just an update on oracle performance for population with the triggers.
 Creating and publishing an article on oracle took at most around 3
seconds at the same changelist that postgres is taking around 5 minutes.

Comment 2 Aram Kananov 2004-01-20 19:16:59 UTC
p4 # 39541 should improve performance on pg

Comment 3 Bryan Che 2004-01-21 15:14:45 UTC
Now, populating articles is going at a rate of about 50
seconds/article.   This is a big improvement but still lags Oracle by
quite a bit. 

Comment 4 Jon Orris 2006-09-05 17:51:16 UTC
Closing old tickets





Note You need to log in before you can comment on or make changes to this bug.