Need of catalog and catproc
Hi is it compulsory that we will run catalog.sql or catproc.sql scripts after installing database?or is there any procedure that we can run automatically?
please explain me for 10g version also (if there is any difference in 10g)
thanks in advance.
catalog.sql created all the DBA_, ALL_ and USER_ views that make up the data dictionary. Without them, you'd be stuffed. You wouldn't be able to manage a thing. So, whilst the database is mostly functional without running the script, it's completely unmanageable, which amounts to being totally non-functional, really.
Catproc.sql creates all the packages and procedures that the database needs to be fully functional. Schedule a job with DBMS_JOB or DBMS_SCHEDULER? Well, how do you think DBMS_JOB or DBMS_SCHEDULER got there in the first place? Catproc.sql is how, along with a bazillion other DBMS_this, that or the other. So no, without catproc, you wouldn't have a useful or usable database.
This hasn't changed one bit in 10g. It's been like this for versions going back to at least version 7, and quite possibly long before that.
You don't need to run them yourself, however, if you use the Database Configuration Assistant which has been Oracle's preferred way of creating databases since about version 8.0. The DBCA runs both scripts (and a few others) for you. The progress display reads something like 'Creating Data Dictionary Views' when it's doing it. You can check this for yourself by asking DBCA not to actually create a database but merely to create the scripts which it would normally use to create a database. Those scripts are merely text files, so you can open them up and have a look... and you'll see catalog and catproc both make an appearance there.
Similar Messages
-
Hello Everybody
I am new to Oracle. I have few queries related to Catalog and Catproc.
1)What happens if we run CATALOG and CATAPROC as non SYS user?
2) Can we run CATPROC first then CATALOG? If not then why?
3) What happens if I rerun CATALOG.SQL & CATPROC.SQL?
With Regards947797 wrote:
Hello Everybody
I am new to Oracle. I have few queries related to Catalog and Catproc.
1)What happens if we run CATALOG and CATAPROC as non SYS user? errors
>
2) Can we run CATPROC first then CATALOG? If not then why?
I give up.
Can you?
3) What happens if I rerun CATALOG.SQL & CATPROC.SQL?
Nothing special. -
Hi all,
If I run catalog.sql and catproc.sql in a production database (when application is not accessing db), they will recreate data dictionary, views and recompile packages. But, wiil my data be affected by this?
Regards,
SaikatIf I run catalog.sql and catproc.sql in a production database (when application is not accessing db), they will recreate data dictionary, views and recompile packages. But, wiil my data be affected by this?Refer the foll link:
https://forums.oracle.com/forums/thread.jspa?threadID=2410592
Refer Metalink Doc Id:
*Why do I have to run the CATPROC.SQL PUPBLD.SQL Oracle Scripts ? [ID 1033107.1]*
*Best Practices for running catalog, catproc and utlrp script [ID 863312.1]*
Edited by: Vedant.. on Dec 11, 2012 4:10 PM -
Reexecuting the catalog.sql and catproc.sql
what will happened if we re execute the catalog.sql and catproc.sql on existing running oracle database ? is some thing is distructive or what ?
what will happened if we re execute the catalog.sql and catproc.sql on existing running oracle database ? is some thing is distructive or what ?what's the reason to re-running them? Any errors?
Catalog - creates data dictionary views.
Catproc - create in built PL/SQL Procedures, Packages etc
Dictionary objects might go INVALID and you need to run utlrp.sql to validate them.
No harm in running. But, its time consuming and resource consuming.
HTH
-Anantha -
Help!!!: catalog.sql and catproc.sql damage my db
after running the file my.sql (see below), i encounter some error:
when i try to edit the table data, the following error displayed:
ORA-04045 ... SYS.DBMS_OUTPUT
ORA-06508 ...
ORA-06512 ...
ORA-06508 ...
ORA-06512 ...
then i go to the package SYS.DBMS_OUTPUT, the status is "invalid", i try to recompile it, the following error displayed:
ORA-04045 ... SYS.CDC_ALTER_CTABLE_BEFORE
ORA-06508 ...
ORA-06512 ...
ORA-06508 ...
ORA-06512 ...
my db works well before running the file my.sql. it seems the execution of catalog.sql and catproc.sql cause the error. i am using 9i, and the document histories show that the catalog.sql and catproc.sql are last updated in Apr,2001.
my questions are:
1.with 9i db, do i need to run the two files?
2.how can i recover my db?(i don't have backup, can i use redoXX.log?)
***my.sql***
connect sys/change_on_install@orcl as sysdba
@/opt/oracle/rdbms/admin/catalog.sql
connect sys/change_on_install@orcl as sysdba
CREATE database mydb
@/opt/oracle/rdbms/admin/catproc.sql
***my.sql***how can i get my db work properly just as it was?
what do you mean by "create database script"?
Database configuration assistant allows you to create the database template and then save it as a set of scripts that you
can later customize and run to create the database. If you created your "create database scripts" using this option then
these scripts automatically run the catproc.sql and catalog.sql scripts along with several other scripts.
If you use Database configuration assistant to create such a set of DB creation scripts, than look at the
CreateDBCatalog.sql script, as you can see it runs both the scripts. so, if you do it this way, you do not need to do any
extra steps (apart from your custom scripts that may be part of your post install steps).
A sample of such DB creation script will be as below (for your reference):
===================================================================
connect SYS/change_on_install as SYSDBA
set echo on
spool /home/oracle/Ora9i/assistants/dbca/logs/CreateDBCatalog.log
@/home/oracle/Ora9i/rdbms/admin/catalog.sql;
@/home/oracle/Ora9i/rdbms/admin/catexp7.sql;
@/home/oracle/Ora9i/rdbms/admin/catblock.sql;
@/home/oracle/Ora9i/rdbms/admin/catproc.sql;
@/home/oracle/Ora9i/rdbms/admin/catoctk.sql;
@/home/oracle/Ora9i/rdbms/admin/owminst.plb;
connect SYSTEM/manager
@/home/oracle/Ora9i/sqlplus/admin/pupbld.sql;
connect SYSTEM/manager
set echo on
spool /home/oracle/Ora9i/assistants/dbca/logs/sqlPlusHelp.log
@/home/oracle/Ora9i/sqlplus/admin/help/hlpbld.sql helpus.sql;
spool off
spool off
exit;
=========================================================================== -
I am creating a catalog and need a way to mass import tables from excel into indesign. Any ideas?
Third-party plugins for InDesign can automate the process. Here's a thread from InDesignSecrets.com forums:
http://indesignsecrets.com/topic/plugins-for-automating-catalog-production -
Invalid objects after running catalog.sql and catproc.sql
I have a db 10.1.0.3.0. standard edition with the 10.1.0.4.0 patch installed.
After executing catalog.sql and catproc.sql the database contains lots of invalid objects in the public, olapsys and xdb schemas.
I have executed utlrp.sql, the script completes successfully, but lots of invalid objects remain.
Does anyone know how to fix this?
Thanks in advance.
Below is the output of
select owner, object_name, object_type from dba_objects where status like 'INVALID';
OWNER OBJECT_NAME OBJECT_TYPE
XDB DBMS_XDBUTIL_INT PACKAGE
XDB SETMODFLG PROCEDURE
XDB DBMS_XDBZ0 PACKAGE BODY
XDB DBMS_XDBUTIL_INT PACKAGE BODY
PUBLIC DBMS_XDBUTIL_INT SYNONYM
XDB XDB$PATCHUPSCHEMA PROCEDURE
OLAPSYS ALL$OLAP2_AW_CATALOGS VIEW
PUBLIC ALL_OLAP2_AW_CATALOGS SYNONYM
OLAPSYS ALL$OLAP2_AW_CATALOG_MEASURES VIEW
PUBLIC ALL_OLAP2_AW_CATALOG_MEASURES SYNONYM
OLAPSYS ALL$OLAP2_AW_PHYS_OBJ VIEW
PUBLIC ALL_OLAP2_AW_PHYS_OBJ SYNONYM
OLAPSYS ALL$OLAP2_AW_PHYS_OBJ_PROP VIEW
PUBLIC ALL_OLAP2_AW_PHYS_OBJ_PROP SYNONYM
OLAPSYS ALL$OLAP2_AW_DIMENSIONS VIEW
PUBLIC ALL_OLAP2_AW_DIMENSIONS SYNONYM
OLAPSYS ALL$OLAP2_AW_ATTRIBUTES VIEW
PUBLIC ALL_OLAP2_AW_ATTRIBUTES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBES VIEW
PUBLIC ALL_OLAP2_AW_CUBES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_DIM_USES VIEW
PUBLIC ALL_OLAP2_AW_CUBE_DIM_USES SYNONYM
OLAPSYS ALL$AW_DIM_ENABLED_VIEWS VIEW
PUBLIC ALL_AW_DIM_ENABLED_VIEWS SYNONYM
OLAPSYS ALL$AW_CUBE_ENABLED_VIEWS VIEW
PUBLIC ALL_AW_CUBE_ENABLED_VIEWS SYNONYM
OLAPSYS ALL$AW_CUBE_ENABLED_HIERCOMBO VIEW
PUBLIC ALL_AW_CUBE_ENABLED_HIERCOMBO SYNONYM
OLAPSYS ALL$OLAP2_AW_DIM_LEVELS VIEW
PUBLIC ALL_OLAP2_AW_DIM_LEVELS SYNONYM
OLAPSYS ALL$OLAP2_AW_DIM_HIER_LVL_ORD VIEW
PUBLIC ALL_OLAP2_AW_DIM_HIER_LVL_ORD SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_MEASURES VIEW
PUBLIC ALL_OLAP2_AW_CUBE_MEASURES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_SPECS VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_SPECS SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_MEAS VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_MEAS SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_LVL VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_LVL SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_OP VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_OP SYNONYM
OLAPSYS MRAC_OLAP2_AW_DIMENSIONS_V VIEW
OLAPSYS MRAC_OLAP2_AW_CUBES_V VIEW
OLAPSYS MRAC_OLAP2_AW_CUBE_MEASURES_V VIEW
PUBLIC MRV_OLAP2_AW_DIMENSIONS SYNONYM
PUBLIC MRV_OLAP2_AW_CUBES SYNONYM
PUBLIC MRV_OLAP2_AW_CUBE_MEASURES SYNONYM
OLAPSYS CWM2_OLAP_METADATA_REFRESH PACKAGE BODY
OLAPSYS OLAP_SYS_AW_ACCESS_DIM_VIEW VIEW
OLAPSYS OLAP_SYS_AW_ACCESS_CUBE_VIEW VIEW
OLAPSYS OLAP_SYS_AW_ENABLE_ACCESS_VIEW VIEW
PUBLIC OLAP_SYS_AW_ACCESS_CUBE_VIEW SYNONYM
PUBLIC OLAP_SYS_AW_ACCESS_DIM_VIEW SYNONYM
PUBLIC OLAP_SYS_AW_ENABLE_ACCESS_VIEW SYNONYM
OLAPSYS CWM2_OLAP_OLAPAPI_ENABLE PACKAGE BODY
OLAPSYS DBMS_AWM PACKAGE BODY
OLAPSYS CWM2_OLAP_CUBE PACKAGE BODYThis note explains 80% of the problem: 42 invalid objects are normal, I have 52 invalid objects.
I have re-executed the catpatch.sql script, I couldn't find any errors in the output. At the end Oracle Intermedia and Oracle Expression Filter remain invalid.
last lines of catpatch.sql output:
COMP_NAME STATUS VERSION
OLAP Analytic Workspace OPTION OFF 10.1.0.3.0
Oracle OLAP API OPTION OFF 10.1.0.3.0
Oracle Database Catalog Views VALID 10.1.0.4.0
Oracle Database Packages and Types VALID 10.1.0.4.0
JServer JAVA Virtual Machine VALID 10.1.0.4.0
Oracle XDK VALID 10.1.0.4.0
Oracle Database Java Packages VALID 10.1.0.4.0
Oracle XML Database VALID 10.1.0.4.0
Oracle interMedia INVALID 10.1.0.4.0
Oracle Text VALID 10.1.0.4.0
Oracle Ultra Search VALID 10.1.0.4.0
Oracle Expression Filter INVALID 10.1.0.4.0
Oracle Enterprise Manager VALID 10.1.0.4.0
Oracle Workspace Manager VALID 10.1.0.2.0
Oracle Data Mining OPTION OFF 10.1.0.3.0
OLAP Catalog OPTION OFF 10.1.0.3.0
Spatial OPTION OFF 10.1.0.3.0
SQL> select owner, object_name, object_type from dba_objects where status like 'INVALID';
OWNER OBJECT_NAME OBJECT_TYPE
WK_TEST BIN$9oUB6zbaOP/gMCzPA4J5+w==$0 TRIGGER
OLAPSYS ALL$OLAP2_AW_CATALOGS VIEW
PUBLIC ALL_OLAP2_AW_CATALOGS SYNONYM
OLAPSYS ALL$OLAP2_AW_CATALOG_MEASURES VIEW
PUBLIC ALL_OLAP2_AW_CATALOG_MEASURES SYNONYM
OLAPSYS ALL$OLAP2_AW_PHYS_OBJ VIEW
PUBLIC ALL_OLAP2_AW_PHYS_OBJ SYNONYM
OLAPSYS ALL$OLAP2_AW_PHYS_OBJ_PROP VIEW
PUBLIC ALL_OLAP2_AW_PHYS_OBJ_PROP SYNONYM
OLAPSYS ALL$OLAP2_AW_DIMENSIONS VIEW
PUBLIC ALL_OLAP2_AW_DIMENSIONS SYNONYM
OLAPSYS ALL$OLAP2_AW_ATTRIBUTES VIEW
PUBLIC ALL_OLAP2_AW_ATTRIBUTES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBES VIEW
PUBLIC ALL_OLAP2_AW_CUBES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_DIM_USES VIEW
PUBLIC ALL_OLAP2_AW_CUBE_DIM_USES SYNONYM
OLAPSYS ALL$AW_DIM_ENABLED_VIEWS VIEW
PUBLIC ALL_AW_DIM_ENABLED_VIEWS SYNONYM
OLAPSYS ALL$AW_CUBE_ENABLED_VIEWS VIEW
PUBLIC ALL_AW_CUBE_ENABLED_VIEWS SYNONYM
OLAPSYS ALL$AW_CUBE_ENABLED_HIERCOMBO VIEW
PUBLIC ALL_AW_CUBE_ENABLED_HIERCOMBO SYNONYM
OLAPSYS ALL$OLAP2_AW_DIM_LEVELS VIEW
PUBLIC ALL_OLAP2_AW_DIM_LEVELS SYNONYM
OLAPSYS ALL$OLAP2_AW_DIM_HIER_LVL_ORD VIEW
PUBLIC ALL_OLAP2_AW_DIM_HIER_LVL_ORD SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_MEASURES VIEW
PUBLIC ALL_OLAP2_AW_CUBE_MEASURES SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_SPECS VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_SPECS SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_MEAS VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_MEAS SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_LVL VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_LVL SYNONYM
OLAPSYS ALL$OLAP2_AW_CUBE_AGG_OP VIEW
PUBLIC ALL_OLAP2_AW_CUBE_AGG_OP SYNONYM
OLAPSYS MRAC_OLAP2_AW_DIMENSIONS_V VIEW
OLAPSYS MRAC_OLAP2_AW_CUBES_V VIEW
OLAPSYS MRAC_OLAP2_AW_CUBE_MEASURES_V VIEW
PUBLIC MRV_OLAP2_AW_DIMENSIONS SYNONYM
PUBLIC MRV_OLAP2_AW_CUBES SYNONYM
PUBLIC MRV_OLAP2_AW_CUBE_MEASURES SYNONYM
OLAPSYS CWM2_OLAP_METADATA_REFRESH PACKAGE BODY
OLAPSYS OLAP_SYS_AW_ACCESS_DIM_VIEW VIEW
OLAPSYS OLAP_SYS_AW_ACCESS_CUBE_VIEW VIEW
OLAPSYS OLAP_SYS_AW_ENABLE_ACCESS_VIEW VIEW
PUBLIC OLAP_SYS_AW_ACCESS_CUBE_VIEW SYNONYM
PUBLIC OLAP_SYS_AW_ACCESS_DIM_VIEW SYNONYM
PUBLIC OLAP_SYS_AW_ENABLE_ACCESS_VIEW SYNONYM
OLAPSYS CWM2_OLAP_OLAPAPI_ENABLE PACKAGE BODY
OLAPSYS DBMS_AWM PACKAGE BODY
OLAPSYS CWM2_OLAP_CUBE PACKAGE BODY
53 rows selected. -
Run catalog.sql and catproc.sql?
Hi,
Does the install procedure for Oracle 9i Release 2 run catalog.sql and catproc.sql? Or should they be run manually after install? Thanks for the help.
rmc.If I run catalog.sql and catproc.sql in a production database (when application is not accessing db), they will recreate data dictionary, views and recompile packages. But, wiil my data be affected by this?Refer the foll link:
https://forums.oracle.com/forums/thread.jspa?threadID=2410592
Refer Metalink Doc Id:
*Why do I have to run the CATPROC.SQL PUPBLD.SQL Oracle Scripts ? [ID 1033107.1]*
*Best Practices for running catalog, catproc and utlrp script [ID 863312.1]*
Edited by: Vedant.. on Dec 11, 2012 4:10 PM -
Creating database without running the catalog.sql and catproc.sql script
Hi
I created tow databse without running catalog.sql and catproc.sql. Any one knows what is the drawback of not running them?
BR.I created tow databse without running catalog.sql and catproc.sql. Any one knows what is the drawback of not running them?Functionality & capabilities will be severely limited.
-
I need to reinstall my LR4 software. How will this affect my catalogs and plugins?
I need to reinstall my LR4 software. How will this affect my catalogs and plugins?
Explain further: "lost the ability to turn on control points to readjust levels on the wand"
Are you referring to the Adjustment Brush tool? Or something else?
Are you stating that you cannot see the pin (is that what you mean by "control points"?) at all (if so, then press letter H) or are you stating that pressing H doesn't work? Or something else? -
I keep receiving this error every time I open LR, "Lightroom encountered and error when reading from its preview cache and needs to quit" and the app won't open. It said LR would try and fix this error next time I opened it but the error remains. I tried uninstalled and installing the app and the error remains. I have windows 8. Can anyone please help???
Use Windows Explorer to open the folder containing your catalog. The normal location is Pictures\Lightroom. Locate a folder with the extension .lrdata and delete that folder. Then you should be able to start Lightroom again, and Lightroom will begin building and new previews folder. Do not delete anything else.
-
Every time I open lightroom I get a pop up message saying "Lightroom encountered an error when reading from its preview cache and needs to quit" and it closes. Ive already tried reinstalling, nothing seems to work. Help please!
Open the folder containing your catalog. In that folder you will find another folder with the extension .lrdata, and you need to delete that folder. After you do that, Lightroom should start normally and will create a new preview cache.
-
I imported different trips to different catalogs on different external hard drives. Later renamed external HDs. I want to combine catalogs and have my source (NEF) files all together on one drive. I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog? Will the new (Master catalog) have the correct link to the source file? If not, how or can this be done?
I have tried to explain my situation as clearly as I can. Do you understand my situation?
This maybe something you don’t have time to help me with. If not can you suggest somewhere I can get an answer? I really need help. PLEEEZZZ HELP ME.
Bruce Schuerman
Norman, OK
405_514-4875 (call collect)
[email protected]I imported different trips to different catalogs on different external hard drives. Later renamed external HDs. I want to combine catalogs and have my source (NEF) files all together on one drive. I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog? Will the new (Master catalog) have the correct link to the source file? If not, how or can this be done?
I have tried to explain my situation as clearly as I can. Do you understand my situation?
This maybe something you don’t have time to help me with. If not can you suggest somewhere I can get an answer? I really need help. PLEEEZZZ HELP ME.
Bruce Schuerman
Norman, OK
405_514-4875 (call collect)
[email protected] -
I imported different trips to different catalogs on different external hard drives. Later renamed external HDs. I want to combine catalogs and have my source (NEF) files all together on one drive. I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog? Will the new (Master catalog) have the correct link to the source file? If not, how or can this be done?
I have tried to explain my situation as clearly as I can. Do you understand my situation?
This maybe something you don’t have time to help me with. If not can you suggest somewhere I can get an answer? I really need help. PLEEEZZZ HELP ME.
Bruce Schuerman
Norman, OK
405_514-4875 (call collect)
[email protected]Is there any solution (other than buying
I really think 'buying' is the best solution on this one. Ideally, you would have at least five internal hard drives.
System
Projects
Cache/Scratch
Media
Exports
Use externals and network drive only for backup. -
Hi,
I have a MacBook Pro and I also have a Wacom Cintiq companion and I would like to be able to edit my pictures on both the computers. I prefer using my mac but sometimes, when I need to be more precise with my editing, I like to use my Wacom Cintiq companion. I followed the steps to install my catalog and pictures on an external hard drive, then added the ''Folder'' of pictures in both computers but the problem I have is that since a PC and a Mac doesn't read the hard drive ''root'' the same way, it creates a second folder on my mac that I can't have access and I am not able to edit pictures on one computer and keep them on the other computer.
Can someone help me??
Here is an exemple of what I get ...Contact the Apple account security team for your country and request assistance: Apple ID: Contacting Apple for help with Apple ID account security. If you can prove your identity to them, they can reset the password and help you regain control of the account.
Maybe you are looking for
-
How to remove credit card details in itune
how to remove credit card details from my account when i puchased app from the istore?
-
Pages 5.1 won't let me open any of my documents
When I try to open any document in Pages 5.1, it says I need a newer version of pages to open it, even if I created the document in Pages 5.1. When I go to the App store, it says Pages 5.1 is installed. How can I open my documents?
-
Pretty old setup, 785GM-E51, I have an odd issue (BIOS related?)
Hello, I'll just get to the point. I have an issue, where If I start up my pc normally, just push the button and let it boot, it will 100% of the time fail, either by BSODing randomly in windows or my programs start crashing and I'll just have to do
-
My display looks over exposed so anything against a white background is almost invisible i have gone to system preferences and configured the colors but it still looks over exposed. can anyone help me?
-
How do i change the orientation of my i pad...every thing seems to be set for the verticle position...more so now that i downloaded the new ios