The minimum privileges or role to set to access the dictionary views

Hello

Developers need execute the Runstats utility (on oracle - developer .net utilities). This utility requires access to two dictionary objects (v$ sess_time_model, latch$ v).

Taking into account the good answer to Question about SELECT_CATALOG_ROLE right - with regard to the safety of db - is to affect developers 'select_catalog_role"as the minimum set of privileges to run this utility?

Note: The Db version is 11g v2.

Thank you very much

SIM

sgalaxy wrote:

Hello

Developers need execute the Runstats utility (on oracle - developer .net utilities). This utility requires access to two dictionary objects (v$ sess_time_model, latch$ v).

Taking into account the good answer to Question about SELECT_CATALOG_ROLE right - with regard to the safety of db - is to affect developers 'select_catalog_role"as the minimum set of privileges to run this utility?

Note: The Db version is 11g v2.

Thank you very much

SIM

least privilege would be as below published by SYS

CREATE THE DEV_ROLE ROLE.

GRANT SELECT ON V_$ LATCH TO DEV_ROLE;

GRANT SELECT ON V_$ SESS_TIME_MODEL TO DEV_ROLE;

GRANT DEV_ROLE to ;

Tags: Database

Similar Questions

  • Cannot select the Dictionary view user USER_TAB_COMMENT?

    Hello.

    I have this weird problem in 11.2.0.3

    I cannot select the view of the USER_TAB_COMMENT of a user dictionary, but others can.
    If I try to describe it, I get ORA-00942 and ORA-04043 messages.

    Here is my attempt. I create a comment on a table, try desc or select the view from the dictionary. Then connect with SYS and select the comment in the view "dba" to check if the comment was created:
    SQL> conn RODOLFO
    Introduzca la contraseña:
    Conectado.
    SQL> show user
    USER es "RODOLFO"
    SQL> comment on table DOCUMENTILLOS is 'This is a comment';
    
    Comentario creado.
    
    SQL> select table_name, comments from user_tab_comments;
    select table_name, comments from user_tab_comments
                                     *
    ERROR en línea 1:
    ORA-00942: la tabla o vista no existe
    
    SQL> desc user_tab_comments;
    ERROR:
    ORA-04043: el objeto "SYS"."DBA_TAB_COMMENTS" no existe
    
    
    SQL> desc all_tab_comments;
    ERROR:
    ORA-04043: el objeto "SYS"."DBA_TAB_COMMENTS" no existe
    
    
    SQL> conn / as sysdba
    Conectado.
    SQL> show user
    USER es "SYS"
    SQL> select owner, table_name, comments from dba_tab_comments
      2  where owner = 'RODOLFO' and table_name = 'DOCUMENTILLOS'
      3  ;
    
    OWNER                          TABLE_NAME
    ------------------------------ ------------------------------
    COMMENTS
    --------------------------------------------------------------------------------
    RODOLFO                       DOCUMENTILLOS
    This is a comment
    
    
    SQL>
    Other users, I don't have this problem
    SQL> conn MANOLO
    Introduzca la contraseña:
    Conectado.
    SQL> show user
    USER es "MANOLO"
    SQL> comment on table DOCS is 'This is a comment';
    
    Comentario creado.
    
    SQL> select table_name, comments from user_tab_comments where table_name = 'DOCS';
    
    TABLE_NAME
    ------------------------------
    COMMENTS
    --------------------------------------------------------------------------------
    DOCS
    This is a comment
    Clues why this is happening?

    Kind regards.

    elvegaa_esp wrote:
    What do you think?

    OK, the question is in the place where he is not pointing?

    Edit:
    Oh, it looks that it points to dba_tab_comments. Since your original post:

    desc user_tab_comments;
    ERROR:
    ORA-04043: el objeto "SYS"."DBA_TAB_COMMENTS" no existe
    

    Who do not have the right of Rodolfo.

    Thus, final to get rid of him.

    And a good thing that you do not 'go to your DBA"as suggested. It was just to choose the wrong solution to an unknown problem.

    Concerning
    Peter

    Published by: Peter on March 11, 2013 08:49

  • Minimum privileges for vCenter/vCOPS access?

    Is there a documentation on the minimum privileges required for newspaper Insight to access vCenter and vCOPS? The security guide do not detail this.

    Thank you.

    vCenter Server = read only privileges (the user must be set to the object of vCenter Server root and have the box spread selected)

    vCenter Operations Manager is the user's privileges.

    The Security Guide is here, but does not contain this information: Security Log Insight 1.0 Beta Guide

  • Privileges & oracle role

    Hello

    I created a role in oracle and great privileges to that role, but now I forget what privileges I gave to this role, is there an array that contains all the details of the privileges of a role.

    Please let me know as the table name.

    Thank you
    Mohan

    Hello
    In Oracle, we have seen in the dictionary, there are tables where the information is stored. But we must use the dictionary views.

    For example:

    SQL > create role test_role;

    Created role.

    SQL > grant create session, create a test_role table.

    Grant succeeded.

    SQL > select role. » '|| privilege | » '|| admin_option of role_sys_privs where role = "TEST_ROLE";

    ROLE: "| PRIVILEGE | "| ADMIN_OPTION
    ---------------------------------------------------------------------------
    TEST_ROLE CREATE SESSION NO.
    TEST_ROLE CREATE TABLE NO.

    Best regards

    Rafi.
    http://rafioracledba.blogspot.com/

  • What is the minimum privileges that I return so he can make a Connect-VIServer and a Get - VM?

    Hi all

    I'm writing a small script to list all our virtual machines.

    I want installation service account just for that and I want to give to these minimum permissions accounts: just enough to Connect-VIServer and a Get - VM.

    Should what minimum privileges I give?

    How could I have figured this out on my own?

    Thanks in advance!

    -Chris


    Read only role applied to the vCenter node.

  • What is the minimum privilege required to control computers with the WMI interface

    I would use the WMI interface to computers in control but would like to do this, use a non privileged user.

    I therefore need to know the minimum privilege and/or required group policy to do this.

    Hello


    I would recommend checking the Microsoft TechNet community. Please visit the link below to find a community that will provide the support ask you in the right direction for WMI associated questions.

    http://social.technet.Microsoft.com/forums/en-us/winserverManagement/threads

     

    I hope this helps.

  • Installation Question about privileges user/role

    OK, I am new to Oracle, (well I last worked with him when he was 8i).

    (1) I have a database with a tablespace that contains the replicated data form another source and I want to create a role that has select permissions on the tables.

    What I've already put in place. I created a role with the role CONNECT and privileges select object on all tables of this user (users that are replicated to the database tables). It works, the role can execute select statements out of these data.

    (2) I want this part (or at least users with this role created) in order to create the tables/views/etc, (in other words for development rights) without giving them all change the rights on the objects mentioned in part 1. I don't know how to proceed.


    Thanks for any help you can provide.

    What version of Oracle?
    The CONNECT role should not serve on 11 GR 2, in my opinion, that it has been reduced to what the only privilege of create session. Oracle also recommends not to use the role of RESOURCES more.

    I think that you would give the special role created for developers only those system privileges they need, such as create table, create the sequence, create procedure, etc...

    This will allow them to create objects under their own username but no other objects (except the public) users will otherwise you do not explicitly add the role.

    Avoid to grant privileges such as create any table.

    HTH - Mark D Powell.

  • At the launch of Thunderbird, how can I set a password that prevents viewing of my emails if someone uses my computer?

    At the launch of Thunderbird, how can I set a password that prevents viewing of my emails if someone uses my computer?

    100% this addons can help you
    https://addons.Mozilla.org/en-us/Thunderbird/addon/master-password/

    Look at my Thunderbird when I open

  • How to set the keyboard Viewer in a language other than the main keyboard?

    is it possible to set the keyboard to the screen the viewer into another language (German) than the main (English) keyboard as an easy way to use the keyboard Viewer to make the German characters and umlauts while typing with the keyboard layout English on the main computer keyboard? Use the new Macbook with the latest OSX. Thanks for any advice.

    Visualizer keyboard can reflect only your current layout.

    But type German characters with the English keyboard layout is extremely easy.  Just hold down the key of the basic letter and select the version accentuated in the context menu that appears.  Or use the standard option key shortcuts

    http://symbolcodes.TLT.PSU.edu/accents/codemac.html

  • Cannot scale manual setting of the time in the data view - returns to autoscale on track

    There was a similar post someone SignalExpress assessment but they have not answered follow-up questions.

    I can't set the time scale (x-axis) in the data view.  When I deactivate autoscale and manually enter a value, it seems to change, that it appears correctly in both the preview and the data display pane, until I hit, then it returns to the autoscale.

    It's maddening.

    The attached JPG illustrates this behavior.

    Hello

    To resolve this problem, you must right-click on the graph in the data view.  Select scale X"uncheck Autoscale.  Then, double-click most value and change the value for the value of low/high range for the desired field of view.  Change the scale of this way back not to Autoscale during execution.

  • Microsoft Dynamics GP 2010 search window - choose "Set as default view" breaks the real from the default view

    In the Great Plains of 2010, you will find a window for managing articles (for example).
    In this window, there is a search button (magnifying glass) which opens the list of items.
    This list always highlights the number of the item that is currently displayed in the call window (e.g., materials management).

    Now, there is a setting in the window "Items" next to the title "view: all item numbers; Article number"accessible by a white arrow.

    If you mess with this setting AT ALL (please Don't) then choose "Set as default" you will FOREVER be... NOT ALWAYS... be able to get the default search for the currently selected item window again. It is just default to the top of the list.

    This applies only to the current user in the current society. If the user connects to another company, the search window behaves normally. In ADDITION, if the user connects to ANY computer company, this parameter follows the user account in this company. The setting is not stored locally on the GP of the user installation.

    How do reset us the server GP/table or something else to have the search window default to the element that was listed in the call window? This bug follows all search windows that open the window items (maintaining the order of the day, Maintenance, sales transactions before Kit, see Bill of materials, etc.).

    Hello

    The question you posted would be better suited in the Forums of dynamics. I would recommend posting your query in the Forums of the dynamics:

    http://community.dynamics.com/product/GP/f/32.aspx?ref=PHP

  • I get "failed to set the refresh attribute COMMIT for the materialized view" when I try to create a MV using a table and another MV

    Experts,

    I'm trying to create a YOUNG refreshable ON COMMIT MV (xyz) using a table (circuit) and quickly updateable on validation MV (abc), but get an error:

    SQL error: ORA-12054: cannot set the attribute ON COMMIT refresh for the materialized view

    12054 00000 - "cannot set the refresh attribute COMMIT for the materialized view.

    * Cause: The materialized view did not meet the requirements for update to

    moment of validation.

    * Action: Specify only valid options.

    1] MV abc
    = MV abc defined as below =.

    CREATE MATERIALIZED view abc_MV

    Immediate CONSTRUCTION

    REFRESH QUICKLY YOU COMMIT using constraints of trust

    WITH ROWID AS SELECT n.*,.

    n.ROWID noderowid

    node n

    where n.nodetype in (1610000069,1610007267);


    -Above works OK and MV connect you on table node is created successfully

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

    [ 2] Circuit Board

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

    CREATE MATERIALIZED VIEW LOG ON Cramer.Circuit WITH SEQUENCE, ROWID ( ) -all columns of table ofcircut parentheses

    INCLUDING THE NEW VALUES;

    -More top works OK and MV connect you on table circuit is created successfully

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



    [3] trying to create MV xyz

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

    CREATE MATERIALIZED VIEW LOG ON cramer.abc_MV WITH SEQUENCE, ROWID ( ) -all columns of abc_MV brackets

    INCLUDING THE NEW VALUES;

    -Above works OK and log on ABC MV MV gets created successfully

    -Problematic step below

    Xyz_MV CREATE MATERIALIZED VIEW

    IMMEDIATE CONSTRUCTION

    REFRESH QUICKLY YOU COMMIT using constraints of trust

    AS

    SELECT c., c.rowid circuit_rowid, n.rowid tr_rowid

    the circuit c, abc_mv n

    where circuit2startnode = n.nodeid

    and c.rpplanId = n.rpplanId;
    ==========================================================

    Clues on how to solve this problem and make quickly updatable ON Commit MV xyz

    Thanks in advance.

    Chanchal,

    If you can read my original post carefully you may have noticed that all these restrictions will not apply in my case.

    All,

    In any case I found the solution to my problem.

    There are a few additional restrictions for materialized views multilayer

    Additional Restrictions for master materialized views

    The following types of materialized views may not be masters of editable materialized views:

    • ROWIDmaterialized views
    • Complex materialized views
    • Read-only materialized views

    I've updated the underlying MV abc below and everything worked like a charm

    CREATE MATERIALIZED view abc_MV

    Immediate CONSTRUCTION

    REFRESH QUICKLY YOU COMMIT using constraints of trust

    IN SELECT

    n.*, n.rowid noderowid, nt.rowid nodetyperowid

    the node n, nodetype_m nt

    where n.node2nodetype = nt.nodetypeid

    and nt.nodetypeid in (1610000069,1610007267);

    Note: To ADD a join without which I was getting error below (although had primary key on the table of the node)

    SQL error: ORA-23415: materialized view log for "NODE" does not save the primary key

    23415 00000 - "view the log for materialized \"%s\".\"%s\"does not save the primary key.

    * Cause: A primary key materialized view is refreshed quickly, but the

    The materialized view log does not record the primary key information.

    * Action: Use CREATING MATERIALIZED VIEW LOG... Command to add a PRIMARY KEY to

    start recording of the primary key information in the materialized view

    Newspaper.

  • How to set the visibility of the layer on the initial view?

    I created some shapes that have multiple layers in them. They are several pages long. Page 1 there are 3 radio shows buttons... it selects the appropriate user type and begins running the correct layer and turns off the other layers. Unfortunately, if they go to page 2, before clicking on one of the butttons, they see all layers at once, and it's a confused mess.

    Is there a way to set the default layer visibility so that when you open the PDF file, it only shows the layer I want it? I don't find it in the initial view settings.

    Thanks in advance for any help provided!

    Yes, you can use a script to document level to set the State of the OCG, Optonal content group or layer, States up-front objects.

    var nOCG = 0; number of BCG for display

    all leave OCGS

    SOWC var = this.getOCGs ();

    SOWC [0].initState.constants.states.off;

    Activ a BCG for initial view

    SOWC [nOCG].initState.constants.states.on;

  • Is it possible to set the "initial view" a PDF document when you save from Illustrator?

    Is it? (I have not Acrobat)

    Thanks if anyone can help.

    T

    No, it is defined by the user in the Acrobat preferences or by setting the initial view in Acrobat, but not to HAVE.

  • Allow a role access to a view of the alarm.

    Hello

    I created a 'my_role' role and adds some groups, and now I want to enable this role to 'see' some views only (This Works) however I need this role can see the alarms related to an agent. And that is the problem, impossible to find the correct view. What is the correct view in order to add "my_role"?... Please see the attachment.

    Thank you

    Michael.

    Since it's viewsI suspect basic upgrade will change things back.

    What you can try to do, is copy/deep copy these views to your own module and edit the dashboard to use the copy.

    Golan

Maybe you are looking for

  • iOS 10 how I wake up to the password screen?

    IPad mini I can't stand this extra step whenever I want to access. Not to mention, on my last iPad my home button is dead well before the tablet itself. I have to speed up his death.

  • One user away from the dashboard of the range Windows Server 2012 R2 Essentials

    We migrated from SBS 2008 for Windows Server 2012 R2 Essentials range. All users and computers have successfully migrated and their list is visible in the ADUC. However, a user is missing from the Windows Essentials Dashboard (users in the navigation

  • J3Z14PA #ABG: keyboard stops working until I have press windows - HP envy 15-q004tx

    My keyboard doesn't work anymore until I press the windows key, then it works again I tried ubuntu live and I na not to deal with the problem also when the keyboard stop and I go to my VMware virtual operating system, it works again without pressing

  • S189 back things to their default settings?

    I see nothing in the release notes or the Readme file that accompanies the update, but where can I find a list of what changes are made after you apply this upgrade? The reason I ask is because I have ssh on a non standard port. After you install thi

  • Replacing Battery Latitude 3340

    I'm on Dell Techdirect try to ask for a replacement of the battery under warranty but the field that says 'serial number of the frame' accepts what I type in. I have tried everything I can find on the battery itself and the laptop, but it is not a go