Catproc.SQL and Catalog.sql run by mistake in the production database while the database is running.

Hello

DB version: 10.2.0.4.0 cluster db. EA

Version of the OS: Win server 2008

by mistake one of our dba ran CATPROC.sql and CATALOG.sql scripts in our live production rac database.

After that issues rose and developers face invalid objects. We erased our users manually main invalid objects and it looks like everything is working well for the moment.

BUT when I checked object invalid status, he showed me some 600 disabled objects. I'm afraid in the future will come from unacceptable errors.

What should do? any suggestions? are we in danger? What are workarounds.

Thank you

You must connect a SR with Oracle's Support.

Hemant K Collette

Tags: Database

Similar Questions

  • Messages deleted by mistake from the iPhone, but still on iPad.

    I have an iPhone 5 and iPad who synchronized Messages and.  I made a mistake of the user and delete the SMS to the person on my iPhone, but are always on messages have not updated and the conversation is always on my iPad.  Is there a way to get the messages that appear on my iPad on my iPhone?  I tried to restore the iPhone with the iPad, but it doesn't work.  I was able to remove the messages from my iPad and keep them.  If the world is a perfect place, I want to be able to "transfer" the messages lost from my iPad to my iPhone.  Everything would then as I want.  Is this possible?  If so, what should I do?

    That's what the iCloud or iTunes backup is for.

    If you are backing up on a regular basis and that the message has been included in this backup, and then you restore your phone from this backup.

    If you do not have a backup, so that the message has disappeared and you can only access it from your iPad.

  • Files catproc. SQL and catalog.sql

    I am using oracle 10g recently that I managed two files catproc.sql and catalog files by connecting to sys

    After running these files in sys when I select


    Select * from tab;

    no lines have been returned
    (1) these files will show any eeect on database
    (2) to Toad when I connect to the Toad for data base is to show all the user sys tables
    will there be an effect of the execution of these files

    After running these scripts, you will need to create spfile from pfile and the startup pfile from this file file

    is incorrect. Catproc.sql and Catalog.SQL don't change the values of instance parameter. The instance parameter files are useless to be recreated.

    Hemant K Collette

  • Creation of database without executing the script catproc.sql and catalog.sql

    Hello

    I created the database of towing without running catalog.sql and catproc.sql. Someone knows what's the downside to not run them?

    ARM

    You can run them at any time, and Yes, you must be connected as sysdba. In fact, it's in the scripts generated dbca.

    ----------------
    Sybrand Bakker
    Senior Oracle DBA

  • Rename tables and columns in sql running that accessing these columns in the table.

    Hello

    Using oracle 11.2.0.3

    We want to rename columns, tables and work just a sql scripts for this.

    If sqls who have access to those running long tables/columns for example reports what is happening

    Existing sql running, will work perfectly in that picked up sql before table/colum rename or will they crash if tables/columns renamed during them.

    scripts wil take a few seconds to run maximum

    Thank you

    The only other activity that would go on select is against these tables/columns. No etl isnert/update/delete etc wil, which happened during the name change.

    Only possible activities are report instructions srunning select.

    Tried to run a long selection and rename that select while that was going on and got no error on the test system.

    This is because certain statements does not place locks on tables or lines, so even if a session is reading data, another session can make some ddl (or dml) manipulation.

    In this situation (with only selects, no other dml queries), renaming can be done, but the question remains, what the application code?

    If it refers to old column names after name change operation, is no good.

  • Developer SQL 4.1.2.20 Build HAND-20, 64: cannot drag-and - drop in editor files include "#" in the name or the path

    Developer SQL 4.1.2.20 Build HAND-20, 64: I am not able to drag-and - drop a file from Windows Explorer into the SQL Developer Editor window if the name of the file or the path includes sharp «#» Unfortunately, my main directory structure contains a ' # ' in one parent folder names and I use drag-and - drop all the time... it is, I used to. :-)

    I am running Windows 7 Enterprise 64-bit with Service Pack 1

    It wasn't a problem in the previous version of SQL Developer 4.1.1.19 build HAND - 19.59.

    Thanks to study deeply and providing a repeatable test. It is a very strange edge cases.  Particularly interesting is...

    This same issue exists for JDeveloper Studio Edition Version 12.2.1.0.0

    After my tests in SQL Developer 4.1.2 the question seems to be, that say you, trying to open any file (I tried sql, xml, and pkb types) by drag-and - drop from Explorer Windows to a publisher of target opened on a XML file with a symbol of hash somewhere in the specification of the file it is.

    First of all, as a solution, I thought that I could recommend that you drag-and - drop since our view > files browser rather than Windows Explorer.  Which avoids the question and even you will descend on the Start Page tab, any worksheet or another editor must be opened before hand. However, there is a completely different problem with that: try to close the last tab of the XML Editor open blocking the entirety of the product.

    As you do not declare it against a release of the Early Adopter, where our team connect the bug, the standard procedure is so that you can open a service request with the support of the Oracle. My research did not turn any latest bug as this connected against SQL Developer or JDeveloper.

    Edit: In fact, just double click instead of using drag-and - drop from view > files avoids questions, name incorrect both hang at the end.

  • When utlpwdmg.sql runs?

    Issues related to the:

    1. when utlpwdmg.sql run? (Other than when a DBA running it manually)

    -When a user changes his own PWD?

    -What is when a DBA change PWD of a users?

    -When a user has a profile assigned a password check signs in function?

    -Sometimes?

    2. can you put password several functions in utlpwdmg.sql to check and apply different functions for different profiles? If so, only this function runs when a user tries to change their PWD?

    3. that is in it altered statements placed at the bottom of utlpwdmg.sql to modify the implementation of password in dba_profiles. When those work?

    If there is a manual that describes all this well, I will happily read. I can't find this information anywhere.

    Thank you

    David

    ponderdj wrote:

    Thank you rp0428 and thank you all for being so kind and patient with me to answer MY questions despite MY confusion.

    So, if you'll notice in my last response I reference utlpwdmg.sql all more. It is was explained to me that this is just an example of script and that is all. I'm sure that you can customize and run save functions that is held at the breast.

    Since it is a script provided by oracle, I would be opposed to personalization.  Instead, I (and have) create my own.  There is nothing magical about the name "utlpwdmg.sql".

    but it doesn't matter. I would like to ask a few other questions that have not been answered, then. I see that the example of utlpwdmg.sql function starts with 'CREATE function OR REPLACE... ", so:

    1. When a password already created and assigned check function is called, where it runs since then? (He of course did not form in utlpwdmg.sql, that I had been thinking about before) Is the function which is held in a different file, which is held in a table somewhere, loaded into a global variable or kept in memory differently?

    He occupied the same place any defined function is required.  When the CREATE FUNCTION statement is executed, the function is compiled and the compiled code stored in internal oracle structures.  When the function is called (in this case, as part of the code that changes the password), it is loaded in the shared pool for execution.

    1. If I inherit a DB of someone else and you want to inspect the password assigned currently check the operation, how can I get it?

      1. I'm assuming step 1 inspect the dba_profiles.limit WHERE the dba_profiles.resource_name AS 'password_verify_function '. This will give me the name of the function currently enforced, correct?

    SQL > select profile, resource_name, limit

    2 of dba_profiles

    3 where resource_name = "PASSWORD_VERIFY_FUNCTION";

    1. Now that I have the name of the function that is currently enforced, how can I get its content for inspection?

    SELECT DBMS_METADATA. GET_DDL('FUNCTION','MYPWFUNC','SYS') FROM dual;

    Thanks again,

    David

    Another concept, you need to keep in mind is that there is nothing inherently specific about these "password check functions".  Note that in the CREATE FUNCTION statement in the sample, it is simply CREATE FUNCTION.  It is not CHECK FUNCTION to CREATE of the PASSWORDS.  Point you create the function, it's just a function.  Fundamentally not different than any other function, you can create.  Oracle does not care what you are intending that it be used for.  And the PASSWORD_VERIFY_FUNCTION of the profile property named simply no matter what function you want to be called when a password is changed or created.  In the end, this feature must really do anything at all with a password.  Oracle does not really.  Of course, it is not sensible for this function to anything other that verify that a password respects the rules of the company, but at the level of the database, Oracle is not really give a flying figure.

    I would suggest that you spend a good time with the manual of Concepts to content

  • When I run the "@ddl_setup.sql" on a node of the 11gr2rac getting errors

    I want to open DDL replicate of the source node, so I run

    SQL > @marker_setup

    Marker setup script

    You will be asked the name of a schema for Oracle GoldenGate database objects.

    NOTE: The schema must be created before running this script.

    NOTE: Stop all replication DDL before starting this installation.

    Enter the Oracle GoldenGate name schema: ogg

    Table marker installation script is completed, run the script to check...

    Please enter the name of a schema for GoldenGate database objects:

    Name of schema setting for OGG

    MARKER TABLE

    -------------------------------

    Ok

    SEQUENCE MARKER

    -------------------------------

    Ok

    When I run the "@ddl_setup.sql" on a node of the 11gr2rac getting errors

    SQL > @ddl_setup.sql

    Configure Oracle GoldenGate DDL replication script

    Verify that the current user has privileges to install the DDL replication...

    You will be asked the name of a schema for Oracle GoldenGate database objects.

    NOTE: For a source of Oracle 10 g, the basket of the system must be disabled. For Oracle 11 g and later, it can be activated.

    NOTE: The schema must be created before running this script.

    NOTE: Stop all replication DDL before starting this installation.

    Enter the Oracle GoldenGate name schema: ogg

    Working, please wait...

    Line to the ddl_setup_spool.txt file

    Checking the sessions that hold locks on the tables of metadata Oracle Golden Gate...

    Full version.

    Using OGG as Oracle GoldenGate scheme a name.

    Working, please wait...

    Script of DDL replication configuration has completed, run the script to check...

    Please enter the name of a schema for GoldenGate database objects:

    Name of schema setting for OGG

    CLEAR_TRACE STATUS:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    No error no error

    CREATE_TRACE STATUS:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    No error no error

    TRACE_PUT_LINE STATUS:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    No error no error

    INITIAL_SETUP STATUS:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    No error no error

    STATUS OF THE DDLVERSIONSPECIFIC PACKAGE:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    No error no error

    STATUS OF THE DDLREPLICATION PACKAGE:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    No error no error

    DDLREPLICATION STATE OF PACKAGE BODY:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    1453/9 PL/SQL: statement ignored

    1455/23 PL/SQL: ORA-00942: table or view does not exist

    1464/9 PL/SQL: statement ignored

    1466/23 PL/SQL: ORA-00942: table or view does not exist

    1478/9 PL/SQL: statement ignored

    1480/23 PL/SQL: ORA-00942: table or view does not exist

    1485/9 PL/SQL: statement ignored

    1487/23 PL/SQL: ORA-00942: table or view does not exist

    1492/9 PL/SQL: statement ignored

    1494/23 PL/SQL: ORA-00942: table or view does not exist

    1499/9 PL/SQL: statement ignored

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    1501/23 PL/SQL: ORA-00942: table or view does not exist

    1581/4 PL/SQL: statement ignored

    1582/18-PL/SQL: ORA-00942: table or view does not exist

    1584/4 PL/SQL: statement ignored

    1585/18-PL/SQL: ORA-00942: table or view does not exist

    1600/25 PL/SQL: ORA-00942: table or view does not exist

    1600/4 PL/SQL: statement ignored

    1602/25 PL/SQL: ORA-00942: table or view does not exist

    1602/4 PL/SQL: statement ignored

    DDL IGNORE TABLE

    -----------------------------------

    FAILURE: The Table does not exist

    DDL IGNORED THE JOURNAL TABLE

    -----------------------------------

    FAILURE: The Table does not exist

    STATUS OF THE DDLAUX PACKAGE:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    No error no error

    DDLAUX STATE OF PACKAGE BODY:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    0/0 PL/SQL: analysis of completed Compilation unit

    1/21 PLS-00304: impossible to compile a body of 'DDLAUX' without sound

    specification of the

    1/21 PLS-00905: OGG object. DDLAUX is not valid

    SYS. STATUS OF THE DDLCTXINFO PACKAGE:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    No error no error

    SYS. DDLCTXINFO STATE OF PACKAGE BODY:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    No error no error

    DDL HISTORY TABLE

    -----------------------------------

    FAILURE: The Table does not exist

    DDL HISTORY TABLE (1)

    -----------------------------------

    FAILURE: The Table does not exist

    DUMP DOF TABLES

    -----------------------------------

    FAILURE: The Table does not exist

    COLUMNS OF DUMP DDL

    -----------------------------------

    FAILURE: The Table does not exist

    GROUPS OF LOG DUMP DDL

    -----------------------------------

    FAILURE: The Table does not exist

    SCORES OF DUMP DDL

    -----------------------------------

    FAILURE: The Table does not exist

    DDL DUMP KEY PRIMARIES

    -----------------------------------

    FAILURE: The Table does not exist

    SEQUENCE OF the DDL

    -----------------------------------

    FAILURE: The sequence does not exist

    GGS_TEMP_COLS

    -----------------------------------

    FAILURE: The Table does not exist

    GGS_TEMP_UK

    -----------------------------------

    FAILURE: The Table does not exist

    STATE OF THE DDL TRIGGER CODE:

    Error on line/pos

    -------------------- -----------------------------------------------------------------

    126/9 PL/SQL: statement ignored

    128/23 PL/SQL: ORA-00942: table or view does not exist

    133/21 PL/SQL: ORA-02289: sequence does not exist

    133/5 PL/SQL: statement ignored

    657/14 PLS-00905: OGG object. DDLAUX is not valid

    657/5 PL/SQL: statement ignored

    919/25 PL/SQL: ORA-00942: table or view does not exist

    919/4 PL/SQL: statement ignored

    DDL TRIGGER SYSTEM STATUS

    -----------------------------------

    Ok

    STATUS OF RACE DDL TRIGGER

    ----------------------------------------------------------------------

    ACTIVE

    OF "OGG". "" GGS_SETUP ".

    *

    ERROR on line 2:

    ORA-00942: table or view does not exist

    OF "OGG". "" GGS_SETUP ".

    *

    ERROR on line 2:

    ORA-00942: table or view does not exist

    OF "OGG". "" GGS_SETUP ".

    *

    ERROR on line 2:

    ORA-00942: table or view does not exist

    LOCATION OF THE TRACE OF DDL FILE

    ------------------------------------------------------------------------------------------------------------------------

    /Home/data/app/Oracle/diag/RDBMS/AppStore/appstore2/trace/ggs_ddl_trace.log

    Analyze the status of the installation...

    THE STATE OF REPLICATION DDL

    ------------------------------------------------------------------------------------------------------------------------

    ERRORS in the installation of software components of DDL replication (6)

    Complete script.

    I had been struggling with the same problem for 2 days. You run the script as sysdba, how do you get the error then insufficient? I did my first test GG in February. I've been on 11.2.0.3 + patch January + patch for the integrated capture. It has worked well for me. I went back to my GG test week with 11.2.0.3 + patch of July last and ran into the same problem. The solution for me was the last version of GG. See my previous post for the patch numbers.

    Post edited by: ursusca

  • SQL running slow

    Hi experts,

    Suite sql running slow (average time elapsed 18 seconds), for me to ok research execution plan

    do you see problems in the execution plan, all wy we can leaving under sql


    Hash value of plan: 1838138027

    ---------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ---------------------------------------------------------------------------------------------------------------
    | 0 | UPDATE STATEMENT. 22 (100) |

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | 1. UPDATE | EXTERNAL_ID_ACCT_MAP |
    | 2. TABLE ACCESS BY INDEX ROWID | EXTERNAL_ID_ACCT_MAP | 258. 7224 | 22 (0) | 00:00:01 |
    | 3. INDEX RANGE SCAN | EXTRNL_D_CCT_MP_XCST_CCT_MP_KY | 258. 1 (0) | 00:00:01 |
    ---------------------------------------------------------------------------------------------------------------



    Thank you
    REDA

    Published by: 956212 on August 31, 2012 16:57

    Published by: 956212 on August 31, 2012 16:57

    See [url https://forums.oracle.com/forums/thread.jspa?threadID=863295] how do I post a sql tuning request.

    do you see problems in the execution plan, all wy we can leaving under sql

    Please also provide the SQL section and predicates as well--that may indicate problems such as implicit data type conversion.

    Bottom line - if the estimates in the SQL statement are reasonably correct, there is a very good chance that it is a good plan (given indices and the available paths).
    See http://www.centrexcc.com/Tuning%20by%20Cardinality%20Feedback.pdf

  • Forms 10 g where SQLs run?

    In Oracle Forms 10g it is Java Applet above which our Application is running. Now, suppose we have a button and we execute a SQL to get a column value.

    Now where the fire SQL?

    It fires in the Applet (i.e., customer) or it go on the App and then run?

    Hello

    Between the Application and the database server. The Applet is responsible for rendering only. No SQL – PL/SQL on the Client computer.

    François

  • When SQL running last time

    Hello

    I want to see what SQL data was last run.
    I tried to get this info from last_active_time v$ sql but I don't have (the Shared pool could have flushed out)
    Y at - it another way to get this in 10G.can that we get from the Hist. tables If so, how? Please help me

    Thank you
    Pramod

    Pramod.

    What I mean was not the SQL_EXEC_START column, but as tip.
    (It's just a thing, not at all perfect information)

    select min(sample_time)
    from dba_hist_active_sess_history
    where
      sql_id = ''
      and snap_id between  and 
    ;
    

    But only 1/10 of the history of the current session in memory is stored on the disk, so you should have a chance to meet your requirement.

    The amout of the session active history data flushed to the drive is controlled by the following parameters.

    UKJA@ukja102> @para ash_disk
    UKJA@ukja102> set echo off
    old   9: and i.ksppinm like '%&1%'
    new   9: and i.ksppinm like '%ash_disk%'
    
    NAME                           VALUE                IS_DEFAUL SES_MODIFI
    ------------------------------ -------------------- --------- ----------
    SYS_MODIFI
    ----------
    DESCRIPTION
    --------------------------------------------------------------------------------
    _ash_disk_write_enable         TRUE                 TRUE      false
    immediate
    To enable or disable Active Session History flushing
    
    _ash_disk_filter_ratio         10                   TRUE      false
    immediate
    Ratio of the number of in-memory samples to the number of samples actually writt
    en to disk
    

    ==================================
    Dion Cho - Oracle Performance storyteller

    http://dioncho.WordPress.com (English)
    http://ukja.tistory.com (Korean)
    http://dioncho.blogspot.com (Japanese)
    ==================================

  • I'm unable to access my LR5.7 of my recent holiday catalog. I am running Windows 7 (64-bit) and recently installed and then uninstalled DxO Optics Pro. The error message says it "cannot open another application already has its opening.» Leave the

    I'm unable to access my LR5.7 of my recent holiday catalog. I am running Windows 7 (64-bit) and recently installed and then uninstalled DxO Optics Pro. The error message says it "cannot open another application already has its opening.» Leave the other copy of Lightroom before trying to launch' the problem is, that I can see a copy of the open LR5 and cannot locate the "." lrcat.lock"the specific catalog I want to open the file. I tried to re-boot my computer, but it did not work.

    Thanks Geoff. I was finally able to locate the "." lrcat.lock' of the relevant folder to the catalog I want to open. Once I deleted it, LR5 was able to access my images. Problem solved. Thank you

  • MSCOBJCL.sql runs for a long time everything by applying the patch 6678700 for 12.1.1 upgrade

    DB: 11.2.0.3.0

    OS: IBM AIX 64 bit 6.1 power system

    Hi all

    MSCOBJCL.sql runs for time while using a patch 6678700 12.1.1 put level. We are the upgrade of 11.5.10.2.0 to 12.1.1

    Could someone please share why the script takes so long to run?

    Thanks for your time

    Best regards, a1_win

    Thanks Asif

  • SQL script files to recreate the SYS objects in Oracle 9i

    Hi all.

    I work with an Oracle database test missing some SYS objects. (Oracle 9i).
    I was wondering if Oracle has all the scripts that I can run and re-create those?

    Thank you

    Sonya

    Hello;

    If you run scripts:

    $ORACLE_HOME/rdbms/admin/catalog.sql
    $ORACLE_HOME/rdbms/admin/catproc.sql

    You can create views of SYS

    Best regards

    mseberg

  • How to install utilities PL/SQL Developer SQL v1.6.0 in the database

    in fact I'm looking

    HTTP_UTIL_PKG

    CSV_UTIL_PKG

    to download excel file in Oracle 11 g r2 11.2.0.1.0 feature

    Downloaded from https://code.google.com/p/plsql-utils/downloads/detail?name=plsql-utils-v160.zip & can = 2 & q =

    How to install utilities PL/SQL Developer SQL v1.6.0 in the database

    If we install in sys or particular schema in which I need to use

    and how to run the script

    ReemaPuri wrote:

    in fact I'm looking

    HTTP_UTIL_PKG

    CSV_UTIL_PKG

    to download excel file in Oracle 11 g r2 11.2.0.1.0 feature

    Downloaded from https://code.google.com/p/plsql-utils/downloads/detail?name=plsql-utils-v160.zip&can=2&q=

    then download the zip file and then extract the contents

    Both are contained in it.

    Then add them to the schema of your choice.

Maybe you are looking for