Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
how to speed up prtime dbreorg
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5187
People Online:
Visitors:
28
Members:
0
Total:
28
Online Now:
New Topics
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1351
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Systems Administration
how to speed up prtime dbreorg
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Aihui
Basic Member
Posts: 8
8/18/2014 7:33 PM
We need to install two CTPs in the hope of fixing one program error. One of these two CTPs has lots of database changes, which also inlcudes dbreorg of PRTIME table. Due to the large size of this table, it took about 32 hours to finish the activate installation of this patch in our dev environment. To speed up the process when we did the installation in test environment we used "-F" option in order to skip the data dump/reload step of dbreorg. Unfortunately for certain table changes, dbreorg -F option is not working so the installation would still take long to finish. I am wondering whether anyone has ever encountered similar issue and had a workaround solution for this. Obviously we can't take our production system down for so long. Thanks.
John Henley
Senior Member
Posts: 3348
8/18/2014 8:14 PM
Off the top of my head, this is what I have done in the past (should cut down time but will still require more manual work).
1. The key is to figure out what SQL is being generated for the dbreorg (i.e. I'm assuming it is creating a new index, new columns, etc.). There are several ways to do that depending on what database you are running)
2. Rename the PRTIME indexes from PRTSETxxx to XRTSETxxx and the table from PRTIME to XRTIME via DBMS tools (i.e. SQL manager, etc.).
3. Create a new PRTIME empty table via bldxxxddl
4. Apply the CTP to do the dbreorg on the empty table.
5. Rename the new empty table to ZRTIME (and indexes to ZRTSETxxx)
6. Rename the XRTIME table back to PRTIME
7. Rename the XRTSETxxx indexes back to PRTSETxxx
8. Run the SQL captured in step 1 to create whatever new columns / indexes required
9. reapply the CTP to ensure no dbreorg is not required
Aihui
Basic Member
Posts: 8
8/19/2014 3:44 PM
Thanks John, really appreciate your input.
Jimmy Chiu
Veteran Member
Posts: 641
9/4/2014 3:50 PM
The long term solution probably is to upgrade your database server. 32 hours is @_@ regardless of your table size.
It takes my database server 4 minutes to do a full production database backup @ 380GB size.
You are not authorized to post a reply.