ORA-13050:unable to construct spatial object in using SDO_INTERSECTION

Hi Specialists,
I am using Oracle Spatial and getting the ORA-13050 error when using the SDO_Intersection procedure. Below are the details of this.
Objective: To find the addresses whose boundary lie within a user defined polygon.
Input: List of coordinates for the user defined poygon.
Query I am using: SELECT SDO_GEOM.SDO_INTERSECTION (add.boundary, SDO_GEOMETRY(2003,8311,NULL, SDO_ELEM_INFO_ARRAY(1,1003,1),
SDO_ORDINATE_ARRAY( 149.986507,-36.727242,149.985898,-36.726819,149.986756,-36.726512,149.987288,-36.726803,149.986507,-36.727242)), 0.000001)
FROM address add
WHERE add.id = '254378298'
Error Received:
ORA-13050: unable to construct spatial object
ORA-06512: at "MDSYS.SDO_3GL", line 715
ORA-06512: at "MDSYS.SDO_3GL", line 745
ORA-06512: at "MDSYS.SDO_GEOM", line 3016
ORA-06512: at "MDSYS.SDO_GEOM", line 3065
Please can any one help me in this issue very urgent.
Thanks,
Ashish

Hi All,
The problem has been resolved by transforming the user defined polygon coordinates into the database specific coordinate system.
Thanks

