Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running catalog takes time as script

Status
Not open for further replies.

snayak

IS-IT--Management
Nov 20, 2002
23
Hi ,

Just wondering has anyone come across when catalog is run within the create database as a script takes around 5hours whereas running directly from sqlplus takes just 10min. Please help.

For eg : Create a script a.sh wherein has

Create database .......

@catalog.sql.......

Takes time

Whereas sql> @catalog.sql takes just 10min.


Thanks,
With regards
 
Why do you think that only this script takes all the time? I suppose that it's foolowed by not very efficient procedure recompiling invalid objects.

Regards, Dima
 
Hi Dima,

Thanks for the response. I feel that way as when I remove the create database command from there & run only the catalog from the script its slow

Thanks,
With regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top