SYS schema blows up

Hello all,
Just wondering, where should I take a look to figure out, why SYS schema grows WILDLY in my sight... It was 8G on Apr 9, yesterday it became 11G, today in the morning it was 17G and after 3 hours it became 18G...
SYSTEM tbs doesn't increases... I cannot understand, where the segments that belong to SYS and make it so bog go..
Please, tell me where to look and chek, what the heck is going on and is coercing SYS schema to grow...
Thanks a lot,
M.

Workload Repository also drops older partitions as it creates new ones.
By default, it maintains 7 days data.
You should query DBA_SEGMENTS to get the total sizes
SELECT TABLESPACE_NAME, SEGMENT_TYPE, SUM(BYTES)/1048576 Total_MB
FROM DBA_SEGMENTS
WHERE OWNER='SYS'
GROUP BY TABLESPACE_NAME, SEGMENT_TYPE
ORDER BY 1,2
/

Similar Messages

  • Java error while trying download jar file into SYS Schema

    Hi,
    I am trying to use UTL_DBWS package for Consuming Web Services in Oracle 10.2.0.4
    I donwloaded latest copy of the dbwsclient.jar file from the below link.
    http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html
    I chose the below option for downloading the jar file since i use 10.2.0.4 oracle version.
    10.1.3.1 Callout Utility for 10g and 11g RDBMS (ZIP, ~13MB)
    I tried to download the jar file into SYS schema using the below command.
    loadjava -u sys/password -r -v -f -genmissing -s -grant public D:\oracle\Product\10.2.0\DB_1\sqlj\lib\dbwsclientws.jar D:\oracle\Product\10.2.0\DB_1\sqlj\lib\dbwsclientdb102.jar
    But i keep getting the below error.
    class oracle/security/wss/interceptors/ClientSecurityDescriptor: resolution
    existing : Failures occurred during processing
    Can you please advice how do i resolve this error.
    Regards,
    MSP

    I suspect that there is more to the error message than what you are reporting.
    If so please post the entire message.

  • Jdbc driver in non-SYS schema

    Hello,
    I want to use another JDBC driver because the driver that Aurora uses is fault while I'm connecting to the remote database from my Java stored program.
    I've loaded the new driver_classes.zip with loadjava in SCOTT schema, all classes are valid.
    How I can order to my Java stored program to use new oracle.jdbc.driver.OracleDriver from SCOTT scema instead of "native" Aurora JDBC driver placed in SYS schema?
    Thanx.
    dannis.

    I assume you want to connect to remote Oracle database? Which error are your seing with the server-side JDBC-Thin? I'd suggest to have it fixed instead.
    Anyway, here is a Copy-paste from my OracleJVM security article
    OracleJVM prevents users from replacing system classes or loading new classes into system packages. If a user wants to load such classes into another schema, the user must be granted the JServerPermission (LoadClassInPackage.<class>) permission.
    The following command grants user SCOTT permission to load classes into the oracle.aurora.* package:
    dbms_java.grant_permission('SCOTT', 'SYS:oracle.aurora.tools.*', null);
    Kuassi

  • Query on event based job in a client schema and not SYS schema

    Hi, I am fairly new to oracle job scheduler and wanted your inputs on how to create a event based job that sends a mail based on success of another job.
    I was able to implement this with the jobs being created under SYS schema. I did get email notifcation when errors were logged in exception table.
    However, now the requirement has changed to create the jobs under a client specific schema.
    The jobs got created successfully in CLIENT schema but the event based job is not working. It does not send the email notification.
    I feel this is to do with not correctly subscribing to the event queue {sys.scheduler$_event_queue}.
    Can CLIENT schema use the agent "AGENT" created under SYS to subscribe to the Scheduler event queue {sys.scheduler$_event_queue}? CLIENT is the schema in which the all jobs and procedures are created.
    BEGIN
    DBMS_AQADM.ENABLE_DB_ACCESS('AGENT', 'CLIENT');
    END;
    --Main Job that will load data and errors will be logged into exception table
    BEGIN    
    dbms_scheduler.create_job( job_name=> 'CLIENT.LOAD_DATA',                              
    job_type=>'PLSQL_BLOCK',                              
    job_action=>'BEGIN  CLIENT.p_loaddata;                                     
    END;',                              
    start_date=>systimestamp,                              
    repeat_interval=>'FREQ=MINUTELY;INTERVAL=1;',                              
    number_of_arguments=>0,                              
    enabled=> true);
    END;
    --set raise_events attribute = job_succeeded for main job
    BEGIN
    DBMS_SCHEDULER.set_attribute ('CLIENT.LOAD_DATA', 'raise_events', DBMS_SCHEDULER.job_succeeded);
    END;
    --Event Job that will send email based on condition. Condition is checked in procedure CLIENT.p_check_sendmail; If errors are found in the exception table, this job will raise exception and will be JOB_FAILED status. This job will send a email notification.
    BEGIN 
    DBMS_SCHEDULER.create_job (       job_name          => 'CLIENT.EMAIL_JOB',     
    job_type          => 'PLSQL_BLOCK',     
    job_action        => 'BEGIN  CLIENT.p_check_sendmail;                                   END;',     
    event_condition  => 'tab.user_data.event_type = ''JOB_SUCCEEDED'' and tab.user_data.object_name = ''LOAD_DATA''',      
    queue_spec        => 'sys.scheduler$_event_queue,AGENT',      
    enabled          => true);
    END;
    BEGIN    
    dbms_scheduler.add_job_email_notification ( job_name => 'CLIENT.EMAIL_JOB',     recipients => '[email protected]',events => 'JOB_FAILED');
    END;
    Is the way i am subscribing to the event queue correct? Could you please share an example/document of event based job in a schema other than SYS and how subscription is being done to event queue?
    Thanks

    Hi,
    It's a good decision you made because you shouldn't create objects in the SYS schema. I see you're using the add_job_email_notification procedure, so I'm assuming you're on 11g onwards.
    This procedure is meant to make the job easy for you. That is, you don't need to worry about setting up AQ, the procedure does it all for you. All you need to do is setup the mail server if not already done, and call this procedure to add the mail notification. That's it.
    You can also specify a filter to the add_job_email_notification procedure, so maybe you could specify directly your CLIENT.LOAD_DATA job to this procedure.

  • Find sys schema for imp database in 9i

    Hi Experts,
    Based on ORACLE rcommandation, I will take exp/imp to full database to other server ( it is only way based on source DB condition)
    To avoid duplicated system objects, i run a sql to get a schema list
    ==============================
    SQL> select owner from dba_objects group by owner order by
    OWNER
    CRYSTAL
    CTXSYS
    MDSYS
    NWEKRANESES
    ODM
    ODM_MTR
    OWNER
    OE
    OLAPSYS
    ORDPLUGINS
    ORDSYS
    OUTLN
    PIDLPASCUA
    PM
    PUBLIC
    QS
    QS_ADM
    QS_CBADM
    OWNER
    QS_CS
    QS_ES
    QS_OS
    QS_WS
    SH
    SYS
    SYSTEM
    WKSYS
    WMSYS
    XDB
    32 rows selected.
    SQL>
    I am not sure which scheam is a system schema for oracle 9.0.06.0 in above SQL
    So that I only need to emp/imo user data and programmeing codes.
    by the way, Does sys schema stored user codes information or objects in there?
    Thanks for your help!
    JIM
    Edited by: user589812 on Apr 22, 2009 12:28 PM

    Thanks for your help.
    I got lots of message as
    Column : DESC[RIBE] {[schema.]object[@connect_identifier]}
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (SYSTEM.HELP_TOPIC_SEQ) violated
    Column : DESCRIBE
    Column : 9
    Column :
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (SYSTEM.HELP_TOPIC_SEQ) violated
    Column : DISCONNECT
    Column : 1
    Column :
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (SYSTEM.HELP_TOPIC_SEQ) violated
    Column : DISCONNECT
    Column : 2
    Column : DISCONNECT
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (SYSTEM.HELP_TOPIC_SEQ) violated
    Column : DISCONNECT
    I am reviewing your paperlink that ia ver usefull.
    As DBA_mike said, it seems there are a potential issue if user creates object by system account.
    This is very old DB without archived and documents. we need to migreated to 10g/11i
    Thanks
    JIM

  • Permission to view content of table of SYS schema to newly created user

    Hi,
    I am facing issue giving permission to view contents of table p_users of SYS schema to newly created user.
    Regards,
    Phani Ram

    Hi Phani,
    Could you please check if you have an a authorization to give a permission to other users for particular schema.
    I mean check for privileges, user and roles.
    Warm Regards,
    Earesh kumar

  • Export system or sys schema

    If I am using imp/exp export schema system and sys, is it possible?

    Girish Sharma wrote:
    Sir,
    As per your saying that SYS will not be included in export i tried following command and i got SYS schema exported:
    In windows:
    exp 'sys/pw@orcl as sysdba' owner=sys file=xx.dmp feedback=10 log=xx.dmp
    In Linux:
    expdp \'sys/pw@orcl as sysdba\' schemas=sys dumpfile=xx.dmp logfile=xx.logLike other has suggested, you can run exp/expdp doesn't mean you get it exported. See some example,
    %exp sys  owner=sys file=test.dmp
    Username: sys as sysdba
    Password:
    Connected to: Oracle Database 10g Enterprise Edition
    Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SYS
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user SYS
    About to export SYS's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully with warnings.As you can see no objects are listed as exported.
    This Oracle metalink has this explained
    Schema's CTXSYS, MDSYS and ORDSYS are Not Exported
    Doc ID: Note:228482.1
    Also if you check $ORACLE_HOME/rdbms/admin/catexp.sql
    which is the script to Creates internal views for Export/Import utility
    You will see
    CREATE OR REPLACE VIEW exu81obj AS
            SELECT  o$.*
            FROM    sys.obj$ o$, sys.user$ u$
            WHERE   BITAND(o$.flags, 16) != 16 AND
                    /* Ignore recycle bin objects */
                    BITAND(o$.flags, 128) != 128 AND
                    o$.owner# = u$.user# AND
                    u$.name NOT IN ('ORDSYS',  'MDSYS', 'CTXSYS', 'ORDPLUGINS',
                                    'LBACSYS', 'XDB',   'SI_INFORMTN_SCHEMA',
                                    'DIP',     'DMSYS', 'DBSNMP', 'EXFSYS',
                                    'WMSYS')These database dictionary metadata schemas are deliberately excluded.
    -hint- Maybe be by changing this script, you can get them included ;)
    But don't take my word on that, changing DB dictionary is not supported in anyway.
    >
    Please quote your valuable suggestations because as per your saying i argued in a long debate with my friends that "we can not take export of sys's schema, because Ying sir is saying like that". I shall be highly informative on your feedback please.
    I appreciate you take my word so seariously and I am glad I didn't let you down in this case.

  • Block corruption in sys schema

    hi,
    I have a table in sys schema (sorry for creating a table in sys schema) and now it says one block is corrupted while selecting from it. I don't have a backup of the table. Is there any option to repair it without shutting down the database? (i cannot use rman to do blockrecover)
    thanks
    alimajaf

    You haven't given much details about your environment or the corruption in question.
    Did you try DBMS_REPAIR?
    Regards
    Venkat

  • Is it safe to purge / delete older records from AUD$ table in SYS schema

    Hi,
    Can we purge / delete older records from AUD$ table in SYS schema.
    Please advice.
    Thanks
    Naveen

    Pl see MOS Doc 73408.1 (How to Truncate, Delete, or Purge Rows from the Audit Trail Table SYS.AUD$) fro details on how to do so.
    HTH
    Srini

  • Inline plsql_optimize_level=3 and recompiling the sys schema??

    Has anyone messed around with 11g’s new inline pragma?
    I turned it on in a few packages which contains a lot of looping and it reduced the number subprocedure calls in the order of a few thousand. Because the db mainly servers web pages via mod_plsql, I found it to make pages just a tad snappier.
    It seemed to work pretty well that I altered the system with plsql_optimize_level=3 and recompiled the entire schema.
    This along with native compilation has made the website run the fastest I’ve ever seen it run. (I’ve already tuned sql statements and the sga size, so it was already running pretty fast.) Now it's just crazy quick.
    I only wish that standalone functions would also get “inlined”. I have a few functions like “format_money()” which will not get inlined unless they moved inside of packages (or in the declaration of calling standalone procedure).
    I’m wondering if anyone has set plsql_optimize_level=3 and recompiled the system schema? I recompiled sys.htp, sys.htf and sys.owa* packages just for fun. I didn’t do any metrics to gage the speed up. Just going off of feel, it does appear just a tad faster.
    I'm considering recompiling the entie sys schema and wondering if anyone has done this or recommends it?
    Edited by: brian.mcginity on Oct 9, 2011 12:59 PM

    Hi Ravshan,
    I thought a workaround would be to create a sql script like the following:
    alter session set plsql_code_type=native;
    alter session set plsql_optimize_level=3;  then point to it in the setting for Tools|Preferences|Database|Filename for connection startup script. That doesn't work however, as the other preference setting for plsql_optimize_level overrides the session value of 3 during compilation from the UI.
    According to Oracle documentation, level 3 was added for Oracle 11g. Prior to that, the same effect could be achieved by level 2 in conjunction with the INLINE pragma in the PL/SQL code.
    You might want to make a feature request for this on the SQL Developer Exchange so the community can vote and comment.
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Feb 6, 2012 2:32 PM
    And, of course, Compile for Debug does not work with the 'native' setting.

  • Procedures and Links being stored in sys schema

    When I create database links and procedures when logged in as user A, it creates them under the sys schema and says that sys is the owner. When I run
    SELECT db_link, username, password, host, created
    FROM user_db_links; as user A the link shows up.
    User a has create link priviledge.
    I'm using APEX 3.0 and I'm getting a db link not found error. The link works through sqlplus. I have another identical user where this does not happen and the link is created under the schema I'm logged in as.
    Thanks for any help.
    Brian

    Hi Stuart,
    We'll probably need some more information to have an idea what might be going on.  What is different about the working TestStand program and the other (version, configuration, etc)?  Are we talking about the same database?
    Best Regards,
    John
    John Passiak

  • Import sys schema

    hi
    im using oracle 9i on windows ...i export the sys schema....
    i want to import to another database..
    my queston is that before import to another database...can we create user or tablespace of old database. in new database....

    robinkhan wrote:
    hi
    im using oracle 9i on windows ...i export the sys schema....
    i want to import to another database..
    my queston is that before import to another database...can we create user or tablespace of old database. in new database....And why do you want to import SYS schema to another database? You cann't do it. DON'T try to do it. Or you'll corrupt your database! SYS schema containts all information about your database so DON'T play with it!

  • Dollar table droped in sys Schema

    hi ,
    I am using oracle 11g database release 1,i dropped the dollar table in sys schema accidently is it possible to recover that table in SYS Schema.
    Any advice
    thank you

    hi,
    thanks for the reply,this are the tables i was dropped in my test server
    DROP TABLE LOGMNRG_DICTIONARY$;
    DROP TABLE LOGMNRG_OBJ$;
    DROP TABLE LOGMNRG_TAB$;
    DROP TABLE LOGMNRG_COL$;
    DROP TABLE LOGMNRG_ATTRCOL$;
    DROP TABLE LOGMNRG_TS$;
    DROP TABLE LOGMNRG_IND$;
    DROP TABLE LOGMNRG_USER$;
    DROP TABLE LOGMNRG_TABPART$;
    DROP TABLE LOGMNRG_TABSUBPART$;
    DROP TABLE LOGMNRG_TABCOMPART$;
    DROP TABLE METASCRIPT$;
    DROP TABLE METASCRIPTFILTER$;
    DROP TABLE METANAMETRANS$;
    DROP TABLE METAPATHMAP$;
    DROP TABLE EXTERNAL_TAB$;
    DROP TABLE EXTERNAL_LOCATION$;
    DROP TABLE MODEL$;
    DROP TABLE MODELTAB$;
    DROP TABLE MODELATT$;
    DROP TABLE MODELSET$;
    DROP TABLE LOGMNRG_SEED$;
    SQL> create user new identified by new;
    User created.
    SQL> grant resource,connect to new;
    Grant succeeded.
    SQL> drop user new;
    drop user new
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00942: table or view does not exist
    i try to drop the user i am getting this error.
    thank u

  • "Loading Public Synonyms" in SYS schema hangs indefinitely

    When I try to expand "Public Synonyms" in SYS schema tree, the "Loading Public Synonyms" message window appears and hangs indefinitely without giving any result.
    Trying the same in Reports/All Objects/Public Synonyms I get the result within a second.
    What's wrong?
    I'm running SQL Developer 1.1.2.25.79, Oracle Database 10g R2 (10.2.0.3) on 32-bit RHEL-4.4 AS using Sun jdk1.6.0_01.
    N.J.

    If you do a select count(*) from dba_synonyms where owner='PUBLIC' you'll get a figure around 20,000 (I get 19697 from a 10.2.0.1 database out of a total of 23992). So, it'll not only take a while to return all the public synonyms but it'll also take a while to sort the output.
    However, I've created a test report with the following SQL and it works quickly
    select *
    from dba_synonyms
    where owner='PUBLIC'
    I guess it's a bug in SQL Developer - perhaps one of the development team could confirm?

  • Query slow in  user schema but fast in sys schema

    Hi,
    DB :10.2.
    OS :Aix
    Tool : Toad
    We executed a query which fast(20 seconds) in sys schema.
    But it's taking slow in user schema(it is taken 10 minutes).
    Yesterday we gathered dictionary stats also.
    Any suggestions.
    Thanks & Regards,
    VN

    You're querying a bunch of USER_<<x>> data dictionary views. Since those views show the objects owned by the current user, the script you generate will be completely different depending on the identity of the current user and the set of objects owned by the current user. If you create a new user and run this script as the new user, it will be even faster because USER_TABLES, USER_SEGMENTS, USER_INDEXES, etc. will all be empty.
    I don't understand why you would issue a MOVE on a table without specifying a new tablespace-- that seems like a pointless exercise. And I would seriously question the architect that wants to use ANALYZE to gather statistics rather than using DBMS_STATS.
    Justin

