What privileges are needed to create XMLIndex in the scheme of someone else?

Hello

I am logged in as 'system as sysdba' and try to create a XMLIndex in another scheme called 'eventschema '. The command fails with "ORA-01031: insufficient privileges". How is it, I can create a relational index in eventschema, but not a XMLIndex? What a privilege system or eventschema must? I gave UNLIMITED_TABLESPACE to eventschema already, but that has not solved 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 - Production
Any help is appreciated!

Thank you!
-Daniela

Just to be clear schema account EVENTSCHEMA is missing from the privileges, not the account that is running (like the conn / as sysdba proven)

Start first with

grant create any directory, drop any directory, connect, resource, alter session, create view to EVENTSCHEMA identified by {password}

Published by: Marco Gralike, July 16, 2011 16:55

Tags: Database

Similar Questions

  • What files are needed to access the aspect of the heritage of GarageBand?

    What files are needed to access the aspect of the heritage of GarageBand? After the upgrade my MacBook Pro and Mac Pro, the appearance of the inheritance is only accessible to the general public on the MacBook Pro. What files are needed for these instruments of the legacy and the filters on my MacPro? I read that the removal and reinstallation of GarageBand 6.05 will do but 6.05 GB certificates have expired and is no longer allow it to be installed. Any help is greatly appreciated.

    I read that the removal and reinstallation of GarageBand 6.05 will do but 6.05 GB certificates have expired and is no longer allow it to be installed. Any help is greatly appreciated.

    You always have an installer for GarageBand 11?  An installation of iLife 11 DVD or the DVD Installer original system for snowLeopard with applications for funding?

    You can install GarageBand 11 of these media, if you set the date system your mac to a date until the installer has been released. Then, the certificate will be valid.

    the appearance of the inheritance is only accessible to the general public on the MacBook Pro.

    But because of legacy patches are available on your MacBook pro, you can copy all the missing files from the library of the Instrument and loop library in your other Mac.

    Compare these files in the folder/library on your system drive on Mac of high level.

    The instrument library: Library/Library/Application Support/GarageBand/Instrument.

    and loop library: / Library/Audio/Apple Loops/Apple /.

    Copy all the files to the corresponding folders on your MacBook Pro that is not there.

  • What drivers are needed for HP pavilion 15-p086sa

    What drivers are needed for this operating system-Windows 7

    Pavilion 15-p086sa

    HP

    Hello:

    The W7 x 64 drivers for this model should work...

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4063 & LC = on & CC = US & DLC = in & sw_lang = & Product = 7174370 #N3338

    For graphics, your model uses the Intel HD graphics driver.

  • What components are needed for a deployment of Site Recovery Manager?

    What components are needed for a deployment of Site Recovery Manager?

    Instances of vSphere, vCenter Server and Site Recovery

    Manager are required at the time the protected site and the

    recovery site (this does not imply aspects of license.

    Licenses are covered in a segment later in this document)

    Site Recovery Manager also requires an underlying replication

    product to copy virtual machines on the recovering site.

    Customers have the choice of using either vSphere replication

    or a third-party software based on replication.

    When you use the Bay, a storage-based replication software

    Replication adapter (SRA) is also required.

  • What should I do if I share an Apple ID with someone else and want to separate?

    What should I do if I share an Apple ID with someone else and want to separate?

    Back in the day, I couldn't create one identifier Apple I was in high school and did not have a credit card so I used Apple ID my father

    Best way is to get up an ID new Apple because using the same Apple ID will share your information with another person with the same account

  • What privileges are required to run dbms_comp_advisor...

    I installed dbms_comp_advisor a package provided by Oracle to find what are the tables

    Can be compressed OLTP...

    I logged in as sys, I then installed

    1. dbmscomp. SQL
    2. prvtcomp. PLB
    3. dbmscomp. SQL is the following:

    CREATE or REPLACE PACKAGE dbms_comp_advisor authid current_user

    IS

    PROCEDURE getratio)

    OwnerName IN varchar2,

    tabname IN varchar2,

    sampling_percent in numbers

    );

    END dbms_comp_advisor;

    /

    CREATE or REPLACE PUBLIC SYNONYM dbms_comp_advisor FOR sys.dbms_comp_advisor

    /

    GRANT EXECUTE ON dbms_comp_advisor to THE PUBLIC

    So I can run any account dbms_comp_advisor...

    Now I want to run:

    dbms_comp_advisor.getratio exec ('SCOTT', 'EMP', 50.0)

    I am logged in as SCOTT, I can perform the procedure successfully

    But I try to log in as any other account (no DBA). for example, testcompress, I get the error:

    SQL error message: ORA-00942: table or view does not exist...

    I have already given select_catalog_role to testcompress, but that did not help.

    What privileges should I admit to testcompress account so it an execute without causing error ORA_942 dbms_comp_advisor...

    Calculation of the rate of Compression | Marcel & #039; s Blog

    GOOGLE is broken for you?

  • Camileo P10 - what tools are needed?

    Hello

    first of all, I wanted to ask what codec is needed to edit the footage shot with a Camileo P10. I wanted to edit videos with Adobe After Effects, but it went all * files, indicating something preblems with audio and played the video chopped and cut. NA not having any problems, even corrupted video files worked better than the sh * this camera grows out of its sd slot.

    NO, I don't want to convert the files.
    NO, I do have solutions workaround.
    NO, I won't buy an another Toshiba cam.
    NO, I do have links of old threads that lead me no hand.

    What I want to hear is what Codec is needed, because there must be a mistake with it. Pieces very well with VLC, but not with WMP, winamp, quicktime, nothing else.

    Alternatively, you can suggest some tools that I use. I would have preferred a sledgehammer, but maybe a buzz saw is fine too. Unfortunately, I can't make a video to destroy the cam. You should know why.

    Hello

    > btw, I thought that it out by myself
    You can also post how you set for yourself? I think it would be interesting for other users.

    In addition, I put t understand your problem. Here he s a user to user forum where you can talk with people like you and me. This means that there is no guarantee that you will get an answer to your question. Not all questions can be answered users then sometimes it s advisable to contact an official authorized service provider. Guys can provide truly professional assistance.

    And I doubt that other manufactures have a better support. From my experience, I can say as I m satisfied with this forum and my authorized service provider and as you can read here, that can confirm many other users as well.

    Finally and above all the door here in the forum is portable because it s a Support Forum of computer systems that you see under the Toshiba Logo. Do you know what that means? This means that most discussions and users are in the notebook section research and software only.

    In any case, I m glad to hear the problem is solved. :)

  • Hyperion publishing merger planning, what components are needed?

    Hello

    Currently, we plan to install Hyperion Planning merger edition, but we are not certain what components are necessary if we want to use the planning with EPMA/BPMA. Can someone please send a list of required applications/components?

    In addition, where from can I download Oracle Hyperion Enterprise Performance Management architect, Fusion edition, v11.1.1.1.1? The documentation states that such a version exists, however, we are unable to locate it on the web pages of Oracle.

    Thank you
    Concerning
    Marcin Stawny

    Hello

    You will need the following: -.

    Oracle Hyperion Enterprise Performance Management System install, 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 version 11.1.1.1.0

    Oracle Essbase Server Release 11.1.1.1.0

    Release of Oracle Hyperion 11.1.1.1.0 Provider Services (if you want to use SmartView)

    Oracle Hyperion Planning, Fusion Edition Release 11.1.1.1.0

    Oracle Hyperion Smart View for Office, Fusion 11.1.1.1.0 version

    You can find here or delivery Oracle files

    See you soon

    John
    http://John-Goodwin.blogspot.com/

    John

  • Adobe Application Manager error - administrator privileges are needed to continue the installation

    Adobe Application Manager error - administrator privileges are required to continue installation

    I'm already logged as long as administrator - there isn't a single account

    Windows 7.0

    any ideas on how to solve the problem?

    I just manually downloaded the MAO, installed and it worked, thank you

  • Creating table in the schema has with the user B and granting permissions to the user C

    Hello, I have a problem fun - we have a large table which requires a batch to make millions of updates, and he needs to finish more quickly. It takes several hours as an update, but a select create table did the same thing in about a minute. Yay! Then we just delete the old table and rename the new table to the former, rebuild all the index and grant select/insert/update/delete permissions to another user who needs access... and there is the problem, Oracle said insufficient privs.

    We have A figure, which is the owner of the table, userid B who done all the stuff of application batch and userid C which performs inserts for a process of middleware. None of them are actual users, of course. We want that user B to do the ETG, rename, rebuild and re-grant of the authorisation of the index. But user B apparently cannot grant permissions on objects in the schema A to user C, even if B has created the table and has the role DBA (not ideal, I know)!

    What's really crazy is that there is no sense unique user b can grant permissions to user C, which is to:

    grant select any table USER c;
    grant insert any table USER c;
    grant update any table USER c;
    Grant delete any table USER c;

    It seems really perverse can create tables in diagram A and even grant C privs "whole table" that user B, but may not grant privs specifically on this object in the schema A, even with DBA privs. I must be missing something... right?

    Yes. By default, the stored procedures are stored procedures from DEFINER rights. If A is the owner of a stored procedure, this stored procedure can do whatever A enjoys the privileges to directly. If A grants B privileges RUN this stored procedure, when B calls the stored procedure, the procedure runs with the privileges.

    I agree point stew, however, re-creating objects in Oracle is generally a bad idea and a TRUNCATE with one insert direct-path, possibly combined with the deactivation and the rebuilding of the index would be more appropriate than a DEC. If you're going to stick with this Assignment, however, that really do in a stored procedure owned by A while B has no need to CREATE ANY TABLE.

    Justin

  • Error - ' Manager of power strategy cannot set the regime... two revision levels are incompatible "when trying to save the scheme in power options.

    Original title: cannot set a power scheme in Power Options

    Cannot set a power scheme. When I try to save the scheme, "Manager power strategy impossible to define the... two revision levels are incompatible."

    How can I fix it?

    Hi BernieHopkins,

    1 have you properly previously defined the power scheme?

    2 have you made any hardware changes or software on the computer before this problem?

    3. What is the full error message that you receive?

    If you receive the same error as mentioned in this link, you can follow this link & check if the problem persists.

    Error message: Power Manager political unable to define a strategy. Indicates two revision levels are incompatible

    Hope the helps of information.
    Please post back and we do know.

  • DataPump - expdp.open creates tables in the schema

    Hello

    I use datapump in Oracle 10 g to archive old main schema to another schema partitions.

    I noticed that when dbms_datapump.open is called and a new table is created by dbms_datadpump for internal purposes. This is verified in the oracle documentation

    http://docs.Oracle.com/CD/B12037_01/AppDev.101/b10802/d_datpmp.htm#997383

    Notes on use

    • When the task is created, a master table is created for work under the scheme of the appellant in the default tablespace of the appellant. A handful referring to employment is returned that attaches to the current session to use. Once attached, the handle remains valid until that either explicit or implicit detach occurs. The handle is only valid in the session of the appellant. Other handles can be attached to the same task from another session using the ATTACH procedure.

    Does anyone know if this table can be removed by a call to dbms_datapump Oracle 'clean', or if it has to be cleaned manually.

    can confirm that this is what you do

    v_job_handle: = DBMS_DATAPUMP. OPEN('EXPORT', 'TABLE', NULL, v_job_name);

    -The parallelism 1 value and add the file

    DBMS_DATAPUMP. SET_PARALLEL (v_job_handle, 1);

    DBMS_DATAPUMP. ADD_FILE(v_job_handle, v_job_name |) '_' || v_partition. PARTITION_NAME | ".dmp", "PARTITION_DUMPS");

    -Apply filters to process only a partition in the table

    DBMS_DATAPUMP. METADATA_FILTER(v_job_handle, 'SCHEMA_EXPR', 'IN ("SIS_MAIN")');

    DBMS_DATAPUMP. METADATA_FILTER(v_job_handle, 'NAME_EXPR', ' AS "' | t_archive_list (i) |) '''');

    DBMS_DATAPUMP. DATA_FILTER(v_job_handle, 'PARTITION_EXPR', ' IN ("' | v_partition.partition_name |)) ')', t_archive_list (i), "SIS_MAIN");

    -Use statistics (rather than blocks) to estimate the time.

    DBMS_DATAPUMP. SET_PARAMETER(v_job_handle, 'ESTIMATE', 'STATISTICS');

    -Start the work. An exception is returned if something is not installed correctly.

    DBMS_DATAPUMP. START_JOB(v_job_handle);

    -The export job should work now. We loop until its finished

    v_percent: = 0;

    v_job_state: = "UNDEFINED";

    WHILE (v_job_state! = 'DONE') and (v_job_state! = "STOPPED") LOOP

    DBMS_DATAPUMP.get_Status (v_job_handle,DBMS_DATAPUMP.ku$_status_job_error + DBMS_DATAPUMP.ku$_status_job_status + DBMS_DATAPUMP.ku$_status_wip,-1, v_job_state, m);

    js: = sts.job_status;

    -As percentage-complete in this loop changes, displays the new value.

    IF js.percent_done! = v_percent THEN

    v_percent: = js.percent_done;

    END IF;

    END LOOP;

    -Once the work is finished, view the status before you loose work.

    PRC_LOG (f1, t_archive_list (i) |) ': Export complete with status: '. v_job_state);

    -DBMS_DATAPUMP. Detach (v_job_handle);

    -Use STOP_JOB instead of DETACHING otherwise 'master' table that is created when the OPEN is called is not removed.

    DBMS_DATAPUMP. STOP_JOB(v_job_handle, 0, 0);

  • What resources are needed for ODSEE?

    ODSEE 11. I have a small environment, fewer than 100 users with 14 cases of Global multi-mode. I will create a Solaris 11.1 running ODSEE11g and DSCC and try to understand how much CPU / Cores, amount of memory, and the amount of HARD drive space I need. I was not able to find all the references for a configuration example to help me determine what I need to start with. My initial guess was 2 cores, 4 GB of ram and 50 GB of HARD drive. Someone at - there an example I can adapt to my environment?

    Thanks for the help.

    Hi Matt, the world is so small... that sometimes funny things ;-)

    The only 'problem' when dealing with deployments around the world is usually the network 'latency' between two sites "geographically dispersed", that can cause slowdowns of the replication protocol, but if the content of the directory server is essentially static (in the sense that you don't need to update frequently), you should be good.

    BTW, if you have a load very soft AUTH (and you can find these numbers by analyzing the daily logs of current systems), then "couture" another area small area or a LDOM on the T4s shouldn't be a big problem. There are also tools in DSRK (part of ODSEE) that allow you to build/simulate a workload to measure performance.

    Thank you

    Marco

    P.S.: Before closing a thread as answered, please check the correct and useful to help others find

  • After viruses need help please - what drivers are needed

    We had a virus on our satellite pro M40 and remove one of my friends "kindly" offered help. then he deleted the partition with the windows operating system booted from the CD drive and reinstalled.

    only problem now is there is no graphics or sound card and no drivers for anything whatsoever. We had the case of the laptop stolen in the car months ago and most of the supporting documentation was there.

    can anyone tell me please what we need drivers?

    Thank you

    Post edited by: herewego

    You might be better off asking this question in the Satellite Pro section of this forum that you are more likely to attract the attention of other owners of M40 there. They would probably have disk tools and utilities with the real drivers and descriptions thereon.

  • Dv6535tx HP Pavilion upgrade to Windows 7 notebook. What softpaqs are needed?

    Hi, I live in Australia & just got a laptop HP Pavilion dv6535tx of second hand on which the previous owner had installed Windows7 but no driver HP, so many things didn't work (e.g. fingerprint, Webcam reader), so I think that there will be others also. As a precaution, I have re-installed Windows7 - and the original HP recovery Partition is still intact, but I don't know if it is accessible.

    I couldn't find anything on this model (Nr GP329PA) on the web except the specs on the HP Andorra site! If a phone at HP representative said that it was purchased in Hong Kong & said HP did not support Win7 on this model and gave me a link for the Vista drivers

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=2093&LC=en&cc=us&DLC=en&sw_lang=&product=3457...

    Through this forum, I managed to find a few softpaqs that add some HP software (SupportAssistant, WirelessAssistant, RicohMediaCardReader, & Update) that works on Win7, but I need help to find Driver softpaqs.

    BTW: Here's a link to where maybe the softpaqs are located (by number only)

    FTP://FTP.HP.com/pub/SoftPaq/

    Unfortunately I can't find a single list of what is contained in it. Perhaps someone knows if it exists and where?

    So is there anyone who knows where I can find the softpaq numbers for:

    (1) the scanner software to make it work Win7 & digital loaded v3.4.3.78 pilot AuthenTec AES2501B but it doesn't seem to work.

    (2) the Webcam & microphone

    (3) IR

    (4) DVD Lightscribe burner

    (5) quick launch buttons

    Help on one of them would be much appreciated.

    Thank you, Robert

    • CyberLink YouCam software, sp56980
    • LightScribe System Software, sp46011
    • Quick Launch Button software, sp46731

Maybe you are looking for

  • 1970 bug

    Hello Stupidly, I left my I phone 6 January 1, 1970 (please don't ask why I did!) still question myself! Anyway, my phone is blocked and no updates to factory reset only works through I Tunes Can anyone help please?

  • Satellite L550 - 11K - Manager of devices displays wrong CPU

    I bought the Satellite L550 - 11K myself and stan because he has a 2.53 GHz p8700 processor. However, Device Manager, it is 2 times a T4200 processor at 2 GHz!

  • Satellite 1410-401 won't boot to the top

    Hi all A friend of mine asked me that if I can settle on his laptop, it does not start, when I click on the button that lights up the screen Toshiba but remember to come and on every 2 seconds! I can then get to a screen if I press the esc key who is

  • cancel a subscription that is not on my apple ID?

    I'm in charge 11.00 per month subscription of apple's music which is not under my ID and shows NO subscription to the title of my ID that I have consulted as well on my iphone and the laptop and it's on my telstra bill, so not sure how and where he c

  • How to program the shift register to play only when a new user is detected user?

    Hello I'm currently developing a program of position control in labview. The program is quite simple, in which case the user will enter the distance on which he wants the table in the labview program and labview will send the signal to move a motor t