Who's Online
0 registered (), 3 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Update EIT in SSHR
by Sahir
03:45 PM
End of Year Legislation Patch for 11i
by delboy
01:35 PM
Interfacing iRec and external sites
by DanC
11:42 PM
Capturing, Storing, & Paying Banked Overtime
by Paul
08:51 PM
Time and Labour & Oracle Projects
by Paul
07:34 PM
Search Engine Optimizers
by delboy
01:30 PM
Abseces in oracle hrms, super user: how to do I:
by JayTee
07:26 AM
Function for getting retropay-maintained balances
by CT
08/02/12 12:21 PM
Grade End Date
by Chris
03/02/12 10:46 AM
OLM Mandatory Enrolments
by bcooper
01/02/12 12:23 PM
Top Posters (30 Days)
CT 26
delboy 25
bcooper 15
Sahir 5
Gus 5
tovia123 4
Tim Bailey 3
christm 3
SBi 3
Simon_Mc 3
(Views)Popular Topics
Family Pack K issues thread 18216
CREATE_GRADE api returns:PLS-00306: wrong number o 13757
Still trying to locate... 12193
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 10646
Viewing Output of another user 9131
HR_PF.K RUP4 8841
Review of my Release 12 laptop 8494
Adding a taskflow button to a form 7855
Enhanced Retro & Release 12 7679
Family Pack K 7116
Topic Options
Rate This Topic
#2370 - 20/12/06 12:24 PM Purging obselete data
simonbarrow Offline
enthusiast

Registered: 06/10/05
Posts: 37
Loc: Manchester
Hi all,

We're experiencing some severe performance issues on the absence (PERSWEAD) form within HR. All my traces point at the fact that the queries relating to the following two tables are taking the most time:

pay_element_entries_f
pay_element_entry_values_f

As a result of a 3 year plus payoll live period, and an OTL system which makes more element entries than it is possible to shake the proverbial stick at, I've got 11.6
million rows and 75.6 million rows in each of these tables respectively.

/* Cowboy hat on */

Hacking out the vast majority of these rows in a test environment reduces the query time for the absence form substantially, to a matter of seconds, rather than a couple of minutes

/* cowboy hat off */

So- my question is: has anyone had any experience of purging these tables of obselete data? There is no core Purge process for these tables that I can find, and Oracle are being less than co-operative...

Any helps/ hints/ ideas/ cowboy solutions appreciated.

Thanks
_________________________
Simon Barrow

Top
#2371 - 21/12/06 08:57 AM Re: Purging obselete data [Re: simonbarrow]
pat.woodall Offline
hanger-on

Registered: 07/06/05
Posts: 65
Loc: Hardy's Way
Simon,

We've got 34 million rows in pay_element_entries_f and have toyed with the idea of purging these tables. We used py_element_entry_api.delete_element_entry with p_datetrack_delete_mode => 'ZAP' on a test instance as part of a 'Clean up suite' but have yet to encounter performance problems that merit taking it further.

Have you checked the parameters on pay_action_parameters? I believe that LOW_VOLUME = 'N' will put a hint on the sql that may speed things up a bit (I'm sure on of our techie gurus will confirm/elaborate). We also use CHUNK_SHUFFLE = 'Y' so that the payroll run slaves spread the load.

Pat

Top
#2372 - 28/08/07 05:28 AM Re: Purging obselete data [Re: pat.woodall]
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1095
Loc: Earth, Europe, England, here
I know this is an old post, but thought i'd chip in with new / recent info.

There have been several performance enhancements in recent patches (during the course of 2007) - i will not mention names, but many of these have been driven by technical work carried out by a well-known propeller-head techie working here at the nations health provider...

Also at same said project, there have been numerous trials of 3rd party archiving tools/solutions...this is still on going as we have yet to find a best fit tool (and may end up producing our own). The best sofar has been a dramatic re-working of the killer script <img src="/ubbthreads/images/graemlins/notworthy.gif" alt="" /> (commissions greatfully accepted).
I'll keep you all posted on any news.

Oh, and 34million rows is not huge <img src="/ubbthreads/images/graemlins/smile.gif" alt="" /> We're currently topping the billion-row mark for run result values, and the element entry table is past the 100 million row mark.
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top



Moderator:  bcooper, CT 
Forum Stats
756 Members
48 Forums
1517 Topics
7286 Posts

Max Online: 63 @ 24/11/10 07:21 AM
Today's Birthdays
No Birthdays
Recent vacancies
Tea boy available 4 basic chores & some! services
by Simon_Mc
19/01/12 03:59 PM
Top Posters
bcooper 1095
CT 1080
delboy 500
Geoff Dixon 369
SBi 344
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 160
Gus 132
February
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29