Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     REBUILD vs TABLEF and a reload

Read-Only Read-Only Topic
Go
Search
Notify
Tools
REBUILD vs TABLEF and a reload
 Login/Join
 
Silver Member
posted
MVS 7.2.5

Hi all,

Does anyone have any real data on the relative speed difference between doing a TABLEF and a MODIFY vs a REBUILD/REBUILD if all you need to do is reorganize the data or delete old records.

If there are any other considerations I'd be glad to hear about them.

Sandy Weller
 
Posts: 38 | Location: Chicago, IL area | Registered: June 16, 2004Report This Post
Gold member
posted Hide Post
quote:
Originally posted by Sandy Weller:
[qb] MVS 7.2.5

Does anyone have any real data on the relative speed difference between doing a TABLEF and a MODIFY vs a REBUILD/REBUILD if all you need to do is reorganize the data or delete old records.[/qb]
Hi, Sandy,

Back when I was in support, I had a client who was running a REBUILD/REBUILD on a large FOCUS dB (close to 64 MB, which in 1992, was actually quite large). We were able to cut her REBUILD down from over 7 hours to about 14 minutes by breaking it down from REBUILD/REBUILD into a REBUILD/REORG/DUMP and a REBUILD/REORG/LOAD, plus REBUILD INDEX.

REBUILD/REBUILD is usually only very slow if you have large databases with multiple indexed fields in the DB. FOCUS has to simultaneously load the data records and multiple index pages in unsorted order when you do it in one step like this, which means lots of paging and disk drives spinning out of control.

To do it the efficient way, you just do the dump first (REBUILD/REORG/DUMP), then do a CREATE FILE on the new file WITH all of the INDEXED fields in the MFD.

Use an alternate MFD for the REBUILD REORG LOAD (identical to the original but with no INDEX fields in the MFD). This will quickly load just the data records.

Then do a REBUILD/INDEX using the original MFD with all of the INDEXED fields specified. Now FOCUS does just builds the indexes using the sorted data (effectively like TABLEF/FIXFORM).

It's actually very simple and can save quite a bit of time in rebuilding large FOCUS dBs.

Hope that helps.

-Chris
 
Posts: 55 | Location: New York | Registered: March 07, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     REBUILD vs TABLEF and a reload

Copyright © 1996-2020 Information Builders