Viewing different user's indexes.

I have a doubt as to how to view a different user's indexes. If, we have to see a different user's tables, we use the syntax,
select * from username.table_name
provided we have select rights on that table of the user. Similarly, do we need view rights on the other user's indexes.Please help in solving my doubt as i need it resolved urgently.

You said "how to view a different user's indexes"
Do you mean you want to see the details of the index ?
Provided you have the privileges on the other users table
you can use
Select * from all_indexes where index_name = <index_name>
and owner = <OWNER>
OR
Select * from all_ind_columns where index_name = <index_name>
and index_owner = <OWNER>
CHeers
Ashwin N.

Similar Messages

  • Viewing different user's constraints, triggers, synonyms etc.

    I have a doubt as to how to view a different user's constraints, triggers, synonyms. If, we have to see a different user's tables, we use the syntax,
    select * from username.table_name
    provided we have select rights on that table of the user. Similarly, do we need view rights on the other user's indexes.
    Please help in solving my doubt as i need it resolved urgently.

    do we need view rights on the other user's indexes.No, once the appropriate access to the concerned object has been granted, any indexes on that object (if appropriate) will automatically be used by the database.
    Once you have access to the other users tables, the indexes on that table automatically are visible to you.
    You could see the objects using ALL_OBJECTS or the ALL_INDEXES dictionary view.

  • How to compare index names and columns from different user?

    I am using below query to compare two indexes from 2 different users but even though index name and columns are same... result shows me they are different.. what I am doing wrong? Thanks
    WITH t AS
            (SELECT COUNT (DISTINCT index_owner || index_name || indexed_cols)
                       cnt
               FROM (  SELECT index_owner,
                              index_name,
                              listagg (column_name, ',')
                                 WITHIN GROUP (ORDER BY column_position)
                                 indexed_cols
                         FROM dba_ind_columns
                        WHERE index_name='XPKTBL_A'
                     GROUP BY index_owner, index_name))
    SELECT CASE
              WHEN cnt > 1 THEN 'Indexes are different'
              WHEN cnt = 0 THEN 'Indexes dont exist'
              WHEN cnt > 1 THEN 'Indexes are identical'
           END
              commnt
      FROM t
    Result:
    Indexes are different
    but Actually if you check below they are same After when I run this query:
    SELECT index_owner,
             index_name,
             listagg (column_name, ',') WITHIN GROUP (ORDER BY column_position)
                indexed_cols
        FROM dba_ind_columns
       WHERE index_name='XPKTBL_A'
    GROUP BY index_owner, index_name;
    Result:
    Index_owner
    Index_name
    Index_cols
    USER1
    XPKTBL_A
    FIELD_A1
    USER2
    XPKTBL_A
    FIELD_A1

    Hi,
    Erhan_toronto wrote:
    I am using below query to compare two indexes from 2 different users but even though index name and columns are same... result shows me they are different.. what I am doing wrong? Thanks
    WITH t AS
            (SELECT COUNT (DISTINCT index_owner || index_name || indexed_cols)
    So index_owner is 'USER1' in one case, and 'USER2' in the other; right?
    A string that starts with 'USER1' will be distinct from a string that starts with 'USER2', no matter what the rest of the string contains.  Maybe you don't want to compare the owners, or maybe you meant to use some other column (such as table_name) instead of index_owner).
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE, CREATE INDEX and CONNECT statements), and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How can I see the Query view created for a different user

    Hi All,
    How can a user see the View of a query created for a different user??
    I would like some info about how to give access ( if it is a access problem) or tell me the steps to do that.
    Regards, Federico

    Hi all,
    Maybe I didn't explain me as i should or maybe you dont know what is a Query View. Lets try again, showing you the steps to open a "Query view".
    This way is from Bex Analyzer (Excel)
    I open the Bex Analyzer and connect to the system -> Open query -> Under "Type" choose "Query View"...this is just a different view of the original query (more or least columns/rows).
    This way is from Bex Web:
    Once you open/execute the query, you have a ComboBox to choose the view (previously saved)
    The problem that we have is that the views created for a user, can NOT be found by other user. The only user who can is the owner.
    Could it be an authorization problem? or is ther any configuration possible to see it?
    Thanks in advance, Federico

  • Different Directory views for users

    How can I achieve different directory views on user's phones for different types of users using DCD?
    This is for a Centrex type of service.

    OK. I see this posting which mentions installing the IP Services SDK for such applications.
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Unified%20Communications%20and%20Video&topic=IP%20Phone%20Services%20for%20Developers&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1ddc61e0/0#selected_message
    I find it hard to believe that there is not an easier way.
    Why can't there be a directory-profile setting or a setting in the device profile to group users?

  • Multiple users directed to different home or index pages.

    I would like to have different users directed to different home or
    index pages after they log on to Weblogic. We are running v5.1.
    THanks

    Well, maybe you can have a look to our example formauth.
    After login, you call securytest.jsp. Here, depending of the user you can
    redirect him to the right page.
    Romuald RICHARD
    Developer Relations Engineer
    BEA Support
    "Scott" <[email protected]> wrote in message
    news:[email protected]..
    >
    Thanks Richard,
    How can this be accomplished?
    "Romuald RICHARD" <[email protected]> wrote:
    After your users are logged in, you can call a jsp which will do the
    right
    dispatch, no?
    Romuald RICHARD
    Developer Relations Engineer
    BEA Support
    "Scott Rodenhiser" <[email protected]> wrote in message
    news:[email protected]..
    I would like to have different users directed to different home or
    index pages after they log on to Weblogic. We are running v5.1.
    THanks

  • Different User views

    Hi,
    I have a requirement for two different users. User1 gets to enter everything into the database and User2 should only see what is in the database. User1 is ok. But, user2 if I give only select privilege on those tables, form doesn't work because it can't generate a new record. Could you suggest the right way of doing this? Thank you,
    Srilakshmi

    Ok. Let me try again.
    I have a requirement for two different users.
    User1 gets to enter everything into the database and
    User2 should only read what is in the database.
    User1 is ok.
    But, user2 if I give only select privilege on those tables, form doesn't work.
    Could you suggest the right way of achieving this? Thank you,
    Srilakshmi

  • Different users values from v$object_usage

    Hi Gurus,
    I have X_BANK user who is application user who owns all the tables of database.
    We started index monitoring for all the indexes of X_BANK user.
    But when we loggin to database / as sysdba, we are not able to see results of X_BANK and when we login to database with X_BANK then we see objects usage in v$object_usage.
    Why we cann't see different users v$object_usage with /as sysdba
    Please advice me and help me
    Thanks & Regards

    oramnts wrote:
    Hi Gurus,
    I have X_BANK user who is application user who owns all the tables of database.
    We started index monitoring for all the indexes of X_BANK user.
    But when we loggin to database / as sysdba, we are not able to see results of X_BANK and when we login to database with X_BANK then we see objects usage in v$object_usage.
    Why we cann't see different users v$object_usage with /as sysdba
    The object is a per user kind of object. Its not a centralized kind of view. Here is the same kind of thing in my test db,
    REM- I am using here Sys user and would query the view. Also I shall create couple of tables and indexes in another schema and would see what the view shows in that schema.
    Session-1(Sys)
    SQL> select * from V$object_usage;
    no rows selected
    SQL> /
    no rows selected
    SQL> sbow use
    SP2-0042: unknown command "sbow use" - rest of line ignored.
    SQL> sho user
    USER is "SYS"
    SQL> exit
    Session--2
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> create table test_ou(a number);
    Table created.
    SQL> create index testidx on test_ou(a);
    Index created.
    SQL> select * from V$object_usage;
    no rows selected
    SQL> alter index testidx monitoring usage;
    Index altered.
    SQL> select * from V$object_usage;
    INDEX_NAME                     TABLE_NAME                     MON USE
    START_MONITORING    END_MONITORING
    TESTIDX                        TEST_OU                        YES NO
    09/18/2009 21:56:56
    SQL> create table test2(a number);
    Table created.
    SQL> create index testidx2 on test2(a);
    Index created.
    SQL> alter index testidx2 monitoring usage;
    Index altered.
    SQL> select * from V$object_usage;
    INDEX_NAME                     TABLE_NAME                     MON USE
    START_MONITORING    END_MONITORING
    TESTIDX                        TEST_OU                        YES NO
    09/18/2009 21:56:56
    TESTIDX2                       TEST2                          YES NO
    09/18/2009 21:57:26
    SQL>Works exactly as it should be.
    HTH
    Aman....

  • Firefox Flash plugin crashes when FF launched with "Run as different user"

    I often start Firefox in Windows 7 (x64) using the "Run as different user" mechanism. After upgrading my Flash plugin to v11 (11.8.800.94), the browser will hang for several minutes when visiting any page that contains Flash content. When Firefox becomes responsive again, scrolling a page with Flash content will cause the app to hang again. Disabling the Flash plugin eliminates the problem.
    It seems the plugin is silently crashing -- I'm not alerted to a plugin crash in any way (no dialog or yellow "Flash player crashed" notice at the top of the window), but after FF hangs I will see a new crash report entry in the FF about:crashes list. An example crash report is available at https://crash-stats.mozilla.com/report/index/ff452291-b5b2-44e4-a172-416792130818
    The plugin does not crash when Firefox is running under the same account that is logged onto Windows interactively -- only when running FF as a different user. For example, if I log onto Windows with user account Adam and launch FF normally, the problem does not exist. If I close FF and launch it as user Bob (shift+right-click Firefox Shortcut, choose "Run as different user"), the problem will appear. However, if I log into Windows as user Bob and launch FF normally, the problem does not exist.
    I have tried the following as troubleshooting steps, all to no effect:
    Create new Windows user accounts to rule out potential Windows or Firefox profile issues.
    Use another PC (also Windows 7 x64). The same behavior occurs on both PCs
    Disable AVG antivirus.
    Upgrade Firefox to latest version (23.0.1).
    Disable Flash hardware acceleration.
    Give both user accounts full local admin privileges.
    Can anyone suggest something to try next?
    Update: Per the troubleshooting instructions at < http://forums.adobe.com/thread/1018071?tstart=0 >, I was able to eliminate the problem by adding the line
    ProtectedMode=0
    to my C:\Windows\SysWOW64\Macromed\Flash\mms.cfg file to disable Flash Player Protected Mode. There are instructions on that page for submitting a Protected Mode-related bug, and I will follow through with that.

    Maybe you did't understand my previous statement. There are no crashes in FF 3.6, There is no previous evidence FF 14 was ever here, I completely uninstalled all trace of Firefox, no app data, no preferences, no cache. I will upgrade to FF14 so I can send IDs,
    so here ya go.
    Crash ID: bp-fa9da320-92dc-47f7-afff-33e702120718
    AdapterDeviceID: 0x2a02
    AdapterVendorID: 0x8086
    Add-ons: {972ce4c6-7e08-4474-a285-3208198ce6fd}:14.0.1
    BuildID: 20120713134347
    CrashTime: 1342655269
    EMCheckCompatibility: true
    Email: [email protected]
    FramePoisonBase: 7ffffffff0dea000
    FramePoisonSize: 4096
    InstallTime: 1342655256
    Notes: AdapterVendorID: 0x8086, AdapterDeviceID: 0x2a02GL Context? GL Context+ GL Layers? GL Layers+
    ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
    ProductName: Firefox
    ReleaseChannel: release
    StartupTime: 1342655256
    Theme: classic/1.0
    Throttleable: 1
    URL: http://www.mozilla.org/en-US/firefox/14.0.1/whatsnew/?oldversion=rv:1.9.2.13
    Vendor: Mozilla
    Version: 14.0.1
    This report also contains technical information about the state of the application when it crashed.

  • How can i share photos on the same mac but different users?

    how can i share photos on the same mac but different users? we have different iphoto acounts and just want to be able to look under users in the finder and view another users iphoto.

    You may try moving ur librarie to the folder /Users/shared if and link it to iphoto from there
    You may locate and link libraries from arkiv-->change library in iphoto

  • Sharing iphoto library on the same computer between different users

    Can anyone tell me how (without having to write my own code) I can share photos easily (so I can teach my parents, who know nothing about mac, how to do it) between different users on the SAME COMPUTER?
    I am so frustrated! You can share with anyone else in the world, but when it is on the same computer I can't figure out how to share!

    Hi Mereditty,
    Here are all the links I have for sharing a couple of different ways.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's
    4- I have also read about ShareAlike
    There is no other info on the site about how it works.
    I strongly urge anyone wanting to try any of the methods for sharing one iPhoto Library folder among more than one user to backup all iPhoto Library folders before attemptin anything.
    Lori

  • How to view the Users in the Portal Activity Report

    Hello,
    Can anyone tell me how to view the Report of users who have logged in a specific time. For Example I would like to view the users who have logged in between 9.00 am and 9.15 am. Is it possible to view mentioning the country name?
    Please explain me in detail how to view the Report.
    Thnx in Advance
    cheers,
    Murali

    hi,
    You can certainly do it for hourly basis but i am not sure whether it could be done quarter an hour basis. Also The portal nodes within a cluster can be in different time zones, yet the activity data from all nodes are aggregated together and reported together. To enable the reporting of hourly data from different time zones, portal activity reports display hourly data based on the GMT time zone.
    Do see the documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/fb/144120ea5b4e9c9385d493a578d6c9/frameset.htm
    Weblog :Portal SP9: Portal Activity Report
    Regards,
    Ganesh N

  • How to create a new user in OWB that can only view other user's mappings

    Hello Everyone,
    I am new to OWB and want to know if possible to create different users that can only view other user's mappings without making any changes. Do you know if possible each user can have his own password?
    Thank you for your help!
    Jennifer

    A good starting point would be this blog posting:
    https://blogs.oracle.com/warehousebuilder/entry/build_up_multi-role_development_environment_in_owb
    I seem to recall as well from the OWB Admin class that existing objects in the repository would need to have the security updated if the additional restricted roles are created after tables/mappings/etc. so that they reflect the new security model.
    Also, for individual logins to OWB, each developer would require a separate database login.

  • Connect from iPad to MacbookPro as a different user?

    Here is, in a nutshell, what I would like to do:
    I would like to log in to my MacbookPro as user "me" from an iPad,
    while someone else is already logged in on the Macbook the conventional way as "he".
    I would like to do my email, using the Mail app on my Macbook, while my kids are watching a movie on it,
    and even if they are logged in under there account.
    IIRC, this used to be possible on Unix/Linux (I grew up under Unix about 15 years ago).
    I have tried screen sharing and a VNC client on the iPad (VNC viewer from RealVNC), but
    1. it seems to work only if the VNC server is running on the Macbook;
    2. I don't see how I can log in as a different user *and* have my own GUI session.
    I read posts on the internet that claim that it is possible to do what I want, and they seem to refer
    to VNC and/or Apple's Screen Sharing, but I didn't find any specific details.
    Yes, I have Screen Sharing on under System Preferences > Sharing.
    Any insights, pointers, and hints will be highly appreciated.
    Best regards,
    Gabriel.
    PS:
    The iPad needs to be registered with my son's Apple ID because he needs it in school.
    PS:
    Yes, I could install a second mail client on the iPad, but then I still would not have access to all the local mail folders on my MacBook.

    Yes, you are right, my logout url is re-directed to the login page.
    However, I tried to add the logout url in authentication scheme as you said, it does not work.
    error msg: No functional attributes may be set when page sentry function is '-DATABASE-'.
    My project is:
    I have a oracle database with tables, functions/procedures/packages. The role privilege to access the database has been granted to a few users. Then, I developed an application in apex to access the database and run procedures.
    I expect the security of apex application log in is: the users who can access the database can use the application.
    So what I did:
    1) I set up the authentication scheme of the application as 'database' scheme, The detail is as following:
    Description: Use database authentication (user identified by DAD).
    Page Session Management: Page sentry function: -DATABASE-
    the left areas are all null.
    2)I developed a home page (page1): the detail is as follows:
    regions: html region with a logo linked to page2
    item: url item, source: pl/sql function get_url(), maintain session state as per session
    computation: get_url(). It only has one command to return database http login address, to ask enter username and password. BeginThis function is expected to require and provoke a database login
    when the application computes the above item using this function.
    branch: after log in branch to page2.
    3) set up a Navigation Bar for logout as :
    wwv_flow_custom_auth_std.logout?p_this_flow=&APP_ID.&p_next_flow_page_sess=&APP_ID.:1
    The purpose of provoking database login has come true.
    However, the problem is: after I logout from the application and it redirected to page1, when I tried to log in again as a different user, it will automatically log in as the former user (without asking username and password). I have to close the IE, and rerun IE, then I can log in as another user.
    I hope I have expained it clearly.
    Cheers.
    Sue

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

Maybe you are looking for