create the index privilege

I like to read

http://www.DBA-Oracle.com/concepts/grant_user_privileges.htm

and there

grant create index

but I thought that it was not this privilege, such as index creation. I tried and got:

ERROR on line 1:
ORA-00990: missing or not valid privilege

So the site is bad?

Thank you

Oracleguy,
I'm not sure what is the context of the cited site but in the Oracle docs, there is a small reference that says this,
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/indexes.htm#sthref2475
>
Creating indexes

This section describes how to create indexes. To create an index in your own schema, one or more of the following conditions must apply:

The table or cluster to be indexed is in your own schema.

You have the privilege of the INDEXES on the table to be indexed.

You have the CREATE ANY INDEX system privilege. >
The irony is that there is no privilege as such who called Index priv. Once you get a create table, you get automatically create index above. As others have mentioned, there is a creation of an index , but this is something totally different.
The answer to the question you asked, there are no such priv, AFAIK.
HTH
Aman...

Tags: Database

Similar Questions

  • Creating the index at the end of the book

    I'm looking for how to finish my first cookbook and realize one of the latest contacts to create an index of the terms mentioned in the book. I'm not done yet, so that pages are moving around a lot that I've ended up, so I see there is no interest in doing it again.

    I'm looking in the forums and threads only I found on this topic are quite dated. The only solution which seems to be discussed is indexbrutal / Indexmatic now on indiscripts site. I read some of the documentation, it looks a little complicated to install. Also, it does not mention compatibility with the current version, that I work with (CC). It is said "CS5 + '...

    What I see, first you must create your own list of words you want to index, it's good, I'll do it in his time. However, for me the bulk of the work is to assemble the references to each page its on. Y at - it part built in or more current methods to create the index on the back of the book?

    Check it to create an index: http://help.adobe.com/en_US/indesign/cs/using/WS8721440D-5F68-4fd6-8115-CA3BEDACF001a.html

  • Can drop us and then re-create the index when the database is opened.

    Can drop us and then re-create the index when the database is opened.

    Yes, you can.

    Concerning
    Asif Kabir

  • How to create the index suitable for my xml...

    Hi all... I have an xml attachment saved in an XMLType column in a table that is stored in binary xml secure.
    I want to use XQuery to navigate the xml code and push the results in a normal table.

    All of this works, I have a question if all the xmlindex I want to create.
    I want to create a xmlindex so that the plan of the explain command would be cheaper.
    If I remove the where XQuery bit the explain command comes with a cost of 32, but if I use the where the bits of the cost are 223000!
    Removal of the index makes no difference if the index is not used here.

    What index to use here and especially how he specify?
    I read something on the structured and unstructured indexes, but I did not understand what and how to use them.

    If someone could help that would be great.

    A point, however: the xml used for the explain command is much longer; It contains 48385 lines instead of the rows listed here.
    Ad al of them would make the post a little longer...

    table and index:
     CREATE  TABLE XML_NAME_CLOB ( 
            OS_FILENAME varchar2(255),
            ORA_DIR varchar2(255),
            NLS_CHARSET_ID varchar2(255),
            XML_DATA XMLType,
            LOAD_DATE date,
            AUDIT_ID number)
        XMLTYPE xml_data STORE AS BINARY XML
        ;
    
     CREATE INDEX po_xmlindex_ix ON XML_NAME_CLOB (xml_data) INDEXTYPE IS XDB.XMLIndex;    
    Used XML short-circuited for brevity
    <?xml version="1.0"?>
    <?mso-application progid="Excel.Sheet"?>
    <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
              xmlns:o="urn:schemas-microsoft-com:office:office"
              xmlns:x="urn:schemas-microsoft-com:office:excel"
              xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
              xmlns:html="http://www.w3.org/TR/REC-html40">
     <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
      <Author>def</Author>
      <LastAuthor>def</LastAuthor>
      <Created>2011-10-06T15:05:31Z</Created>
      <Company></Company>
      <Version>11.9999</Version>
     </DocumentProperties>
     <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
      <WindowHeight>12525</WindowHeight>
      <WindowWidth>24795</WindowWidth>
      <WindowTopX>120</WindowTopX>
      <WindowTopY>30</WindowTopY>
      <ProtectStructure>False</ProtectStructure>
      <ProtectWindows>False</ProtectWindows>
     </ExcelWorkbook>
     <Styles>
      <Style ss:ID="Default" ss:Name="Normal">
       <Alignment ss:Vertical="Bottom"/>
       <Borders/>
       <Font/>
       <Interior/>
       <NumberFormat/>
       <Protection/>
      </Style>
      <Style ss:ID="s21">
       <NumberFormat ss:Format="#,##0"/>
      </Style>
     </Styles>
     <Worksheet ss:Name="Sheet1">
      <Table ss:ExpandedColumnCount="2" ss:ExpandedRowCount="127" x:FullColumns="1"
             x:FullRows="1">
       <Column ss:Width="63.75"/>
       <Column ss:Width="58.5"/>
       <Row>
        <Cell ss:StyleID="s21"><Data ss:Type="String">budgethouder</Data></Cell>
        <Cell ss:StyleID="s21"><Data ss:Type="String">documenten</Data></Cell>
       </Row>
       <Row>
        <Cell><Data ss:Type="String">ABU</Data></Cell>
        <Cell ss:StyleID="s21"><Data ss:Type="Number">24</Data></Cell>
       </Row>
       <Row>
        <Cell><Data ss:Type="String">ABJ</Data></Cell>
        <Cell ss:StyleID="s21"><Data ss:Type="Number">995</Data></Cell>
       </Row>
       <Row>
        <Cell><Data ss:Type="String">ACC</Data></Cell>
        <Cell ss:StyleID="s21"><Data ss:Type="Number">2754</Data></Cell>
       </Row>
       <Row>
        <Cell><Data ss:Type="String">ADD</Data></Cell>
        <Cell ss:StyleID="s21"><Data ss:Type="Number">224</Data></Cell>
       </Row>
       <Row>
        <Cell><Data ss:Type="String">ALG</Data></Cell>
        <Cell ss:StyleID="s21"><Data ss:Type="Number">310</Data></Cell>
       </Row>
       <Row>
        <Cell><Data ss:Type="String">AMM</Data></Cell>
        <Cell ss:StyleID="s21"><Data ss:Type="Number">125</Data></Cell>
       </Row>
       <Row>
        <Cell><Data ss:Type="String">WEN</Data></Cell>
        <Cell ss:StyleID="s21"><Data ss:Type="Number">106</Data></Cell>
       </Row>
       <Row>
        <Cell><Data ss:Type="String">YAO</Data></Cell>
        <Cell ss:StyleID="s21"><Data ss:Type="Number">263</Data></Cell>
       </Row>
       <Row>
        <Cell><Data ss:Type="String">ZAG</Data></Cell>
        <Cell ss:StyleID="s21"><Data ss:Type="Number">0</Data></Cell>
       </Row>
      </Table>
      <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
       <Selected/>
       <Panes>
        <Pane>
         <Number>3</Number>
         <ActiveRow>4</ActiveRow>
         <ActiveCol>3</ActiveCol>
        </Pane>
       </Panes>
       <ProtectObjects>False</ProtectObjects>
       <ProtectScenarios>False</ProtectScenarios>
      </WorksheetOptions>
     </Worksheet>
     <Worksheet ss:Name="Sheet2">
      <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
       <ProtectObjects>False</ProtectObjects>
       <ProtectScenarios>False</ProtectScenarios>
      </WorksheetOptions>
     </Worksheet>
     <Worksheet ss:Name="Sheet3">
      <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
       <ProtectObjects>False</ProtectObjects>
       <ProtectScenarios>False</ProtectScenarios>
      </WorksheetOptions>
     </Worksheet>
    </Workbook>
    Select with xquery
     select tabel.budgethouder, tabel.documenten
    from XML_NAME_CLOB,
          xmltable(
                  XmlNamespaces('urn:schemas-microsoft-com:office:spreadsheet' as "ss",
                  DEFAULT 'urn:schemas-microsoft-com:office:spreadsheet' ),
                   'for $i in /Workbook/Worksheet[1]/Table/Row[position()>1] 
                    where 
                      /Workbook/Worksheet[1]/Table/Row[1]/Cell[1]/Data/text()=''budgethouder'' and
                      /Workbook/Worksheet[1]/Table/Row[1]/Cell[2]/Data/text()=''documenten'' and
                      /Workbook/Worksheet[1]/@ss:Name=''Sheet1''
                    return $i '
                    PASSING xml_data 
                    columns budgethouder varchar2(100)  PATH 'Cell[1]/Data/text()',
                            documenten varchar2(100)    PATH 'Cell[2]/Data/text()'
                            
                  ) tabel
            where audit_id = 12;   
    Published by: MichaelR64 on 7-oct-2011 16:53

    Published by: MichaelR64 on 8-oct-2011 18:05

    You saw the answer on my blog? ;)

    begin
      dbms_xmlindex.registerparameter(
        'ext_smldata_xtb_param'
      , 'XMLTable ext_smldata_xtb ... big text content here ... '
      );
    end;
    /
    
    create index ext_smldata_sxi on ext_smldata (object_value)
    indextype is xdb.xmlindex parameters ('PARAM ext_smldata_xtb_param')
    ;
    
  • Drop and re-create the index on the current table

    Hello

    I just have a few questions about the removal and creating indexes on a table that activates a lot.

    Let me explain first:

    The table is used by the application with the DML statements every 3 seconds and I want to do is to drop the indexes and re-create them.
    But Im worried about the consequences - what happens when I try to recreate the indexes and the table has an option rowlock/used by the application?

    P.S
    It's production environment - so I can't stop the application.


    BR / Ander

    A reconstructed index either Online or Offline.

    Online index rebuild features:

    ALTER INDEX REBUILD ONLINE;

    LMD is allowed on the base table
    It's relatively slow
    Base table is targeted for the new index
    Base table is locked in shared mode and DOF is not possible
    Intermediate table stores changes to data in the base table, during the rebuilding of indexes to update the new index later

    Offline index rebuild features:

    ALTER INDEX REBUILD. (Default)
    Does not refer to the base of the table and the base table is exclusively locked
    New index is created from the old index
    Not possible DML and DDL on the base table
    Relatively faster

  • Error creating the Spatial Index for SRID 8307 on newly hardened database

    Oracle 11g Rel2, Windows 2003 platform

    Help, please...

    Meeting with error message:
    ERROR on line 1:
    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE
    ORA-13249: internal error in the Spatial index: [mdidxrbd]
    ORA-13249: geodetic initialization error turn
    ORA-13249: SRID 8307 does not exist in the table MDSYS.CS_SRS
    ORA-29400: data cartridge error
    ORA-04063: package body 'MDSYS. SDO_CS"contains errors
    ORA-06512: at the 'MDSYS. SDO_INDEX_METHOD_10I', line 10

    After running the command

    INSERT INTO USER_SDO_GEOM_METADATA VALUES
    ("PointGeometry",
    "pointGeom,"
    MDSYS.sdo_dim_array (mdsys.sdo_dim_element ('Longitude',-180, 180, 1),
    mdsys.sdo_dim_element('Latitude',-90,90,1)),
    8307
    );

    CREATE the INDEX IDX_POINTGEOMETRY on PointGeometry (pointGeom) indextype is mdsys.spatial_index parameters('LAYER_GTYPE=POINT');

    When I ask mdsys.sdo_cs I see that there are actually SRID 8307. This index was created in this schema without problem. The problem only arises once the hardened customer database and we tried to recreate the schema (and index).

    Probably not coincidentally, I also get error:
    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE
    ORA-04063: package body "CTXSYS. DRIXMD' has errors
    ORA-06508: PL/SQL: called program unit is not found: 'CTXSYS. DRIXMD ".
    ORA-06512: at "CTXSYS. DRUE", line 145
    ORA-06512: at "CTXSYS. TEXTINDEXMETHODS', line 366
    ORA-04063: package body "CTXSYS. DRIXMD' has errors
    ORA-06508: PL/SQL: called program unit is not found: 'CTXSYS. DRIXMD ".

    When attempting to create and index Oracle Text context.

    Your help is greatly appreciated.

    Then, that's the problem.

    MDSYS user now has not run, and select privileges on the dbms_lob package.

    You must grant privileges on this package in MDSYS.

    Note that you can run into other issues of privilege package like this, so you must correct all by the granting of the
    required privileges for MDSYS.

    Siva

  • Cannot create the spatial index

    It's a little bit of the puzzle for me this one, I made this little time on different system and I do not understand why it's here

    Oracle 11.1.0.7 Windows 64-bit

    We have simple following table:

    CREATE TABLE DASHBOARD. DSGEOEXCEPTION
    (
    GEOIDE NUMBER NOT NULL,
    ZORDER INTEGER DEFAULT 0 NOT NULL.
    HOUSENO VARCHAR2 (100),
    STREET VARCHAR2 (100),
    VARCHAR2 (100) SUBURBAN,.
    CITY VARCHAR2 (100),
    COUNTY OF VARCHAR2 (100),
    DESCRIPTION VARCHAR2 (200),
    MDSYS FORM. SDO_GEOMETRY
    )
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    NOMONITORING;

    ALTER TABLE DASH. (ADD) DSGEOEXCEPTION
    CONSTRAINT DSGEOEXCEPTION_PK
    KEY ELEMENTARY SCHOOL
    (GEOIDE)) ;



    Insert values (user_sdo_geom_metadata)
    "DASHBOARD. DSGEOEXCEPTION',.
    "FORM."
    MDSYS. () SDO_DIM_ARRAY
    MDSYS. SDO_DIM_ELEMENT ('LONGITUDE',-180, 180, 0.00005),
    MDSYS. SDO_DIM_ELEMENT ('LATITUDE',-90, 90, 0.00005)
    ),
    8307);

    until then, everything is good.

    I run the two sql suite to ensure that everything is fine

    Select * from USER_SDO_GEOM_METADATA;
    Dashboard. DSGEOEXCEPTION, shape, ((LONGITUDE,-180, 180, 5E-5), (LATITUDE, -90, 90, 5th-5),), 8307
    select * from mdsys.sdo_geom_metadata_table
    DASHBOARD, dashboard. DSGEOEXCEPTION, shape, ((LONGITUDE,-180, 180, 5E-5), (LATITUDE, -90, 90, 5th-5),), 8307
    select * from ALL_SDO_GEOM_METADATA;


    first 2 return one row as planned last returns nothing

    creating the index

    CREATE INDEXES DASH. DSGEOEXCEPTION_SIDX ON DASHBOARD. DSGEOEXCEPTION
    (FORM)
    INDEXTYPE IS MDSYS. SPATIAL_INDEX
    NOPARALLEL;

    or

    CREATE INDEXES DASH. DSGEOEXCEPTION_SIDX ON DASHBOARD. DSGEOEXCEPTION
    (FORM)
    INDEXTYPE IS MDSYS. SPATIAL_INDEX;


    fails with the error:

    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE
    ORA-13203: cannot read the notice USER_SDO_GEOM_METADATA
    ORA-13203: cannot read the notice USER_SDO_GEOM_METADATA
    ORA-06512: at the 'MDSYS. SDO_INDEX_METHOD_10I', line 10



    According to one of the posts, I run this

    ALTER session set current_schema = MDSYS;
    @$ORACLE_HOME/md/admin/prvtgmd.plb

    but no difference I can always create index


    Any suggestions?

    Please, try the following:

    Insert values (user_sdo_geom_metadata)
    "DSGEOEXCEPTION,"
    "FORM."
    MDSYS. () SDO_DIM_ARRAY
    MDSYS. SDO_DIM_ELEMENT ('LONGITUDE',-180, 180, 0.00005),
    MDSYS. SDO_DIM_ELEMENT ('LATITUDE',-90, 90, 0.00005)
    ),
    8307);

  • Creates an Index and now the TOC disappeared on the HR server

    I posted about this before and have not really got an answer that solves our problems. This morning my co-worker has created a system of help using FlashHelp Pro, he has published on the RoboHelp Server... it seems fine. Still, she had not created an index so she went back into RoboHelp and created the index. When it posted its files on the server of HR, the table of contents are now gone. The content pane is there, just no content that the scroll bar is as it is going to take, but disappears. We tried republication, empty the temporary Internet files, screaming at the computer... nothing.

    After much research, we noticed that RoboHelp Server adds a bunch of entries after your .htm file in the address bar. This effectively changes the functions of the HR server on and outside reports. Here is an example: http://server/robo/projects_fhpro/projectname/file.htm# > > prj = Example project > > cap = project example > > pbs = toc | ndx | NLS | GLS > > APB = toc > > pot = > > pan = 0

    When you delete these additions to the address of the table of contents appears again in his project.

    Therefore, he said that RoboHelp is playing with something in the things he puts into the address.

    No idea what's going on? What happened three people enough to chance now, and I get annoyed by it.

    If you have the answer you are looking for, you're officially my hero!

    My question has been answered! RoboHelp Server don't like spaces in the names of your project, so if you have spaces, then replace with underscores or take out all together. In fact, I went in the project folder on my drive local and had to rename my project file with underscore to make it work. After republish it on the server... BOOM... the Table of contents is back. I missed it greatly, but we meet once more

  • Creating an Index associated with a constraint

    I'm a beginner,

    I got confused, can someone explain what follows...



    _ Creating an Index associated with a constraint

    Oracle database applies a UNIQUE key or a constraint integrity PRIMARY KEY on a table by creating a unique index on the unique key or primary key. This index is created automatically by the database when the constraint is enabled. No action is required by you when you run the CREATE TABLE or ALTER TABLE statement to create the index, but you can optionally specify an ESCALATION using clause to exercise control over his creation. This includes them when a constraint is defined and enabled, and when a constraint defined but disabled is selected.

    To enable a constraint UNIQUE or PRIMARY KEY, thus creating an index associated, the owner of the table must have a quota for the tablespace intended to hold the index or the UNLIMITED TABLESPACE system privilege. The index related to a constraint always takes the name of the constraint, unless you optionally specify otherwise.

    Yes, you are right. As above Sybrand and docs say that we can use the INDEX USING something like this:

    CREATE TABLE is)
    A1 INT PRIMARY KEY to the AID of INDEX (create index on a (a1) AI));

    Just read this link, it has all the answers.

    http://docs.Oracle.com/CD/B28359_01/server.111/b28310/indexes003.htm

    Concerning
    Girish Sharma

  • run immideate Create spatial index

    I can't create a spatial index in the package when using
    run immideate

    declare

    l_res varchar2 (500);
    Start
    l_res: = ' CREATE INDEXES INDXSDO1_elements
    (GEOMETRY)
    INDEXTYPE IS MDSYS. SPATIAL_INDEX';

    immediately run l_res;
    end;

    I get an exception:

    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE
    ORA-13249: internal error in the Spatial index: [mdidxrbd]
    ORA-13249: error in the Spatial index: index build failed
    ORA-13249: error in R-tree: [mdrcrtscrt]
    ORA-13231: unable to create the index table [$MDRT_FC41] creating R-tree
    ORA-13249: Stmt-run failure: CREATE TABLE 'GMT_TECH '. MDRT_FC41$ (NUMBER, NUMBER OF NODE_LEVEL, BLOB INFO NODE_ID) LOB (INFO) STORE (CACHE) AS NOLOGGING PCTFREE 2
    ORA-29400: data cartridge error
    ORA-01031: insufficient privileges
    ORA-06512: at the 'MDSYS. SDO_INDEX_METHOD_10I', line 10
    ORA-06512: at "GMT_TECH. REBUILDINDEX", line 66
    ORA-06512: at line 3 level

    Why does this happen?
    I can create indexes without immediate execution

    CREATE the INDEX INDXSDO1_elements
    (GEOMETRY)
    INDEXTYPE IS MDSYS. SPATIAL_INDEX


    Thank you!

    Have you granted 'create table' and "create sequence" for the user? To do this explicitly rather than by a role.

  • problems of creating spatial indexes

    Hello

    I downloaded Oracle 10.2 Express edition and installed locally, (they don't want me to play with the regular database here until I learned a little bit about it :), and I'm trying to learn how spatial data in Oracle Locator on the work by working, for example, they have to http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14255/sdo_objrelschema.htm#i1004750

    I created a gisuser with DBA DBA privilege to the SQL command line. GISuser strives through the database homepage.

    Everything seems OK until I try to create indexes

    CREATE INDEX cola_spatial_idx
    ON cola_markets (shape)
    INDEXTYPE IS MDSYS. SPATIAL_INDEX;

    Gives errors:
    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE
    ORA-13203: cannot read the notice USER_SDO_GEOM_METADATA
    ORA-13203: cannot read the notice USER_SDO_GEOM_METADATA

    When I try to check the metadata:
    Select * from user_sdo_geom_metadata;
    gives:
    ORA-00932: inconsistent data types: expected NUMBER obtained MDSYS. SDO_DIM_ARRAY

    Same answer for:
    Select * from mdsys.sdo_geom_metadata_table;

    When I write the same query to command line, I get:

    SQL > select * from mdsys.sdo_geom_metadata_table;

    SDO_OWNER SDO_TABLE_NAME
    -------------------------------- --------------------------------
    SDO_COLUMN_NAME
    --------------------------------------------------------------------------------

    SDO_DIMINFO (SDO_LB, SDO_UB, SDO_DIMNAME, SDO_TOLERANCE)
    --------------------------------------------------------------------------------

    SDO_SRID
    ----------
    ANONYMOUS COLA_MARKETS
    FORM
    SDO_DIM_ARRAY (SDO_DIM_ELEMENT ('X', 0, 20, 005), SDO_DIM_ELEMENT ('Y', 0, 20, 00)

    (5))


    SDO_OWNER SDO_TABLE_NAME
    -------------------------------- --------------------------------
    SDO_COLUMN_NAME
    --------------------------------------------------------------------------------

    SDO_DIMINFO (SDO_LB, SDO_UB, SDO_DIMNAME, SDO_TOLERANCE)
    --------------------------------------------------------------------------------

    SDO_SRID
    ----------

    which seems to me that the metadata is as it should be?

    I will be grateful for any ideas on what to do to solve the problem.

    -partially solved:
    I dropped the index and recreated on the PLSQL command-line. Got error messages:
    ERROR on line 1:
    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE
    ORA-13203: cannot read the notice USER_SDO_GEOM_METADATA
    ORA-13203: cannot read the notice USER_SDO_GEOM_METADATA
    ORA-06512: at the 'MDSYS. SDO_INDEX_METHOD_10I', line 10

    But even you I got these error messages, it strives to make some queries to command line, but not yet to the homepage.

    SQL > SELECT SDO_GEOM. SDO_INTERSECTION (c_a.shape, c_c.shape, 0.005)
    2 OF cola_markets are, cola_markets ikram
    3 WHERE c_a.name = 'cola_a' AND c_c.name = 'cola_c ';

    SDO_GEOM. SDO_INTERSECTION (C_A.SHAPE, C_C.SHAPE, 0.005) (SDO_GTYPE, SDO_SRID, SDO_PO

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

    SDO_GEOMETRY (2003, NULL, NULL, SDO_ELEM_INFO_ARRAY (1, 1003, 1), SDO_ORDINATE_ARR)

    AY (4, 5, 3, 3, 5, 3, 5, 5, 4, 5))

    DB home page, I always get:
    ORA-00932: inconsistent data types: expected NUMBER obtained MDSYS. SDO_GEOMETRY

    This means can't work with spatial data in the DB home page?
    Why do I get these errors when I created the index, when it seems to work anyway?

    The last request in example gives errors:
    SQL > CREATE TABLE val_results (ROWID, VARCHAR2 result sdo_rowid (2000));

    Table created.

    SQL > SDO_GEOM APPEAL. VALIDATE_LAYER_WITH_CONTEXT ('COLA_MARKETS', 'FORM',
    2 "VAL_RESULTS", 2);
    DIAL THE SDO_GEOM. VALIDATE_LAYER_WITH_CONTEXT ('COLA_MARKETS', 'FORM',
    *
    ERROR on line 1:
    ORA-13203: cannot read the notice USER_SDO_GEOM_METADATA
    ORA-13203: cannot read the notice USER_SDO_GEOM_METADATA
    ORA-06512: at the 'MDSYS. SDO_3GL', line 665
    ORA-06512: at the 'MDSYS. SDO_GEOM", line 3770
    ORA-06512: at line 1

    SQL > SELECT * from val_results;

    no selected line

    When I check for data

    SQL > select * from user_sdo_geom_metadata;

    no selected line

    but
    Select * from mdsys.sdo_geom_metadata_table
    given that he has given, it is not available in the view. What can I do about it?

    Eija

    Edited by: user12093437 23-Oct-2009 00:55

    Published by: user12093437 on 23-Oct-2009 01:15

    Published by: user12093437 on 23-Oct-2009 01:31

    The SDO_GEOMETRY and other types of objects are not supported in tools, use the command line
    sqlplus to create.
    Similarly, you will not be able to select objects using the tool that you use, so you must use the command line to select them as well.

    If you look at your metadata entry, he was ANONYMOUS for the SDO_OWNER that is the problem.
    So delete this entry and recreate metadata from the command line.

    Siva

  • Creating / deleting indexes using a Package

    In SchemaA:
    CREATE OR REPLACE PACKAGE TESTPACKAGE AS
    PROCEDURE Create_Indexes;
    PROCEDURE Drop_Indexes;
    END TESTPACKAGE;
    /
    
    CREATE OR REPLACE PACKAGE BODY TESTPACKAGE AS
    PROCEDURE Create_Indexes
    IS
    BEGIN
    EXECUTE IMMEDIATE 'CREATE UNIQUE INDEX SCHEMAB.IDX1 ON SCHEMAB.TABLEA (COLUMN_PK) NOLOGGING NOPARALLEL';
    COMMIT;
    EXCEPTION
       WHEN NO_DATA_FOUND THEN
           DBMS_OUTPUT.PUT_LINE('NO DATA FOUND IN BASE TABLES' );
       WHEN OTHERS THEN
          DBMS_OUTPUT.PUT_LINE('ERROR MESSAGE:' || SQLERRM );
    END;
    
    PROCEDURE Drop_Indexes
    IS
    BEGIN
    EXECUTE IMMEDIATE 'DROP INDEX SCHEMAB.IDX1';
    COMMIT; 
    
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    DBMS_OUTPUT.PUT_LINE('NO DATA FOUND IN BASE TABLES' );
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERROR MESSAGE:' || SQLERRM );
    END;
    
    END;
    {code}
    I have granted the following on SCHEMAB.TABLEA to SCHEMAA
    
    GRANT SELECT, INSERT, UPDATE, DELETE, REFERENCES, ALTER, INDEX ON TABLEA TO SCHEMAA;
    
    The problem is that when i am logged into Oracle 10g I can execute any of the commands i have put into the execute immediate and they work. However when I execute the package it tells me it has completed but the index has not been created nor has it been dropped in SchemaB. I am not getting any error messages displayed.
    
    The reason before anyone asks why is that there is a nightly load of data happening from scratch so the process is basically Schema A will drop the indexes , execute a truncate table statement on the tables in schema B. The populate will happen and then the create indexes will be executed. This is being done for speed.
    
    Any help would be greatly appreciated.
    thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    (1) A ONCE OTHER exception that does not again raise an exception handler is almost certainly a mistake. In your case, you write DBMS_OUTPUT via error message, but unless your front end comes to try to read and display the DBMS_OUTPUT buffer, the error will be ignored. You really want to remove this exception handler.

    (2) creating an index will not trigger a NO_DATA_FOUND if there is no data in the table, this exception handler is superfluous.

    (3) If you want that the user has to be able to create an index in the schema of the user B, the user must be granted the CREATE ANY INDEX privilege (directly, not through a role). If you get a permissions error after removing incorrect exception handlers, create the index, this is probably the problem. If you get an error of permissions deleting the index after removing incorrect exception handlers, you need to ensure that the user is granted the privilege to DEPOSIT ANY CLUE.

    (4) since the different PRIVILEGES (CREATE ANY INDEX, DROP ALL INDEXES, etc.) are powerful enough and not limited to a particular schema, is there a logical reason does not put this code in detail b. first?

    Justin

  • TDMS open, FALSE to create an index file bug?

    Hello

    I have the version of LabView 2013 Pro. I (would) like the new feature to choose to not create index file when you open a new TDMs file for data logging.

    However, even if I wire a constant TAMPERING to the Terminal "create index file?", when my farm asks the PDM file after recording data, an index file is created.

    I correctly write data and close the file in the end...

    Is this a bug?

    You can try to reproduce it?

    Thank you!

    Hi man,

    According to you the description that the index file is created when you stop recording of data. If your machine is running the DataFinder (it's a service installed by DIAdem), the DataFinder will start indexing the TDMS files when the TDMS file is closed. If LabVIEW does not create the index TDMS during the recording of data file, but the DataFinder indexing service creates him index file TDMS when process data recording stops.

    So if you have the DataFinder running on your computer, please, try to turn off the service of indexation of DataFinder icon in the system tray.

    Kind regards

    Tianbin

  • Re-create all indexes on new data files

    Hello

    on FSCN 9.2 on Win 2008

    We'll re-create all indexes (belonging to sysadm) in the new data files.

    -Are there any script or utility to do this?

    -can you offer me any scenario?

    Otherwise, I think only of:

    0-extract DDL for all areas of storage and index.

    1-drop tablesapces

    2 Create tablespaces (by the DBMS_GETDLL script ('TABLESPACE'...)

    3 re-create all indexes (by the DBMS_GETDLL script ('INDEX',...))

    4 rebuild all indexes.

    Any idea?

    Thank you.

    of 786997.1

    There is no trace of PeopleTools that stores the name of the tablespace for the index.

    Here's how to work the tablespaces.

    There is a table called PSDDLMODEL where we store the information of DOF model for index and table creation, among other things. DDL models contain a template with replaceable parameters. One of the parameters in the create index Oracle is a field called INDEXSPC. This field by default is PSINDEX.

    If you wish to override this value, you can go in the App Designer, open a folder, select Tools-> data Administrations-> select Index to edit the index and then select modify DDL, then select change the setting for the Create Index and Create Unique Index model. This replaces PSINDEX for this record. The name of the underlying table is PSIDXDDLPARM.

    If you want to change the default PSINDEX to something else, go to the utilities Menu and use DOF model by default and change the PSINDEX to something else. Once you change this setting, the next time that you create the index, it will be created in the tablespace.

    If you create an index in a different tablespace outside PeopleSoft, we have no knowledge of this and do not update our tables in order to take into account where he currently resides. Once you have updated the default template and replaced the records you want to replace, you can make a Data Mover, followed of a Data Mover import export and the index will be created as they have been redefined. Or you can just do a SQL Create Index and re-create all of them.

  • SDO_NN giving ORA-13249: SDO_NN cannot be assessed without using the index

    Hi people,

    I do not understand why the SDO_NN gives ORA-13249 in circumstances.

    SQL > SELECT SlavaTest WHERE SDO_NN s s.title (s.geometry, SDO_GEOMETRY (2001, 4326, SDO_POINT (14.0, 49.0, NULL), null, null)) = 'TRUE' and title like '%' and rownum < 10;

    TITLE
    --------------------------------------------------------------------------------
    MultiPoint_305199
    LineString_691779
    MultiPolygon_180478
    MultiPolygon_358113
    MultiPolygon_53008
    MultiPolygon_249905
    MultiPolygon_204076
    MultiPolygon_636994
    MultiPoint_464514

    9 selected lines.

    SQL > SELECT SlavaTest WHERE SDO_NN s s.title (s.geometry, SDO_GEOMETRY (2001, 4326, SDO_POINT (14.0, 49.0, NULL), null, null)) = 'TRUE' and timestamp > = to_timestamp (January 6, 2011 ', ' dd/mm/yyyy') and rownum < 10;
    SELECT SlavaTest WHERE SDO_NN s s.title (s.geometry, SDO_GEOMETRY (2001, 4326, SDO_POINT (14.0, 49.0, NULL), null, null)) = 'TRUE' and timestamp > = to_timestamp (January 6, 2011 ', ' dd/mm/yyyy') and rownum < 10
    *
    ERROR on line 1:
    ORA-13249: SDO_NN cannot be assessed without using the index
    ORA-06512: at the 'MDSYS. MD", line 1723
    ORA-06512: at the 'MDSYS. MDERR", line 17
    ORA-06512: at the 'MDSYS. PRVT_IDX', line 49

    The spatial index is created with:
    CREATE the INDEX SlavaTest_geometry_idx_spatial ON SlavaTest (geometry) INDEXTYPE IS mdsys.spatial_index;

    'Title' and 'timestamp' columns have an index.

    Note the query comes from Hibernate and I can't change it's arbitrary.

    Slava2 wrote:
    What this means - there is a bug in Oracle?

    Well, it could probably be considered a, but [url http://docs.oracle.com/cd/E11882_01/appdev.112/e11830/sdo_operat.htm#i78067] documentation on SDO_NN warns you:

    Documentation says:
    However, if the column in the WHERE clause predicate specifies a non-space column in the table for geometry1 with an associated index, make sure that this index is not used by specifying the NO_INDEX indicator for this index.

    See you soon,.
    Stefan

Maybe you are looking for