quick catch up on peoplesoft

It's been a while since I posted anything to do with my "beloved" Peoplesoft...

umm... well,

you know what I mean...

Some might recall this post a while ago?

It's where I discussed our approach to this common problem with scratchpad tables in Peoplesoft.

Anyways: some developments I reckon could be of use to anyone going through the same problem.

I've since had a good exchange with Dave Kurtz where he suggested we try making the Peopletools code itself analyze these tables as it populates them.

Do spend some time reading his blog: that's where we got a lot of ideas to improve our PS environment. Definitely worth your while.

Still, changing Peoplesoft code was totally outside of what I wanted to do.

First of all, I'm not a Peopletools coder: I could easily get into a "the cure is worse than the malaise" situation.

Second, none of our guys knows how to spell "Peopletools". As such, no go.

We had to stick with the database solution. Not perfect, but workable.

Recently a new guy joined us. Scott is a very experienced Peopletools developer and administrator. As soon as he looked at our problem, his first reaction was: "Let's turn on the analyze from inside the Peopletools code, it's silly to force the database to do this".

This is done by turning on the trace facility of Peopletools for the module in question and ignoring the trace output. Part of the "tracing" code does an analyze on all scratchpad tables after populating them with interim results.

We removed our database stats blocking code and let Peoplesoft do the analyze during the paycalc.

Our paycalcs dropped from an already short 20 minutes to a 5 minutes run for a full month-all employees one.

That's as good as we could possibly expect!

Lessons? Never, ever try to fix an application performance problem by tuning the database.

The problem is in the application. Fixing it by changing the db setup is akin to trying to fix a flat tyre in a car by revving the engine:
it won't work in the long run and it'll definitely do more damage!

It's been said many times, but it doesn't hurt to say it again:

find where the problem is, fix it there!

I recently watched Oracle's Graham Wood talk performance monitoring and tuning with Grid at the last Sydney Oracle DBA Meetup.

He made a very strong point to which I can relate entirely: when tuning SQL performance problems, start by tuning the SQL. Do not tune the database.

Change the SQL - not the spfile - if all you have is a SQL performance problem.

Same principle, different conditions.

Assess the symptom, find the real problem and resolve it.

Stop fiddling with init.ora or spfile parameters. These affect the entire database instance, not just the problem you are seeing!

Anyways: just to let folks know the final outcome of this long saga.

Speaking of the Oracle Meetup, here is a fine bunch of folks at the last one:

Some of you might recognize in the centre, Graham Wood from Oracle and Alex Gorbachev - the Meetup dad - from Pythian. And a lot of other fine folks from the Sydney dba gang as well as some local Oracle folks.
Me? I'm behind the camera!

On a different note, I recently attended the first large format photography meeting in Sydney, with the APUG folks. Some of the fine equipment on display:

Man! I wish I had time to chase this form of photography.
Looks very promising, for gearhead geeks like me!

As is I made use of old faithful: the Zeiss rangefinder. Here are some more shots:

Catchyalata, folks!


Blogger Karen said...

"find where the problem is, fix it there!"


Thursday, September 17, 2009 10:47:00 pm  
Blogger Noons said...

and yet, how many times do we see folks go straight into tweaking database parameters before even looking at the problem?
I lost count...

Friday, September 18, 2009 9:35:00 am  
Blogger Chris said...

Can you please elaborate how this statement can be achieved?
"This is done by turning on the trace facility of Peopletools for the module in question and ignoring the trace output."

Friday, December 02, 2011 2:40:00 pm  
Blogger Noons said...

Yes Chris: if you read my entry again, it mentions Dave Kurz's site as the source of the information.

Here is the relevant page to this in his site:
That is how one enables the stats calc via trace.

Being yourself a developer, I strongly recommend you spend some time at Dave's site: it has an immense amount of good info.

Saturday, December 10, 2011 12:54:00 am  

Post a Comment

<< Home