13.07.2015 Views

CA ERwin Model Manager Implementation Guide

CA ERwin Model Manager Implementation Guide

CA ERwin Model Manager Implementation Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Reindex the DatabaseRun the Oracle DBMS Reindex ScriptAs the new index is being built, it coexists with the old index in the database.For this reason, you should plan for enough space to store both the old indexand the new index. When the index is rebuilt, the new index becomesavailable, the old index is dropped, and the space is reclaimed by thedatabase. If you encounter any errors while rebuilding the indexes, re-run thestatements. If you require more space to rebuild those specific indexes, addmore storage to your index tablespace, and then try rebuilding those specificindexes again.To run the Oracle DBMS reindex script:1. Create the mmreindex.ora script and copy it locally.2. Edit the script and replace 'MODELMART' with the name of the <strong>CA</strong> <strong>ERwin</strong>MM schema-owner and 'MMINDEX' with the name of the <strong>CA</strong> <strong>ERwin</strong> MMindex tablespace. Save your changes.3. Connect to SQL*PLUS as the user SYS.4. Grant the 'ALTER ANY INDEX' privilege to the <strong>CA</strong> <strong>ERwin</strong> MM SchemaOwner.5. Run your Oracle query tool and execute the following at the SQL prompt:GRANT ALTER ANY INDEX TO ;6. Disconnect user SYS and Connect to your Oracle query tool as the SchemaOwner.7. Execute the following Script at the SQL Prompt,@c:\mmreindex.oraAppendix C: <strong>CA</strong> <strong>ERwin</strong> MM Performance 71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!