Maybe you are looking for

  • The NEW MACBOOK AIR ***** PLZ SOMEONE HELP ME GET THIS ACROSS TO SOMEONE AT APPLE

    Hi, My Name is Essa and i live in Bahrain. I fell in love wih apple ever since i bought a macbook in 2005. The laptop (which im using now) has been with me for over 6 years. Not only i was happy with my product, i purchased more products, such as 3 i

  • SEARCH RESULTS NOT SHOWING THE NAME OF DOCUMENT

    When I search for a document on the top level, the results in my case are relevant but they do not display the document name, meaning I have to go into the document to check if it is the one I'm looking for. For some reason the name of the file is di

  • Index.pdx  Dialog Warning Help

    Today, for the first time, an error (warning?) dialog box opens up when I open some of my PDF files. The files use to open without the dialog box, and now it appears when I open some of my files. After the PDF loads, a dialog box opens which states:

  • Active Directory Access and Synchronization with R/3

    Dear All, What I have understood till now about users being maintained in Active Directory is: there are no Roles in Active Directory, users are to be assigned to Groups in the Active Directory. My requirement is: I have to maintain the users in Acti

  • Distribution area affected by "force run as user"?

    Hi. Still using ZDM 7 for the moment. I have an AO which: - Workstation associated. - Distributes some registry keys (Distribution Tab). - Copies files locally (Distribution Tab). - Runs the files that were copied (Run Tab, Secure System User). - Del