Similar Messages

  • ORA-13050: unable to construct spatial object

    Hi
    I'm executing the following query
    select mdsys.sdo_geom.sdo_intersection (geoloc, :1, 20) geoloc, mdsys.sdo_geom.sdo_distance (mdsys.sdo_geom.sdo_intersection (geoloc, :2, 20), :3, 20) distance
    from streets
    where mdsys.sdo_relate (geoloc, :5, 'mask=touch querytype=window') = 'TRUE'
    order by distance
    In some locations the query works perfectly and in some other locations it throws
    ORA-13050: unable to construct spatial object
    Regards,
    Néstor Boscán

    I found the problem
    It seems I have invalid polygons in my data.
    Regards,
    Néstor Boscán

  • ORA-13050 unable to construct spatial object - Error

    Hi friends!,
    I to realize the follow query:
    SELECT A.MI_PRINX, B.DESCRIP
    FROM PEVEDISC A, PEVEGEO B
    WHERE SDO_GEOM.RELATE(A.GEOLOC,'ANYINTERACT',B.GEOLOC,0.005) = 'TRUE'
    AND SDO_GEOM.RELATE(A.GEOLOC,'TOUCH',B.GEOLOC,0.005) = 'FALSE'
    AND ROWNUM <= 10
    and result error "ORA-13050 unable to construct spatial object". Please help me, i don't know what to do!. thanks

    Hi,
    Have you validated your data? Try validating using sdo_geom.validate_geometry_with_context or sdo_geom.validate_layer_with_context.
    I would also like to offer a suggestion on how to write this query. If there are a significant number of geometries in either or both of these tables, this query can take a long time to run.
    If you create spatial indexes on these tables, then the following might be better:
    SELECT /*+ ordered */ A.MI_PRINX, B.DESCRIP
    FROM PEVEGEO B, PEVEDISC A
    WHERE SDO_RELATE(A.GEOLOC,B.GEOLOC,
    'querytype=window mask=inside+coveredby') = 'TRUE'
    AND ROWNUM <= 10;

  • ORA-27086: unable to lock file - already in use

    Hi All,
    Can any one having Idea about this Error while Upgrading from 9.2.0.4.0 to 10.2.0.2.0 on AIX 5.2 after software Installation before patch set apply when i try to start the Database im Getting this Error Below
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 784334848 bytes
    Fixed Size 2022384 bytes
    Variable Size 550634512 bytes
    Database Buffers 229507072 bytes
    Redo Buffers 2170880 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Alert_LOG
    Mon Jul 3 09:17:15 2006
    ORA-00202: control file: '/oracle/QAS/sapdata1/cntrl/cntrlQAS.dbf'
    ORA-27086: unable to lock file - already in use
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 8
    Additional information: 26492
    Please Help me..........
    Ahmed

    check do u have proper permission to access this file?
    and also check whether Is this file is access by 9i database or not.if this is the condition then shutdown the database and startup from 10g home.
    27086, 00000, "skgfglk: unable to lock file - already in use"
    // *Cause:  the file is locked by another process, indicating that it is
    // currently in use by a database instance.
    // *Action: determine which database instance legitimately owns this file.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ORA-27086: unable to lock file - already in use, Help

    We have a windows 2003 server running 10.1.02 w/multiple instances. I created a new, fresh database using DBCA. the db created OK, and I can login as sys.
    When I try to create a tablespace, I get these errors. Any suggestions, please?
    Thanks,
    Leor
    SQL> CREATE TABLESPACE BGEN_DATA
    2 DATAFILE 'BGEN_DATA.ora' SIZE 1000M REUSE
    3 AUTOEXTEND ON NEXT 2M MAXSIZE UNLIMITED
    4 ;
    CREATE TABLESPACE BGEN_DATA
    ERROR at line 1:
    ORA-01119: error in creating database file 'BGEN_DATA.ora'
    ORA-27086: unable to lock file - already in use
    OSD-04002: unable to open file
    O/S-Error: (OS 5) Access is denied.

    We have a windows 2003 server running 10.1.02
    w/multiple instances. I created a new, fresh
    database using DBCA. the db created OK, and I can
    login as sys.
    When I try to create a tablespace, I get these
    errors. Any suggestions, please?
    Thanks,
    Leor
    SQL> CREATE TABLESPACE BGEN_DATA
    2 DATAFILE 'BGEN_DATA.ora' SIZE 1000M REUSE
    3 AUTOEXTEND ON NEXT 2M MAXSIZE UNLIMITED
    4 ;
    EATE TABLESPACE BGEN_DATA
    ERROR at line 1:
    ORA-01119: error in creating database file
    'BGEN_DATA.ora'
    ORA-27086: unable to lock file - already in use
    OSD-04002: unable to open file
    O/S-Error: (OS 5) Access is denied.First of all, you need to give an absolute path to your datafile. Otherwise, it's going to be hard to track where's the file.
    Do you have other database instance running on the same server?
    PS, don't cross post on many forum.

  • ORA-22813 error when deleting spatial objects in LIVE

    Hi,
    We are getting an ORA-22813 error when attempting to delete a spatial object from a version-enabled table in workspace LIVE. The spatial object to be removed has a SDO type of multipolygon. The geometry information consists of 4 rings with a combined ordinate count of 4120. The statement used to delete the row is:
    delete from tableA where tableA.id in (select tableA.id from tableA where tableA.id = 3);
    The error occurs only on a 10g R1 Oracle instance (10.1.0.5.0) with Workspace Manager version 10.1.0.7.1. The delete operation succeeds without problems on a 10g R2 (10.2.0.2.0) instance with Workspace Manager version 10.2.0.3.1. The statement is also executed successfully on the 10g R1 instance if the table is not version-enabled.
    Any help on this would be appreciated.
    Thanks

    Hi,
    I would recommend filing a TAR in this one. The only ora-22813 error involving workspace manager and geometry columns that I know about involves queries that need to sort data for which the size of the geometry column was >30k. Does the execution plan for the delete statement involve any kind of sort? However, this is an old 9.2 bug, that I believe was fixed for all 10.1 and newer releases.
    Does the same error happen if you do not use the subquery?
    Regards,
    Ben

  • SDO_GEOM.SDO_BUFFER failed with ORA-13050

    Hello,
    I want to construct buffer for polylines.
    SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT function returns TRUE for problem geometries:
    SELECT SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(
    MDSYS.SDO_GEOMETRY(2002, NULL, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1), MDSYS.S
    121.75439, 31.37049, 121.75234, 31.36996, 121.75245, 31.37184, 121.75262, 31.373
    121.75232, 31.37518, 121.74977, 31.37854)), 1e-7)
    from dual
    SDO_GEOM.VALIDATE_GEOMETRY_WIT
    TRUE
    But SDO_BUFFER fails:
    SELECT SDO_GEOM.SDO_BUFFER(
    MDSYS.SDO_GEOMETRY(2002, NULL, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1), MDSYS.SDO_ORDINATE_ARRAY(
    121.75439, 31.37049, 121.75234, 31.36996, 121.75245, 31.37184, 121.75262, 31.37362, 121.75253, 31.37449,
    121.75232, 31.37518, 121.74977, 31.37854)), 1e-5, 1e-7)
    from dual;
    Can somebody help me with advice how to construct buffer?
    I have SDO_VERSION=9.2.0.5.0
    Data tolerance in the user_sdo_geom_metadata table is 1e-7.
    Thank you.
    PS:
    Other example of problem polyline:
    MDSYS.SDO_GEOMETRY(2002, NULL, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1), MDSYS.SDO_ORDINATE_ARRAY(
    121.68669, 31.3819, 121.68675, 31.3822, 121.68665, 31.38219, 121.68668, 31.3824,
    121.6867, 31.38242, 121.68676, 31.38241, 121.68679, 31.38254, 121.68682, 31.38254, 121.6868, 31.3824))

    Hello.
    I’m still trying to find out resolution for buffers construction :)
    Actually I've got that buffer construction works much better on geodesic data.
    Next statement is OK now:
    SELECT SDO_GEOM.SDO_BUFFER(
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1), MDSYS.SDO_ORDINATE_ARRAY(
    121.75439, 31.37049, 121.75234, 31.36996, 121.75245, 31.37184, 121.75262, 31.37362, 121.75253, 31.37449,
    121.75232, 31.37518, 121.74977, 31.37854)), 1, 1e-2, 'arc_tolerance=0.5')
    from dual;
    I run large test and got only one (currently) issue with the next poliline [ORA-13050: unable to construct spatial object]:
    select SDO_GEOM.SDO_BUFFER(
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1), MDSYS.SDO_ORDINATE_ARRAY(
    117.56163, 23.74977999, 117.56163, 23.74949001, 117.56163, 23.7492, 117.56117999, 23.74906)),
    1, 1e-2, 'arc_tolerance=0.5') from dual;
    What is wrong with that poliline?
    Are there any rules or workarounds for such cases? Can some body suggest me something about that?
    I've found only 2 workarounds for that time:
    1) I need to construct buffer within 1 millimeter tolerance. So I can round input geometry ordinates to 1 millimeter (1e-7) and try to build buffer after that. I did it for above poliline - and it works (actually it is necessary to round only second ordinate 23.74977999->23.7497799). But I don't sure that it will resolve issue entirely.
    2) I can iteratively slightly increase buffer distance until buffer construction will be OK. Above example works starting from 1.3 meter. It is not best resolution because it can alter process logic.
    Thank you.

  • ORA-27086: unable to lock file over NFS -- but it's NOT Netapp!

    My 10.2 database crashed, and when it came back I got the following error:
    ORA-00202: control file: '/local/opt/oracle/product/10.2.0/dbs/lkFOOBAR'
    ORA-27086: unable to lock file - already in use
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    This is a classic symptom of a Netapp problem, which likes to hold file locks open on NFS mounts. There is a standard procedure for clearing those locks; see, for instance, document 429912.1 on Metalink.
    Unfortunately, my files are mounted on an Isilon, one of Netapp's twisted cousins. I can find no references to "isilon" on Metalink, and we are at a loss how to resolve this.
    My sysadmin assures me that "there are no locks on the Isilon". But I know this cannot be the case, because if I do the following:
    1. delete the lockfile /local/opt/oracle/product/10.2.0/dbs/lkFOOBAR, and then
    2. move my controlfiles aside, and then copy them back into place,
    then the database will mount. However, it will not open, because now all the datafiles have locks.
    Is there anyone with experience in clearing NFS locks? I know this is more of a SA task than DBA, but I am sure my SA has overlooked something.
    Thanks

    New information:
    As stated above, I moved the controlfiles aside and then copied them back into place, like this:
    mv control01.ctl control01-bak.ctl
    cp control01-bak.ctl control01.ctlDid that for each controlfile, and then the database mounted.
    But, after rebooting the machine, we discovered that all locks were back in place-- it looks like the system is locking the files on boot-up, and not letting them go. The lock is held by PID 1, which is init.
    sculkget: lock held by PID: 1This is definitely looking like a major system issue, and not a DBA issue, and hence I have little right to expect assistance in this forum. But nonetheless I lay my situation out here before you all in case someone else recognizes my problem before the server bursts into flames!
    The system is CentOS 4.5-- not my choice, but that's the way it is.

  • Online backup failure due to ORA-27086: unable to lock file - already in us

    Hi All,
      Online backup has failed due to the error
    =========================================================
    BR0301E SQL error -27086 at location BrInitOraCreate-5, SQL statement:
    '/* BRBACKUP AT PROF_CONN */ CREATE PFILE = '/oracle/SID/102_64/dbs/sap.ora' FROM SPFILE = '/oracle/SID/102_64/dbs/spfileSID.o
    ra''
    ORA-27086: unable to lock file - already in use
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 8
    Additional information: 1388548
    BR0303E Determination of Oracle version failed
    ==========================================================
    Please suggest.

    Check the file permissions on your Oracle_home...
    And kill all the processes, which already running for backup..
    Regards,
    Nick Loy

  • ORA-29855 - Unable to allocate shared memory

    Hi,
    We are encountering troubles (unable to allocate shared memory) while indexes creation. We tried to increase the share_size_memory (actually 52 mb) but this had no effect on this error. The Oracle error code is ORA-29855.
    The database is version 8.1.7, hosted on a Linux machine (RedHat 7.2) with 512 mb of memory. The code used for the index creation works fine on other machines (code from 9iAS Wireless installation) running with Windows 2000 as operation system.
    Any help or comment will be appreciated.
    Thanks,
    Fabrice Clari.
    The error message is:
    java.sql.SQLException: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13200: internal error [ROWID:AAAGDwAAFAAAAvjAAA] in spatial indexing.
    ORA-13206: internal error [] while creating the spatial index
    ORA-13011: value is out of range
    ORA-00600: internal error code, arguments: [kope2ucoll700], [], [], [], [], [], [], []
    ORA-04031: unable to allocate 16396 bytes of shared memory ("large pool","unknown object","koh-kghu sessi","kolcalm coll")
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 8
    ORA-06512: at line 1

    Which portion of shared memory did you increase? The error indicates you need to increase large_pool_size. It seems you may also have other problems since you have several errors, and this only relates to the ORA-04031 error.

  • ORA-01658: unable to create INITIAL extent for segment in tablespace

    NEW REPOSITORY INSTALLATION ERROR!!
    I want to install a new Repository using Oracle9iR9.2.0.1 and iDS10g on windowsXP Professional the same machine.
    After running all the SQL scripts ( ckqa,ckvalqa,ckcreate,ckreport) with success to installing a new Repository on my Database using "the Scripts Method",I start the Repository Administration Utility( RAU) to scheck the priveleges and so on.
    After pressing the Install button in the RAU:
    -I take public synonyms
    -I scheck the box for "Support Designer Objects", then
    -The Repository size is Medium
    -I have not change the defauft Tablespace of the Repository_Manager names TEMPORARY_TABLES to store the index and table of System Data....Diagram Data.
    After Starting, the Installation began an stop by installing some Tables like schown :
    Operation: Started : 07/03/04 20:26:32
    Reading File: cktabs.sql
    Object : TABLE CDDL_TMP_TBL
    Executing statement(s)...
    Verifying...
    .and so on till....uns so weiter bis
    Reading File: cktabs.sql
    Object : TABLE RM$INFO
    Executing statement(s)...
    Error Submitting Definition: User intervention required...
    RME-02124: Failed to execute SQL statement: CREATE TABLE RM$INFO
    (NAME VARCHAR2(128) NOT NULL
    ,VALUE VARCHAR2(128)
    Storage (initial 4K next 4K pctincrease 0) Tablespace TEMPORARY_TABLES
    ORA-01658: unable to create INITIAL extent for segment in tablespace TEMPORARY_TABLES
    Dumping Buffer...
    CREATE TABLE RM$INFO
    (NAME VARCHAR2(128) NOT NULL
    ,VALUE VARCHAR2(128)
    ...End of Buffer
    User Requested: Stop Process
    When I read the Help of the Error the
    CAUSE was: Failed to find sufficient contiguous Space to allocate INITIAL extend for Segment being created.
    ACTION: Use ALTER TABLESPACE ADD DATAFILE to add additional space to the tablespace or retry with a smaller Value for initial.
    I then try to resolve it by schecking and changing the Values of INITIAL_VALUE and NEXT_VALUE in the ckparams.txt to 500k.I change the Values of TEMPORARY_TABLES(10214 to 51200k) and TEMPORARY_INDEXES from (20000 to 100000k).Then I run the scripts @ckparams.txt, @ckvalqa, @ckcreate but
    -pressing the Scheck Privileges Button on the RAU still give me 106k for the INITIAL_ and NEXT_VALUE.
    -And the installato still stop with the same Error.
    Question: How schould I resolve this Configuration?
    You could respond in ENGLICH, GERMAN or FRENCH
    Thank you for your Help!

    You are running into database errors. You should refer to the database documentation on how to adjust the size your tablespaces. The online Designer installation guide will advise you as to the sizes of tablespaces you require. (http://otn.oracle.com/pls/wocprod/docs/page/ocom/technology/products/designer/supporting_doc/Des10g_9044/cmnhlp72/rep_insgde/igttl_9i.htm)
    Regards
    Sue

  • Undable to drop tablespace ORA-01561: failed to remove all objects in the

    hi,
    i am unable to drop table tablespace how can i do that??
    please advise
    DROP TABLESPACE tbs_tp2 INCLUDING CONTENTS AND datafiles
    ERROR at line 1:
    ORA-01561: failed to remove all objects in the tablespace specified
    Thanks in advance
    siva
    chennai

    Have you tried dropping the objects individually? You can see which objects still belong to this tablespace by using the DBA_SEGMENTS view as shown below:
    SELECT OWNER, SEGMENT_NAME, SEGMENT_TYPE, TABLESPACE_NAME
    FROM DBA_SEGMENTS
    WHERE TABLESPACE_NAME=tbs_tp2;HTH!

  • Oracle Database 11.2 Post-Upgrade error: ORA-01658: unable to create INITIA

    Hi,
    While upgrading of database 11.1.0 to 11.2.0, i am getting the below errors.
    SQL> @$ORACLE_HOME/rdbms/admin/utlu112s.sql
    Oracle Database 11.2 Post-Upgrade Status Tool 12-28-2011 23:26:45
    Component Status Version HH:MM:SS
    Oracle Server
    . VALID 11.2.0.1.0 00:33:27
    JServer JAVA Virtual Machine
    . VALID 11.2.0.1.0 00:14:04
    Oracle Real Application Clusters
    . INVALID 11.2.0.1.0 00:00:01
    OLAP Analytic Workspace
    . VALID 11.2.0.1.0 00:00:40
    OLAP Catalog
    . VALID 11.2.0.1.0 00:02:00
    Oracle OLAP API
    . VALID 11.2.0.1.0 00:00:32
    Oracle Label Security
    . OPTION OFF 10.2.0.3.0 00:00:00
    Oracle Enterprise Manager
    . LOADING 00:00:00
    Oracle XDK
    . VALID 11.2.0.1.0 00:01:10
    Oracle Text
    . VALID 11.2.0.1.0 00:01:52
    Oracle XML Database
    . VALID 11.2.0.1.0 00:04:49
    Oracle Database Java Packages
    . VALID 11.2.0.1.0 00:00:28
    Oracle Multimedia
    . VALID 11.2.0.1.0 00:12:37
    Spatial
    . INVALID 11.2.0.1.0 00:09:51
    Oracle Application Express
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-00942: table or view does not exist
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-00942: table or view does not exist
    . ORA-00942: table or view does not exist
    . ORA-00942: table or view does not exist
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-00942: table or view does not exist
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-00942: table or view does not exist
    . ORA-00942: table or view does not exist
    . ORA-00942: table or view does not exist
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-00942: table or view does not exist
    . ORA-00942: table or view does not exist
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-00942: table or view does not exist
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
    . INVALID 3.2.1.00.10 00:33:43
    Gathering Statistics
    . 00:44:43
    Total Upgrade Time: 02:40:35
    PL/SQL procedure successfully completed.
    Please help me on this.
    Thanks,

    Vinod Ranjan wrote:
    Hi sb92075,
    Thanks for quick update,
    So is this related error is related to HTMLDB tablespace ?yes
    >
    Is this solution will workout?It depends upon actual size of new datafile added.
    So do as directed & report the results.
    What is current size of HTMLDB datafiles?
    >
    + Use ALTER TABLESPACE ADD DATAFILE to add additional space to the+
    + tablespace or retry with a smaller value for INITIAL +
    Thanks,
    Edited by: Vinod Ranjan on 31 Dec, 2011 7:43 AM

  • Newly hardened Oracle11g database - unable to create Spatial or Text index

    Oracle 11g Rel2, Windows 2003 platform
    Our customer recently hardened their database and then tried to recreate their (previously working) schema. Now they're suddenly encountering these errors when trying to create a spatial index and text index respectively.
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error initializing geodetic transform
    ORA-13249: SRID 8307 does not exist in MDSYS.CS_SRS table
    ORA-29400: data cartridge error
    ORA-04063: package body "MDSYS.SDO_CS" has errors
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
    after running command
    CREATE INDEX IDX_POINTGEOMETRY on PointGeometry(pointGeom) indextype is mdsys.spatial_index parameters('LAYER_GTYPE=POINT');
    When I query mdsys.sdo_cs I can see that SRID 8307 does in fact exist.
    AND
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-04063: package body "CTXSYS.DRIXMD" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "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: could not find program unit being called: "CTXSYS.DRIXMD"
    after running command CREATE INDEX IDX_REPORT_XMLTYPE ON report(xmlreport)
    INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('SYNC(ON COMMIT)');
    Your help is greatly appreciated.

    I figured out the answer with help from the Oracle Spatial forum, but I wanted to follow up in case anyone was interested or would find this helpful.
    As part of the hardening process, the system administrator (not a DBA), revoked execute privileges on DBMS_LOB (and a number of other packages) from PUBLIC. The problem was that he didn't read the fine print in the hardening manual that said that doing so "+may result in an inability to execute default Oracle applications and utilities. To correct this problem, grant execute privileges on these packages directly to the SYSMAN, WKSYS, MDSYSand SYSTEM accounts as well as any other default Oracle database and custom application object owner accounts as necessary to support execution of applications/utilities installed with an Oracle Database Server+". As a result, the MDSYS.SDO_CS and CTSXYS.DRIXMD package bodies had compilation errors from trying to access DBMS_LOB. To fix the problem I granted execute privileges on DBMS_LOB, etc to MDSYS and CTXSYS. I can now once again successfully create my Oracle Spatial and Oracle Text indexes.

  • ORA-4031 [512024] [large pool] [unknown object] [large pool] [PX msg pool]

    Hello Friends,
    I am frequently getting error in alert.log file.
    ORA-4031 [512024] [large pool] [unknown object] [large pool] [PX msg pool]
    Database version: 11gR2
    OS : Solaris 10
    SGA Size 4gb
    SGA Target 4112mb
    I am unable to identify the cause for above error.
    Some time database become hang.
    I can also see many wait events "latch: parallel query alloc buffer"
    Please guide me what could be the cause of this problem

    Hi
    Please check below which could be helpful for your issue:
    Master Note for Diagnosing ORA-4031 [ID 1088239.1]
    https://support.oracle.com/CSP/ui/flash.html#tab=Dashboard%28page=GRHome&id=gkzpuq90%28domainId=ORA4031%29%29
    Regard
    Helios

Maybe you are looking for

  • Reading from XML file is too slow

    I am trying to read some values from XML file, it takes about 1 or 2 minutes to finish reading, my xml file has about 4000 xml elements. Does anyone know this is normal or something wrong? How could make it faster? Thank you

  • Rating music refuses to work

    I have some Smart playlists in iTunes, but since some time ago, I can't creata a playlist based upon rating. The problem is, If I clic one star automatically shows 3, if I clic 2 iTunes set 4, and 5 instead of 3 stars. How can I fix this?? Im using i

  • How to archives sales orders after a certain frame-say 1 week

    Basically We want the facility where the system automatically archives sls orders after a certain timeframe - ie one week. Sls order is raised for the customer, if during 7 days it is not processed through the SD cycle the system automatically archiv

  • How can I access video file from sd card on ipad2?

    How can I access video file from sd card on ipad2?

  • Difference between Function Module Vs Method in Class Module

    1) Can you please tell the difference between the Function module used in abap program and the method of the class module used in abap programming. 2) does it necessary to do commit statement after calling the function module. Thankyou for you time.