Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
Add DB Index with Drumping and Loading Data with 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:
229
Members:
0
Total:
229
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 Customization/Development
Add DB Index with Drumping and Loading Data with dbreorg
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Randall
Veteran Member
Posts: 44
12/2/2010 4:24 PM
Hey all,
We recently created a new database index to the APINVOICE table on our development system. We ran the dbreorg as it normally would and, with the amount of invoices in the system, took about 16 hours to complete the dump, load, and creation of the index.
We then needed to refresh our database and it cleared out in index again and needed to be recreated. After checking out the manuals, it looked like dbreorg -F would take care of this for us. Since we were only adding an index and not database fields, I didn't see the need to dump and load the data right back to where it was.
However, when running this command, it again started dumping out data and then loading it again. We're not about halfway through of a reorg that was kicked off last night (in Development thankfully).
A long story short, is there a way to add an index and reorg the database without dumping and loading the table data?
We're a Windows 2003 shop, SQL Server 2005, Apps 9.0.0.4, Environment 9.0.0.8 and NetExpress 5.
I appreciate the help.
Thanks,
Randall
John Henley
Senior Member
Posts: 3348
12/2/2010 5:25 PM
It depends on what is in the index (e.g. conditional index actually adds a column to the table and includes that column in the index).
To get around this, you would use bldmsf2000ddl to script the table and index creation (to a file, not "live" using the -U option!!). Then use that SQL in SSMS to (create and populate conditional index field if needed) create the index. Then use dbreorg -d to implement the updated index in the dictionary, but not touch the database. =
Randall
Veteran Member
Posts: 44
12/2/2010 7:28 PM
Hey John,
Thanks for the reply. I wasn't aware adding a conditional index would need to add a database column which is exactly what I was trying to add. That's the root of my question and solves why the -F option didn't work when adding this index.
I appreciate the response and will keep in mind that this will be a required step during our go-live with this project.
Thanks again,
Randall
You are not authorized to post a reply.