Who's Online
1 registered (CT), 5 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Concurrent Request - running slow
by CT
1 second ago
P11d's
by jkavia
26 minutes 55 seconds ago
Assignment EIT not displaying in Self Service
by CT
Today at 06:45 AM
Vehicle Mileage Setup
by Chris Abraham
Yesterday at 12:24 PM
In which table is external learning data stored
by DMC
Yesterday at 08:45 AM
Oracle Payroll and Cash Management
by Gus
20/05/12 11:27 AM
Pension Auto Enrolment
by CT
18/05/12 09:46 AM
11.5.10 "Extended Support" extended til..... when?
by Vigneswar Battu
17/05/12 10:59 AM
Hacking element definitions
by CT
15/05/12 08:42 AM
GB EOY reports
by Vigneswar Battu
09/05/12 02:07 PM
Top Posters (30 Days)
CT 38
delboy 36
Vigneswar Battu 15
pat.woodall 9
Gus 4
bcooper 4
7Giri 3
Ryan 3
DMC 3
Mani 3
(Views)Popular Topics
Family Pack K issues thread 20153
CREATE_GRADE api returns:PLS-00306: wrong number o 15194
Still trying to locate... 13844
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11889
Viewing Output of another user 10307
HR_PF.K RUP4 10271
Review of my Release 12 laptop 9733
Enhanced Retro & Release 12 9397
Adding a taskflow button to a form 9129
Family Pack K 7906
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: 74
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 06:28 AM Re: Purging obselete data [Re: pat.woodall]
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
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
791 Members
48 Forums
1582 Topics
7650 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1185
bcooper 1112
delboy 594
Geoff Dixon 369
SBi 356
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 163
Gus 146
May
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 30 31