table sys.link$ Access

Hello

A user wants to access the sys.link$. SYS gave this user SELECT_CATALOG_ROLE and O7_DICTIONARY_ACCESSIBILITY also enabled to TRUE. These settings did not help this user to acess sys.link$.

Here are the settings on the Oracle server...
SQL> show parameter o7_

NAME                                 TYPE        VALUE
------------------------------------ ----------- -----
O7_DICTIONARY_ACCESSIBILITY          boolean     TRUE
SQL> 

SQL> select * from v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE    10.2.0.1.0      Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production

SQL> 
Could someone please help?

What is

Grant select on sys.link$ username; (grant using the user sys)

Also please cancel SELECT_CATALOG_ROLE of this user that this is a potential security risk.

Kind regards
Aurélie

Published by: AjinkyaSH on March 8, 2010 23:56

Tags: Database

Similar Questions

  • size of a table in an access database

    Hello

    I try to know the size of a table in the access database, then I would be to turn it into a string value, but I have no success.

    I have attached a JPEG of my code.

    in the concatenated string should appear "rapportx.png" where x represents the size of the table

    You must use 'Decimal string' to convert the number to text.

    Please also note that the size "Array" returns a 2D array in your case: If you have two dimensions.

    Finally, and above all, to count the number of records it reveal be more efficient to use the sql count() function:

    http://www.w3schools.com/SQL/sql_func_count.asp

    Kind regards

    Marco

  • How to find the primary key columns in the tables in MS Access using SQL queries

    How to find the primary key columns in the tables in MS Access using SQL queries

    Hello

    This is the forum for Windows Vista programs related issues.

    For better assistance, please try instead the Forums in SQL Server .

    Thank you! Vincenzo Di Russo - Microsoft MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003. ~ ~ ~ My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo

  • lock the table sys.mon_mods$ mode exclusive nowait in FASSO

    Hi all

    Currently we use FASSO version 7.3.5 for the allocation of benefits and costs, DB: Oracle 11 g 2.

    When we run the distribution of costs on app FASSO, some time, run the same rule very quickly, some time take very long but not finished.

    Please note: number of record in the main table of LEDGER_STAT 1 month: prior to distribution or 30 million lines and after award ~ 130 million lines.

    I checked the AWR report and saw that, have question concern lock tables sys.mon_mods$ and sys.col_usage$ as below:

    "lock the table sys.mon_mods$ mode exclusive nowait ';

    "lock the table sys.col_usage$ mode exclusive nowait.

    I don't know the reason for it. Locking tables may be led to very slow performance during the award...

    Please help to know the reason and how to solve it.

    Thank you very much!

    The question is same with a Bug that has been described in Bug 14712222 - many recursive calls LMD parse against MON_MODS$ / COL_USAGE$ ( Doc ID 14712222.8 ).

    "B-14712222 ".

    Summary: Many parse calls recursive LMD against MON_MODS$ / COL_USAGE$

    Affects: Verse specifically: 11.2.0.3

    Fixed-releases: 12.1.0.1

    Many parse calls recursive LMD against MON_MODS$ / COL_USAGE$.

    This can happen in MMON or execution DBMS_STATS sessions type operations.

    Information about the rediscovery:

    If you see a lot of analysis of calls for DML on MON_MODS operations $, you could be

    hit this bug, especially if the SQLs are LMD TABLE LOCK as:

    Lock table sys.mon_mods$ mode exclusive nowait"@".

  • Impossible to extend the table SYS.yyy_xx1$ of 8192 in the SYSTEM tablespace

    While trying to build a package with a lot of objects, I get the error message below.

    Oracle 11 g 2

    
    
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01653: unable to extend table SYS.yyy_xx1$  by 8192 in tablespace SYSTEM
    00604. 00000 -  "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
               (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
               can be corrected, do so; otherwise contact Oracle Support.
    

    How can I solve the problem

    Each SQL statement that issue you to the database requires the Oracle engine to work behind the scenes. Many times, this is done via a recursive number of SQL statements. In this case, the object SYS.yyy_xx1$ need to grow to take account of this work. He needs grow of 8192 bytes. However, there are no 8192 bytes of contiguous free space available for this table to grow. If the exception is thrown.

    In the immediate future, you can add more space to more datafile (s) of the existing table or add a new data file. In the long term, it might be beneficial to make sure that the SYSTEM tablespace is growing out of control.

    See you soon,.
    Brian

  • Is there a way took care in the reorg table sys.job$ (and its indexes)?  (Oracle 9)

    I have an old database that has a table of great sys.job$ and the large index on it. (indices are just standard installed indexes nothing we did)    However the table has very little data in it now, only 22 rows.   Yet between the table and index is > 1 GB in size.

    The enforcement team asked me to reorg or shrink the table sys.job$ and explained its large size is probably due to the fact that they believe some process went wrong turned for years resulting in job creation, but his long since been cleaned.

    What motivates is to save space in the SYSTEM tablespace and possibly help some query performance.

    I know that in general its forbidden to directly manipulate the sys objects (such as truncation, insert, etc. with the exception of sys.aud$).

    Y at - it a taken way supported to reduce the size of this table.  Any document referencing.

    Yes, there is a way taken in charge.

    It's called "Recreate the database"

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

    Sybrand Bakker

    Senior Oracle DBA

  • Cannot extend the table SYS. FIERROS_IMAGEN by 1024 in the SYSTEM tablespace

    Hi all I have installed oracle xe on a Windows Xp computer, asked me for a password and I typed: 123

    Then I have a myback.dmp filenamed backup and imported:

    IMP file = myback.dmp ' 123/sys AS SYSDBA"full = Yes log = implog.log

    example of messages: when importing

    ==============================================================================================================

    . . importing table "FIERROS_IMAGEN".

    IMP-00058: ORACLE error 1653

    ORA-01653: unable to extend the table SYS. FIERROS_IMAGEN by 1024 in the SYSTEM tablespace

    IMP-00028: partial import of the restored previous table: 63343 restored lines

    IMP-00017: statement failed with error ORACLE 1917:

    ==============================================================================================================

    How do I fix this error? need to create the tablespace? How?

    and need to re-import? or only to import the table? How to change the imp command to specify the table?

    Thank you

    As KarK says you should not use SYSTEM tablespace for the user data.

    If you can make after:

    Create new tablespace:

    Go to sqlplus and run (change the name, path, and a size suitable for you. You must have enough disk space for this new tablespace data file.) :

    CREATE TABLESPACE PETIT_FICHIER DATAFILE «TEST_TS_01.dbf» ' TEST_TS'

    SIZE 1512M LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;

    Create a new user:

    Go to sqlplus and run (change the name and the password for you):

    CREATE PROFILE 'TEST_USER' USER 'DEFAULT' IDENTIFIED BY ' * ' DEFAULT TABLESPACE "TEST_TS".

    TABLESPACE QUOTA UNLIMITED ON 'TEST_TS' TEMPORARY 'TEMP' ACCOUNT UNLOCK;

    GRANT 'CONNECT' TO THE 'TEST_USER;

    import of user data (user who has data (in the source database) you want to import) for this new user:

    IMP system/password@tesdb fromuser = = TEST_USER leader touser = myback.dmp log = implog.log

    and if it doesn't always fit you can resize your bigger like that new tablespace (once again if you have enough disk space):

    alter database datafile 'TEST_TS_01.dbf' 2512 M resizing;

    If you need to make several attempts, then rub new user before retry (sqlplus) with

    drop the TEST_USER user cascade;.

    and then recreate it.

  • Understanding sys.link$

    Hello Experts;

    I tried a few tests on 10.2.0.4 with RHEL - 5.1
    Testings on DB links find password > >
    Just, I tried a few tests, what are the disadvantages when using DBLINK.

    I user a and user b. I can see the encrypted password of sys.link$

    SQL > select USER id, name, Mas sys.link$ where
    2 name ='XXXXX. REGRESS. RDBMS. DEV. US. ORACLE. COM';

    USERID NAME MAS
    XX xxxxx. REGRESS. RDBMS. DEV. US. ORACLE.COM 05BD4A6D6C3019E29EEB898D2343BCB0C2

    ***************************************************

    in this view of dictionary (sys.link$), I have a field 'password' - how can I know that the value?

    * 05BD4A6D6C3019E29EEB898D2343BCB0C2-> This is the value of password for xx.*

    using the password value, how can I find correct password?

    FYI: just to test and try to know the concept of oracle. That's all.

    "* NOTHING MORE THAN *"

    Thanks in advance...

    Published by: 969352 on April 28, 2013 14:59

    >
    in this view of dictionary (sys.link$), I have a field 'password' - how can I know that the value?
    >
    You already have this value - you posted
    >
    05BD4A6D6C3019E29EEB898D2343BCB0C2--> is the value of password for xx.
    >
    Who IS your value
    >
    using the password, how can I find correct password?
    >
    You can't - it does not exist. Everything that exists is the HASH of the password. Oracle does not store the actual password and it is chopped, not encrypted. A HASH is one-way; You can't get the plaintext of the hash.

  • ORA-01653: unable to extend the table SYS. ARGUMENT$ 13 in the SYSTEM tablespace

    I created the new database manually.

    When I @?/rdbms/admin/catproc.sql put this sql to execute.

    for some time he said created, granted. but after somewhere, it gives me the error.

    ORA-01653: unable to extend the table SYS. ARGUMENT$ 13 in the SYSTEM tablespace

    Please help me on this.

    Thank you in advance.

    Your query does not tablespace SYSTEM size. It provides a list of tablespaces. And may not be a complete list because I can't UNDO and TEMP tablespace. In all cases, based on the output, you have not created a user storage space, so all the tables you create in SYSTEM tablespace and finally you ran out of space. You need create user storage space if you don't have any. You want to change the non-system and non-system tablespaces value default tablespace users. Even if you don't have a non-system tablespaces, tables will be created in the tablespace default user unless you explicitly specify one. You must move the tables/indexes existing user for the non-system tablespaces.

    SY.

    PS to get the size of the SYSTEM tablespace, you will need to run:

    Select sum (bytes) / 1024/1024 tablespace_size_in_mb
    from dba_data_files
    where nom_tablespace = 'SYSTEM '.

  • space table sys - to the

    Hi all
    I have Q?
    can we run oracle 10g production database without table sys space - to the.
    I know that the Performance related metadata are stored in sysaux.
    I need to run oracle 10g as in oracle 9i db prod prod (I run without to the sys in oracle 9i, why not in oracle 10g) (with out to the sys) .is it possible? I don't want to use (sys - to feature remaining 10g, I want to use).

    can I bring a sys - to the table space prod db upward?
    What can I sys offline to the TBS?
    I only ask you to opportunities?
    If possible please... otherwise... Let me know the reasons.
    don't think I'm crazy. I just don't know...
    Thank you.

    Dear user603328,

    As far as I know, 10g, 11g No. SYS and SYSAUX tablespaces are mandatory storage for database 11 g. Thus, the database must have 2 tablespaces, datafiles 2, 1 controlfile and 2 redologs to start.

    It will be useful,

    Ogan

    Published by: Ogan Ozdogan on 06.Tem.2010 14:47

    Documentation 10g;
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14220/physical.htm#sthref505

    Documentation 11g;

    The SYSAUX Tablespace
    The SYSAUX tablespace is an auxiliary for the SYSTEM tablespace tablespace. The SYSAUX tablespace provides a centralized location for database metadata that do not reside in the SYSTEM tablespace. It reduces the number of the initial database created by default, storage spaces both in the user-defined databases.

    Several components of database, including Oracle Enterprise Manager and Oracle Streams, use the SYSAUX tablespace as their default storage location. Therefore, the SYSAUX tablespace is created automatically during the creation of the database or upgrade.

    During normal operation of the database, the database does not allow the tablespace SYSAUX either deleted or renamed. If the tablespace SYSAUX becomes unavailable, database of basic features remain operational. The database features that use the SYSAUX tablespace could fail or work with limited capabilities.

  • ORA-1688: impossible to extend the table SYS. WRH

    Hello
    10g R2 I have error in following alertlog:

    ORA-1688: impossible to extend the table SYS. WRH$ _ACTIVE_SESSION_HISTORY partition WRH$ 128 in the SYSAUX tablespace _ACTIVE_3192442214_8801

    here:

    I found:

    BEGIN
    DBMS_WORKLOAD_REPOSITORY. DROP_SNAPSHOT_RANGE (low_snap_id = > 22,
    high_snap_id = > 32, dbid = > 3310949047);
    END;
    /


    Table should it regularly? Oracle does'nt regularly? In DB control can we drop snapshots?

    Any other suggestions for ORA-1688: impossible to extend the table SYS. Error WRH?

    Thank you.

    user522961 wrote:
    Hello
    10g R2 I have error in following alertlog:

    ORA-1688: impossible to extend the table SYS. WRH$ _ACTIVE_SESSION_HISTORY partition WRH$ 128 in the SYSAUX tablespace _ACTIVE_3192442214_8801

    here:

    I found:

    BEGIN
    DBMS_WORKLOAD_REPOSITORY. DROP_SNAPSHOT_RANGE (low_snap_id-online 22,
    high_snap_id-online 32, dbid-online 3310949047).
    END;
    /

    Table should it regularly? Oracle does'nt regularly? In DB control can we drop snapshots?

    Any other suggestions for ORA-1688: impossible to extend the table SYS. Error WRH?

    Thank you.

    Why are you leaving a double thread that you started 7 + hours earlier?

    ORA-1688: impossible to extend the table SYS. WRH$ _ACTIVE_SESSION_HISTORY

  • ORA-1688: impossible to extend the table SYS. WRH$ _ACTIVE_SESSION_HISTORY

    Hello
    in 10g R2, my sysaux tablespace is in AUTOEXTEND on and I have enough disk space, but I get:

    ORA-1688: impossible to extend the table SYS. WRH$ _ACTIVE_SESSION_HISTORY partition WRH$ 128 in the SYSAUX tablespace _ACTIVE_3192442214_8801

    In my alertlog. Why? Any oracle bug?

    Thanks in advance.
    01688, 00000, "unable to extend table %s.%s partition %s by %s in tablespace %s"
    // *Cause:  Failed to allocate an extent of the required number of blocks for
    //          table segment in the tablespace indicated.
    // *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
    //          files to the tablespace indicated.
    
  • Table external slow access of compiled PL/SQL, quick of SQLPLUS

    I'm under Oracle Standard Edition One 12.1.0.1.0 Windows x 64.  Small and simple external table queries since met PL/SQL are run very slowly with a second 18 delay, but the same sqlplus queries run very fast, both on the same instance.  I ran Profiler DBMS and debugged PL/SQL to confirm that it takes 18 seconds to query the file header record in an external table in PL/SQL, but the same exact sqlplus query runs in 0.07 seconds.

    This seems very odd.  I searched online and OTN, but I can find no example of why this would happen between the two access methods in the same instance.  Something is suspended until the execution of the external PL/SQL table compiled very hurt to be 18 seconds vs 0.07 seconds of sqlplus.  Before you buy the license Oracle I tried the table external access on trial Enterprise Edition on a laptop Windows x 64 where approaches both the PL/SQL and SQL executed just as fast (0.07 seconds in this case).  The main difference now is Standard Edition and Enterprise and production running on a Windows x 64 server.  I have no parallel enabled in the environment.

    The log file of external table displays this information message:

    KUP-05004: WARNING: disabled source Intra concurrency because select parallel is not sought.

    I think it's just because I'm not under parallel access on the external table.  The message is the same if the questioning of PL/SQL or sqlplus.

    It seems to be something coherent overall of all external PL/SQL tables in this case, because I studied 3 external tables and they all almost exactly 18 seconds later to PL/SQL vs sqlplus, even if number of rows of tables outside and requests files access to them are different.

    How can I know which slows down access PL/SQL method and correct to my production programs?  I created a test case and ran to share results:

    I create an external table of test:

    -Create table

    create the table TEMP_EXT

    (

    Field1 VARCHAR2 (10),

    VARCHAR2 (10) Field2.

    field3 VARCHAR2 (10)

    )

    external organization

    (

    type ORACLE_LOADER

    STRATESIS_DATA_DIR default directory

    access settings

    (

    RECORDS DELIMITED BY '\n '.

    BADFILE STRATESIS_LOG_DIR: 'temp.bad'

    STRATESIS_LOG_DIR LOG file: 'temp.log'

    NODISCARDFILE

    FIELDS TERMINATED BY ', '.

    SURROUNDED OF POSSIBLY "" "

    MISSING FIELD VALUES ARE NULL

    (Field1, Field2, field3)

    )

    location (STRATESIS_DATA_DIR: 'temp.txt')

    )

    reject the limit 0.

    I already have the directories above put in place in the database.

    I create a file temp.txt in the above data directory. It has two rows:

    Field1, Field2, field3

    2field1, 2field2, 2field3

    I create an autonomous PL/SQL procedure (not in a package, but I get the same result if I put it in a package):

    create or replace procedure tryplsql is

    l_field1 temp_ext.field1%TYPE;

    l_field2 temp_ext.field2%TYPE;

    l_field3 temp_ext.field3%TYPE;

    BEGIN

    SELECT field1, Field2, field3

    IN l_field1, l_field2, l_field3

    OF temp_ext

    WHERE field1 = "field1";

    Dbms_output.put_line(l_field1 ||) ',' || l_field2 | ',' || l_field3);

    end tryplsql;

    I run as a sqlplus pl/sql procedure:

    SQL > exec tryplsql

    Field1, Field2, field3

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:17.68

    SQL > spool off;

    It takes almost 18 seconds?

    I performed the simple query of sqlplus and it's quick:

    SQL > select Field1, Field2, field3 from temp_ext where field1 = "field1";

    FIELD1 FIELD2 FIELD3

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

    Field1 Field2 field3

    Elapsed time: 00:00:00.01

    SQL > spool off;

    Very fast 0.01 second.

    I run the following block of sqlplus:

    SQL > DECLARE

    l_field1 2 temp_ext.field1%TYPE;

    3 l_field2 temp_ext.field2%TYPE;

    4 l_field3 temp_ext.field3%TYPE;

    5

    6 BEGIN

    7 SELECT field1, Field2, field3

    8 l_field1, l_field2, l_field3

    9 FROM temp_ext

    10. WHERE field1 = "field1";

    11

    12 DBMS_OUTPUT.put_line(l_field1 ||) ',' || l_field2 | ',' || l_field3);

    13

    14 END;

    15.

    Field1, Field2, field3

    PL/SQL procedure successfully completed

    Elapsed time: 00:00:00.01

    SQL > spool off

    It is also very fast.  In SQL, and even a PL/SQL block sqlplus are fast, but a procedure have complied is slow?

    I have a lot of packages, procedures, functions, etc., running very fast in the DB as long as there are no external table access (no time 18 seconds).  I ran DBMS Profiler on several sections of code - in all cases, that the call to the external tables takes 18 seconds.  I tried to debug PL/SQL and again the request to the external tables takes 18 seconds every time.

    Probably something obvious I'm missing, but I am confused.  Any help is appreciated.

    Support of Oracle has identified the issue as a known bug in 12.1.0.1.   Bug #18824125

    The workaround until patched is drop the PL/SQL as sys (not a good option), or to grant any directory of the user who executes the PL/SQL will be launched.  It worked.

  • Simple query in Oracle Table in MS Access causes a full table scan.

    I run a very simple query in MS ACCESS to an Oracle table attached as follows:

    Select *.
    EXPRESS_SERVICE_EVENTS-(EXPRESS is the name of the related table. SERVICE_EVENTS)
    When executed > MyDate()

    or

    Select *.
    EXPRESS_SERVICE_EVENTS-(EXPRESS is the name of the related table. SERVICE_EVENTS)
    When executed > [Forms]! [MyForm]! [Date1]

    We have more than 50 machines and this query works well on more than half of them, using an Oracle Index on the field "run." Exactly the same thing running on other machines results in a full table scan, so regardless of the index (the DB access even access all machines).

    Strangely, if we write the query as follows:

    Select *.
    Of EXPRESS_SERVICE_EVENTS
    When executed > # 2009-09-04 08:00 #.

    It works fast everywhere!

    Any help with this "phenominon" would be appreciated.

    We did the things:
    Check the locale settings of the ODBC driver, MS Access settings (as in tools-> Options), we have the latest XP and Office service packs and re-related all the Access Tables on the slow and fast machines independently).

    All machines use the same version of the ODBC driver?

    If you have access to Metalink, check the following note:
    Note.257828.1 Scan of Table full Ext/Pub while seeking the DATE columns using the ODBC Oracle driver:

    In a Word, try "bind timestamp date" option in the dsn configuration and do not forget to update the links in the table.

    It will be useful,
    Greg

  • [ADF, JDev12.1.3] master / detail af:tables the link is handled by ExecuteWithParams: how to create a master report / detail in a loop on the lines?

    Hallo,

    I have a page with 2 legs and they both contains an af:table created by dragging an instance of VO in the user interface.

    The 1st tab uses a master VO while the 2nd uses a VO detail.

    Between 2 your, there is not a link of VO master / detail.

    Opening Details tab I update the secondary table by calling the method ExecuteWithParams of the detail VO instance (in a managed bean).

    I would now like to generate a report that loop on the master table and that, for each line of master:

    • He writes in the report;
    • loops of registration of details (which are based on the master record) and also writes the report.


    Could you kindly suggest me which is the best way to achieve that through a code to write in a managed bean?

    Here I am interested how do to loop through the data, not in how to write the report.

    Thank you

    Federico

    Yes it will affect the selected line. If you want to ignore try using this code

        DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("DepartmentsView1Iterator");
        ViewObject vo = iter.getViewObject();
        for (int i = 0; i < vo.getEstimatedRowCount(); i++)
        {
          Row r = vo.getRowAtRangeIndex(i);
          System.out.println("DeptId= " + r.getAttribute("DepartmentId"));
        }
    

Maybe you are looking for