What privileges are required to create XMLIndex in somebody else's schema?

Hi,
I'm logged in as "system as sysdba" and trying to create an XMLIndex in another schema called "eventschema". The command fails with "ORA-01031: insufficient privileges". How come I can create a relational index in eventschema, but not an XMLIndex? What privilege does system or eventschema need? I granted UNLIMITED_TABLESPACE to eventschema already, but that did not solve the problem.
SQL> show user
USER is "SYS"
SQL> describe eventschema.event;
Name                                      Null?    Type
EVENT_ID                                  NOT NULL NUMBER(20)
EVENT_UUID                                         VARCHAR2(50)
RECORDTIME                                         TIMESTAMP(9)
EVENTTIME                                          TIMESTAMP(9)
EVENTXMLTEXT                              NOT NULL XMLTYPE STORAGE BINARY
PARENTID                                           VARCHAR2(100)
DOCUMENT_ID                               NOT NULL NUMBER(20)
SQL> CREATE INDEX eventschema.idx ON eventschema.event(parentid);
Index created.
SQL> CREATE INDEX EVENTSCHEMA.eventXml1 ON EVENTSCHEMA.EVENT (EVENTXMLTEXT)
INDEXTYPE IS XDB.XMLIndex
PARAMETERS (
'XMLTable eventXmlTable ''/ObjectEvent''
    COLUMNS action VARCHAR(15) PATH ''action''
');  2    3    4    5    6 
CREATE INDEX EVENTSCHEMA.eventXml1 ON EVENTSCHEMA.EVENT (EVENTXMLTEXT)
ERROR at line 1:
ORA-29958: fatal error occurred in the execution of ODCIINDEXCREATE routine
ORA-01031: insufficient privileges BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE    11.2.0.1.0      Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - ProductionAny help is appreciated!
Thanks!
-- Daniela

Are you really really sure... because the following works with the XMLTAB xmltype table still in place in the DANIELLA schema...
SQL> connect daniella/daniella
Connected.
SQL> select segment_name, segment_type, tablespace_name from user_segments;
SEGMENT_NAME                                       SEGMENT_TYPE    TABLESPACE_NAME
XMLTAB                                             TABLE           USERS
EVENTXMLTABLE                                      TABLE           SYSTEM
TABLESPACE_QUOTA_TEST                              TABLE           SYSTEM
SYS_IL0000020443C00003$$                           LOBINDEX        USERS
SYS_C007115                                        INDEX           USERS
SYS20491_20492_OID_IDX                             INDEX           SYSTEM
SYS20491_20492_RID_IDX                             INDEX           SYSTEM
SYS_LOB0000020443C00003$$                          LOBSEGMENT      USERS
8 rows selected.
SQL> drop index eventXml1 force;
Index dropped.
SQL> connect / as sysdba
Connected.
SQL> CREATE INDEX daniella.eventXml1 ON daniella.xmltab(object_value)
  2   INDEXTYPE IS XDB.XMLIndex
  3   PARAMETERS
  4   ('XMLTable eventXmlTable (TABLESPACE USERS)
  5     ''/ObjectEvent''
  6     COLUMNS
  7        action VARCHAR(15) PATH ''action''
  8   ');
Index created.
SQL>  select segment_name, segment_type, tablespace_name from dba_segments where owner='DANIELLA';
SEGMENT_NAME                                       SEGMENT_TYPE    TABLESPACE_NAME
XMLTAB                                             TABLE           USERS
EVENTXMLTABLE                                      TABLE           USERS
TABLESPACE_QUOTA_TEST                              TABLE           SYSTEM
SYS_IL0000020443C00003$$                           LOBINDEX        USERS
SYS_C007115                                        INDEX           USERS
SYS20495_20496_OID_IDX                             INDEX           USERS
SYS20495_20496_RID_IDX                             INDEX           USERS
SYS_LOB0000020443C00003$$                          LOBSEGMENT      USERS
8 rows selected.
SQL> drop index daniella.eventXml1 force;
Index dropped.
SQL>  select segment_name, segment_type, tablespace_name from dba_segments where owner='DANIELLA';
SEGMENT_NAME                                       SEGMENT_TYPE    TABLESPACE_NAME
XMLTAB                                             TABLE           USERS
TABLESPACE_QUOTA_TEST                              TABLE           SYSTEM
SYS_IL0000020443C00003$$                           LOBINDEX        USERS
SYS_C007115                                        INDEX           USERS
SYS_LOB0000020443C00003$$                          LOBSEGMENT      USERS
SQL> alter session set current_schema = daniella;
Session altered.
SQL> CREATE INDEX eventXml1 ON xmltab(object_value)
  2   INDEXTYPE IS XDB.XMLIndex
  3   PARAMETERS
  4   ('XMLTable eventXmlTable
  5     ''/ObjectEvent''
  6     COLUMNS
  7        action VARCHAR(15) PATH ''action''
  8   ');
Index created.
SQL> select segment_name, segment_type, tablespace_name from dba_segments where owner='DANIELLA';
SEGMENT_NAME                                       SEGMENT_TYPE    TABLESPACE_NAME
XMLTAB                                             TABLE           USERS
EVENTXMLTABLE                                      TABLE           SYSTEM
TABLESPACE_QUOTA_TEST                              TABLE           SYSTEM
SYS_IL0000020443C00003$$                           LOBINDEX        USERS
SYS_C007115                                        INDEX           USERS
SYS20499_20500_OID_IDX                             INDEX           SYSTEM
SYS20499_20500_RID_IDX                             INDEX           SYSTEM
SYS_LOB0000020443C00003$$                          LOBSEGMENT      USERS
8 rows selected.Edited by: Marco Gralike on Jul 15, 2011 10:47 PM

Similar Messages

  • What privileges are needed to create a cross-schema view

    For example:
    User A owns T1, T2
    User B wants to create a view using T1 and T2 (join them)
    What privileges does user B need? I have 2 claims:
    1. Create View and SELECT on A.T1 and A.T2 to user B
    2. SELECT WITH GRANT OPTION on A.T1 and A.T2 to user B
    Thanks!

    # 1
    # 2 is required if user B wanted to grant select on that created view to other users.

  • Newbie: What UIcomponents are required to create my table and how?

    Hi,
    ** Not the CODE, I just want roughly what components need and how is the mechanism in JSF.**
    Sorry, I really have no idea.
    Meal Option: Beef, Chicken, Fish
    | Name | Morning | Lunch | Dinner |
    | Peter | | | |
    | Mary | | | |
    I want to write a table, if Peter login, he can select which one of meal option he want to eat in every meal. But he cannot select the options for Mary, and others rows/selections are fade. And other people can add themselves in the table.
    Using UISelectOne seems ugly. Do I have other option?
    How to fade the selection?
    Where can I get some calendar component? So that people can select specific date.

    I am not sure about the functional requirement, but I can at least tell that you can use either h:dataTable or h:panelGrid for a tabular display.
    About the calendar component, at least Tomahawk and RichFaces have one.

  • What settings are required for DP_PROC_TY,CT_PROC_TY,TEND_TYPE

    hai friends
    what settings are required for DP_PROC_TY,CT_PROC_TY,TEND_TYPE
    Thanks a lot
    Regards
    VinayKrishna

    Hi Vinay,
    1. For DP_PROC_TY  you need to give the transaction type or R/3 document type you want to use for creating direct material POs. Could be ECDP given in the standard or copy of which you might  have created.
    2. For CT_PROC_TY it is either PCTR or GCTR depending what you want to create local contract or GOA.
    3. TEND_TYPE can have BID, RFCR etc depending on what type of bid invitaion you want to create form sourcing cockpit or as follow on bid invitaion.
    Ragards,
    RRK.
    Do reward points for useful answers
    Edited by: Ramakrishna Rallapalli on Jun 16, 2008 9:06 AM
    Edited by: Ramakrishna Rallapalli on Jun 16, 2008 9:06 AM

  • What roles are required to use Guided Procedures?

    Hi ,
    What roles are required to use Guided Procedures?
    Thanks
    Srinivas.K

    Hi,
        Refer this block  https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3603. [original link is broken] [original link is broken] [original link is broken]
        This blog is very useful to u and in this blog she is explained what roles to needed for Guided Procedure.The Composite Application Framework role is used for the Guided Procedure in the Portal.First create the user and then assign the CAF role for that user.This is way to obtain the Guided Procedure for that user.
    Thanks,
    satheshkumar.R

  • Why am i getting an error saying administrative privileges are required?

    Why am i getting an error saying administrative privileges are required?

    Because administrative priviliges are required? We can't know anything because you haven't provided any relevant info. We don't know what program you are referriung to or what system as well as whether or not you are actualyl operating under a user account with sufficient user privileges...
    Mylenium

  • What ports are required to be open on a firewall for UCCX ver7 Backups

    I'm trying to setup a backup location on UCCX version 7.
    The backup storage location and the UCCX server are seperated by a firewall.
    What ports are required to be opened on the firewall to allow the backups through to the backup location.
    Can't find any info online

    Try it locally on the server itself.
    You just need to create a shared directory backup oon the server on C:\ drive.
    \\127.0.0.1\C$\backup
    This should work.
    Link to port utilization guide:
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_7_0/configuration/guide/uccx70prtuti.pdf
    Regards,
    Chuck
    Please rate helpful posts and identify correct answers.

  • Administrator privilege are required to install Adobe Master CS5.5

    Hi All,
    This is Tom. I'm logged in as local administrator to Windows 7 64bit OS and everytime I tried to install CS5.5 Master I kept getting this message, "Administrator privilege are required to install". Do you have any suggestion? I can install any program but just not CS5.5.
    Thanks & Regards,
    Tom

    Hi Mylenium,
    Thanks for your advice.
    I could not find the log in "\Program Files(x86)\Common Files\Adobe\Installers", it only shows log file from my previous installation of Adobe CS3.
    I can see this file \Users\[username]\AppData\Local\Temp\PDApp.log with some errors like
    23:11:19 [ERROR] LWANative - OOBElib returned error: 34
    23:11:19 [INFO] LWANative - pwa_openSession Session key : {*****-****-*****}
    23:11:19 [ERROR] LWANative - OOBElib returned error: 47
    23:13:32 [ERROR] LWANative - OOBElib returned error: 27
    23:13:32 [ERROR] LWANative - OOBElib returned error: 27
    Tom

  • What steps are required to configure the Payroll Tax ( USA)?

    Hi All,
    Please answer
    What steps are required to configure the Payroll Tax ( USA)?.
    Thanks in Advance
    Thank you,
    GKReddy.K

    hi Dan
    this is covered in the Rapid Clone documents -- Refreshing a Target System
    Note: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    Note: 406982.1 - Cloning Oracle Applications Release 12 with Rapid Clone
    you should run adautocfg.sh on the application tier as well. Otherwise the essential information regarding your application tier will not be registered within the database and you will not be able to connect to your database through the application.
    adcfgclone will not be necessary on the application tier.
    Yes, you need to run AutoConfig to populate FND_NODES with the application nodes information. You may also need to clear the FND_NODES table as described in the following note:
    Note: 260887.1 - Steps to Clean Nonexistent Nodes or IP Addresses from FND_NODES
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=260887.1
    source;- https://forums.oracle.com/thread/652681
    AppsMasti
    Sharing is Caring

  • What modifications are required to make a servlet support SSL data encrypti

    Hi,
    What modifications are required to make a servlet support SSL data encryption?
    --kumar                                                                                                                                                                                                

    Hi,
    What modifications are required to make a servlet
    support SSL data encryption?
    --kumar No modifications are required in servlet. You have to setup servlet container.

  • What locks are required on a table when Oracle is processing an UPDATE

    What locks are required on a table when Oracle is processing an
    UPDATE statement?

    Welcome to the forum!
    Whenever you post provide your 4 digit Oracle version.
    >
    What locks are required on a table when Oracle is processing an
    UPDATE statement?
    >
    Here is a relevant quote from the 'Lock Modes' section of the doc that Ed Stevens provided
    >
    Assume that a transaction uses a SELECT ... FOR UPDATE statement to select a single table row. The transaction acquires an exclusive row lock and a row share table lock. The row lock allows other sessions to modify any rows other than the locked row, while the table lock prevents sessions from altering the structure of the table. Thus, the database permits as many statements as possible to execute.
    >
    The above describes the locks when you, the user, tells Oracle to lock the row.

  • What amps are required to charge an iPhone 5s

    what amps are required to charge an iPhone 5s

    watt = amps *volt
    this mean
    amps = watt / volt
    the ac charger is 5Watt and 5volt
    so 1 amp
    but the phone also charge at usb which in some cases is 5volt 0.5amp == 2.5watt
    are you looking for how further down then 0.5 amps you can go ?
    the lower the amps the slower it charges

  • GRID Control Server (OMS) - what services are required?

    What services are required (and what is the startup order) on the Windows 2003 GRID Control Server (OMS). The target database is 10g on Solaris.

    Hi.
    I assume that you have three folders in the oms installation folder, called oms, agent and db.
    You should first start the grid database on the 2003 server along with the listener from the db folder.
    Than you should install the application server processes by running:
    opmnctl startall from the oms\opmn\bin - folder.
    Than you should start the agent by runnint agent\bin\emctl start agent
    You should further start the agent on the Solaris node and verify the upload to oms:
    $ORACLE_HOME/bin/emctl start agent
    $ORACLE_HOME/bin/emctl status agent
    Good luck
    rgds
    Kjell

  • Hyperion Planning Fusion Edition, what components are required?

    Hello,
    Currently we're planning to install Hyperion Planning Fusion Edition, but we're not certain what components are required if we want to use Planning with EPMA/BPMA. Can someone post a list of components/applications required?
    Additionally, where from can we download Oracle Hyperion Enterprise Performance Management Architect, Fusion Edition, v11.1.1.1.1? The documentation states that such a version exists, however we're unable to locate it on Oracle's web pages.
    Thank you
    Regards
    Marcin Stawny

    Hi,
    You will need the following :-
    Oracle Hyperion Enterprise Performance Management System Installer, Fusion Edition Release 11.1.1.1.0
    Hyperion Enterprise Performance Management System Foundation Services Release 11.1.1.1.0 - Part 1-3
    Oracle Hyperion Enterprise Performance Management Architect, Fusion Edition Release 11.1.1.1.0
    Oracle Essbase Client Release 11.1.1.1.0
    Oracle Essbase Server Release 11.1.1.1.0
    Oracle Hyperion Provider Services Release 11.1.1.1.0 (if you want to use SmartView)
    Oracle Hyperion Planning, Fusion Edition Release 11.1.1.1.0
    Oracle Hyperion Smart View for Office , Fusion Edition Release 11.1.1.1.0
    You can find the files on Oracle edelivery or here
    Cheers
    John
    http://john-goodwin.blogspot.com/
    John

  • What Files are required to install R12 VISION with out Express selection???

    Hi,
    I had installed R12 before, and i could nt received any error. installation was OK,
    Now i am installing in same way on diffrent machine now i am getting error
    E:\oracle\....\visdb\....\temp\oradun91.cmd (Some thing like that). I think i have missed some files.
    this error come at setp 1 of 5.
    when 91 files unzipped successfully.
    I want to know which file is missing. LOG file does not shows the name of missing of folder or directory name.
    What Files are required to install R12 VISION with out Express selection on Windows server 2003.
    so that i extract that file again.....
    thanks a lot
    regards.
    kalash

    Please check the following log files for any further details about the error:
    1) <RDBMS ORACLE_HOME>/appsutil/log/$CONTEXT_NAME/<MMDDHHMM>.log
    2) <RDBMS ORACLE_HOME>/appsutil/log/$CONTEXT_NAME/dbInstall.log
    I assume you are using the same Stage area, so it should work fine no matter what instance you are trying to install.
    What Files are required to install R12 VISION with out Express selection on Windows server 2003What do you mean by missing and required files? As stated above, you should have the complete stage area staged properly.

Maybe you are looking for

  • Can a PDF be an app?

    1.  Can you offer fillable pdf forms as an iphone or an ipad app?     Can you store the PDF on the phone?    2..  If you store a  PDF in the cloud...can somone access and display the PDF on their phone?   3.  Does Adobe have a ist of third party deve

  • IMessage has randomly stopped working on my Macbook Pro, what can I do?

    My iMessage on my macbook pro has stopped working. I can log in just fine and I have logged out and back in but still cannot send or receive messages. It worked just fine at my house and last year at college but for whatever reason it has stopped wor

  • BW or Xi?

    Hi all, Please help me. I have gone through the training of BW and Xi. and i have offer in both technology. Please tell me in which technology should i move?  Regards, Neeraj

  • MSIE and Images

    I'm working with developer 6.0 Patch 1. I've a small form with an image. All works perfectly with netscape 4.6. If I try to run that form from MSIE (4 and 5) I get an FRM- 999999 network error and the browser hangs. All works wit forms without an ima

  • Backup procedure using RMAN for 11i Instance

    Hi, we have 11.5.10.2 instance Node 1 = Application Tier ( 11.5.10.2) Node 2 = DB Tier ( 9.2.0.7) as of now, we are taking daily cold backup of both instances. we want to implement RMAN online backup for DB and take cold backup every week end only. s