OWM and Spatial

I am using Oracle 10g and having a problem when merging a workspace into the LIVE. The difference between the two workspaces are that the child has some rows deleted. When i try to merge them i get an error:
ERROR at line 1:
ORA-00920: invalid relational operator
ORA-06512: at "SYS.LT", line 5852
ORA-06512: at line 2
If i rollback the changes then it work fine. Is there anything i can do to avoid this?
Cheers
Stu

Hi Stu,
I need to determine what statement is failing during the mergeworkspace operation. So if you could do the following:
1. Start a trace of your session (alter session set sql_trace=true)
2. Run the mergeworkspace operation
3. Determine what the failing statement is by running tkprof on the generated dump file
If you are able to create a test case for this behavior, please post that as well.
Also, what version of workspace manager is begin used ? You can use the following query to determine that:
SQL> select * from wm_installation ;
Thanks,
Ben

Similar Messages

  • OWM and Spatial Georaster

    Hi all!
    I also posted in the Spatial forum because my problem is caused by OWM in combination with Georaster!
    I have the following problem:
    I get an error message if I try to versionenable a table with a Spatial Georaster column. The reason for the error is the trigger created on the Georaster column. That trigger has to be created on every Georaster column an comes along with MDSYS.sdo_geor.
    If I first try to versionenable the table and then try to create the trigger between beginnDDL() and commitDDL() procedures I also get an error message.
    Does anyone know this problem and has an answer?
    regards
    Joerg

    Hi,
    We do not currently support the type of trigger that is defined on the table for the spatial georaster column. It has a triggering event of 'INSERT or UPDATE or DELETE'. We only support row level triggers that are defined for 1 dml type.
    As such, tables with georaster columns that have these triggers defined on them, cannot currently be enable versioned.
    Regards,
    Ben

  • OWM and replication / Spatial

    Hi all,
    - I am looking for Infos or Whitepapers which describe any restrictions regarding replication and OWM and especially using spatial data (sdo_geometry)
    - Which kind of functions/methods does replication not support using OWM.
    Thanks for any hint.
    Haitham

    Hi Haitham,
    You should look at the Workspace Manager user guide. There is an entire section devoted to replication and what is and is not supported by OWM. Also, there are no additional restrictions imposed by OWM on any spatial data during replication.
    If you have any further questions regarding replication after reading the doc, I would be glad to answer them.
    Regards,
    Ben

  • Who uses OWM with Spatial?

    Does anyone else actually version spatial tables in complex (not flat) relationships using OWM?
    If so, what have you done as far as training, etc? I get the feeling I'm a pioneer taking the arrows trying to understand the complexity, and to try and explain it to the DBA's so that they can support it in production.
    BTW, I started a question thread in the OWM forum on this for anyone interested:
    OWM and Training

    Hi Bryan,
    I'm the Workspace Manager product manager - [email protected] I'm not sure what you mean by "complex (not flat) relationships" (e.g., depth/breadth of workspace hierarchies? referential integrity constraints? ) but in any case, yes hundreds of customers and all but one major GIS vendor use Workspace Manager. Please feel free to contact me to discuss your questions and goals. --Regards, Bill
    Message was edited by:
    wbeaureg

  • OWM and transportable Tablespace

    Hi,
    Is there any restrictions regarding using OWM and transportable Tablespaces??
    Thanks for any hint.
    haitham

    Hi,
    OWM does not currently support transportable tablespaces. The reason for this is that only the table metadata and rows are preserved after importing the tablespace. None of the triggers, views or procedures that are created by workspace manager and defined on the table are maintained.
    Also, the metadata that is maintained would become out of sync with the imported data and would lead to unexpected results.
    Workspace manager currently only supports a full database import/export or a workspace level import/export using the dbms_wm.export and dbms_wm.import procedures. Further documentation on this can be found in the user guide.
    Regards,
    Ben

  • [svn:osmf:] 12986: Integrate refactored composite view trait ( merger of view and spatial traits).

    Revision: 12986
    Revision: 12986
    Author:   [email protected]
    Date:     2009-12-15 23:31:57 -0800 (Tue, 15 Dec 2009)
    Log Message:
    Integrate refactored composite view trait (merger of view and spatial traits).  Implementation is untested, unit tests still to be refactored.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/composition/CompositeMediaTraitFactory.as
    Added Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/composition/CompositeViewTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/composition/ParallelViewTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/composition/SerialViewTrait.as

  • JPA Entities and Spatial

    I have generated Entities from tables using Jdeveloper 11 and Spatial columns of
    type MDSYS.SDO_GEOMETRY were translated to Java String type.
    I am looking for a strategy (custom mappings/annotations, etc) which will apply
    an Oracle spatial function on the field and make the type conversion required
    to insert into the Spatial column type.

    Yes, your field would be like,
    @Convert(value="JGeometry")
    @StructConverter(name="JGeometry", converter="JGEOMETRY")
    protected JGeometry myJGeometry;
    There is an in the EclipseLink SVN repository that you may wish to look at,
    <SVN>foundation/eclipselink.extension.oracle.test/src/org/eclipse/persistence/testing/models/jpa/structconverter
    James : http://www.eclipselink.org

  • OWM and Training

    Is there any OWM Oracle University training (couldn't find any)?
    I ask this because the only "official" training I have had is what is tacked onto the Oracle Spatial class, but I really need something more for both myself (lead db developer) and our head DBA.
    OWM is a great capability, and I need versioned tables to support business processes, but I cringe anytime I have to make a modification to the table or a trigger on the production system due to the complexity of OWM. Although IMHO it would be much better if Oracle would make the investment to make the implementation much more transparent (a core feature) to the developer and DBA, so that when a table is versioned it still can be modified, exported/imported, etc. without any or much special work.
    But since that is not the case, we really need to get an in-depth understanding on what exactly the mechanisms are in the metadata, created sys objects, etc. so that if we run into problems we can address them directly, much as we have done with Spatial (thanks to good training and 3rd party books in addition to the Oracle docs).
    Something beyond the basic tutorials is needed, urgently.

    Bill,
    The largest question is training, and how to obtain it to get an in-depth understanding of the mechanics behind OWM (much as we understand with Spatial).
    An example on why training is important can be shown in a recent problem one of our DBAs encountered. To best mirror our production systems so that the customer can test issues on the test system with production data, we did a full backup (minus a few schemas such as one for Toad). We then restored this on a new database instance with minimal problems (other than initially sorting out some missing sys owned, OWM created objects). But then we found that although we could create and open a workspace, commit data, and roll it up to a parent workspace without errors, the data would disappear upon reopening the parent workspace (only in test, not in the original production version).
    Now I know it's probably due to some subtle issue in the metadata, or related to the OWM sys objects, but until we fully gain an understanding of all the relationships, I wasn't sure what to do to correct the situation (other than call support). Now we are not against using support, but we would just rather fully understand why something isn't working (with training). In spatial, we know what the metadata items do, so if something isn't quite right we can quickly track down the cause of the problem, and correct it.
    Please understand, I'm just trying to become more enlightened on what to do when X happens. FAQs, best practices, etc. are a great help, they just seem to be quite sparse for OWM. I was looking for more training for our folks, but couldn't find any.
    Thanks for the reply, we'll be in contact.
    Bryan

  • Oracle 10g and Spatial Components

    I'm a student exploring the use of oracle 10g in building spatial business intelligence systems since I have to develop such as part of my project. Oracle 9i is somewhat familiar to me. I downloaded and installed oracle 10g enterprise database from oracle's website. Can anyone assist me with the following?
    ---The OEM is not in my Oracle Home Folder, and I have to connect to the internet to get access to my database, is there any possibility for me not going online to have access to my database and where is the OEM (fully web-enabled)?
    ---Does Oracle database client come packaged with Oracle Spatial and Locator?
    ---Will Oracle provide a good option to develop a prototype of a Spatial BI tool for ascertaining how consumer services can be improved and so enable better decision making?
    ---Is Oracle 10 enterprise database and application server, the two main components to install to develop a system for spatial data.

    In my opinion, there are more misunderstandings in Oracle Spatial than in any other Oracle technology. This is largely because Oracle Spatial is both a GIS-neutral storage mechanism, as well as a powerful standalone extension to SQL for handling spatial-related BI.
    The APress 'Pro Oracle Spatial' is mandatory reading. It actually leads you through the install, dataset loading, tuning, and sample spatial data query and management. http://apress.com/book/bookDisplay.html?bID=315
    There is also a Spatial forum in the Database category.

  • Combined flat (regular) and Spatial query

    DB: Oracle 8.1.7.2.1 (8i Release 3, patch 81721)
    I performed a spatial query on the results of a regular query, in the form of:
    Select count(*) from
    (select * from myTable where key=...)
    WHERE (MDSYS.SDO_RELATE("GEOLOC",
    MDSYS.SDO_GEOMETRY(2003,NULL,null,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),
    MDSYS.SDO_ORDINATE_ARRAY(-118.83939716391866,
    29.951783100000025, -100.20650379608135,
    40.52319191999998)),
    'mask=ANYINTERACT layer_gtype=POINT
    querytype = WINDOW')='TRUE');
    The first flat query results in a small number of records and takes minimum time if run separately.
    Select count(*) from
    (select * from myTable where key=...)
    However, when appended the spatial join condition, it takes a long time, same as querying from the whole dataset without the first flat query. I tried to optimize the spatial index and it did not help much.
    Why isn't the spatial query taking advantage of the flat query? Can I somehow force it to do so to improve the performance? (This is a dynamic query in an application.)
    Thanks.

    Hi
    I have a similar problem and i'd like to know if anyone have got a solution.
    We are developing a vehicle localization system.
    The amount of data it's about 6 million positions per year.
    The queries to the data could be the actual location of the vehicle (100 vehicles) or historical locations.
    For historical location we have partitioned the table an index by date (each week), and for actual location we have created a bitmap index based on field L_ULTIMA.
    Allwais the queries are filtered by alfanumeric conditions more restrictive then spatial (range of dates or last_location).
    When runnin alfanumeric queries over a subset of une million rows, it takes only few seconds (even less) but when including spatial conditions (SDO_RELATE to a rectangle) it takes more than one minute.
    We have tried different hints to force the use of bitmap index but in all cases the execution plan uses de spatial index.
    It's there any way to combine spatial and flat indexes?
    SELECT
    COUNT(*)
    FROM SLFP_LOCALIZACIONES A
    WHERE sdo_relate(A.geom, mdsys.sdo_geometry(2003,NULL,NULL,
    mdsys.sdo_elem_info_array(1,1003,3),
    mdsys.sdo_ordinate_array(159657,3978069, 546051,4116358)),
    'mask=anyinteract querytype=window') = 'TRUE';
    COUNT(*)
    899073
    Transcurrido: 00:02:126.34
    SELECT /*+ INDEX_COMBINE(A SLFP_LOCALI_ULTIMA_I) */
    COUNT(*)
    FROM SLFP_LOCALIZACIONES A
    WHERE sdo_relate(A.geom, mdsys.sdo_geometry(2003,NULL,NULL,
    mdsys.sdo_elem_info_array(1,1003,3),
    mdsys.sdo_ordinate_array(159657,3978069, 546051,4116358)),
    'mask=anyinteract querytype=window') = 'TRUE' AND
    A.L_ULTIMA = 1;
    COUNT(*)
    102
    Transcurrido: 00:02:121.00
    SELECT COUNT(*) FROM SLFP_LOCALIZACIONES WHERE L_ULTIMA = 1
    COUNT(*)
    104
    Transcurrido: 00:00:00.72
    SQL> SELECT /*+ INDEX_COMBINE(A SLFP_LOCALI_ULTIMA_I) */
    2 COUNT(*)
    3 FROM SLFP_LOCALIZACIONES A
    4 WHERE N_X >= 159657 AND
    5 N_X <= 546051 AND
    6 N_Y >= 3978069 AND
    7 N_Y <= 4116358 AND
    8 A.L_ULTIMA = 1;
    COUNT(*)
    102
    Transcurrido: 00:00:00.59

  • SQL plus and  Spatial tables

    I have some spatial tables in 10g. I can use 'select query' on non spatial attributes but if try
    select * or
    select geom then my SQL plus gives error ::
    Program Error - sqlplusw.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.
    <Cancel>
    But I am able to use isqlplus without any errors.
    Earlier SQL plus used to work fine. I don't understand what happened to it in between.
    How can I bring my SQL plus working again.

    I created a copy for a spatial table using.
    create table copy as select * from original, and it was successful .
    Other than that I haven't done anything other than select queries.

  • Error with Sql*Plus and Spatial

    When i create a new table with a column SDO_GEOMETRY (spatial), i insert a new field.
    When i do a simple select * from this table, i receive this error :
    SP2-0591: Unable to allocate dynamic space needed (37748736 bytes)
    I can't find any information about this error. I thougth it was an error of the configuration on the server, but i've found that SQL*PLUS use lot of virtual space on my PC when i query on 'Spatial table' and don't free this space. After three execution of my query, I receive an error NT 'Not enough virtual space'!
    What do i have to do ?
    Thanks

    Yeah, I am also encountering this problem too! Can anyone help?
    null

  • Forms 9i and spatial objects

    Hi there,
    I was wondering if there is some smart thinkers out there that could solve or at least get a work around for a bug we have discovered in Forms 9i
    When a reference is made to a table that contains a object column (ie spatial, blob etc) through pl/sql code, the following error occurs. eg when you select count(*) from a table with a spatial (SDO_GEOM) column.
    Error 999 : implementation restriction (may be temporary) ADT or schema level collection not supported at client side with non-OCI mode.
    This is due to a tighting in forms 9i when referencing such tables where 6i only brought up the error is you directly reference the object column.
    Oracle has suggested a work around, or really a recoding of our forms (over 1000 in production) such that is to
    move the code to the server and just call it from forms. If you need to pass the objects then the client will need to break them down and pass the scalar attributes, as mentioned in bug 2502240.
    We are at a loss as to the solution as this one is unworkable, if anyone can make suggestions that would be great.
    Regards,
    Stuart Ross

    Is there any suggested solution on this issue.
    I'm trying to call a function which returns a VARRAY in Forms.
    But getting the above mentioned error.
    Thanks
    Bhavani

  • JDBC AND Spatial Object

    How can I select and view a spatial object with JDBC Queries ?
    I use the Object relationnal and NOT the relationnal model!
    Thanks.

    Macleod,
    I think what you really want to use is OO4O:
    http://otn.oracle.com/tech/windows/ole/index.html
    I've used it with VB to build applications dealing with LOBS, and it is much easier to use than ADO for that purpose.

  • PHP and spatial data

    Is there way to access spatial (MDSYS.GEOMETRY type) columns from PHP?
    With older OCI8 interface I get ADT-error, with never PDO_OCI I don't get anything, neither error or data.
    Or is there way to convert geometry columns to/from WKT in pure PL/SQL (I know that in 10g there is Java-based WKT functions but they don't work with XE or older releases of full Oracle)

    You can return results from Oracle Spatial as long as they are not geometries. Here are two examples.
    1. You can send a spatial query in PHP and return a non-spatial result, for example:
    $query ="Select mkt_id
    FROM cola_markets
    WHERE SDO_RELATE(shape, mdsys.sdo_geometry(2003,NULL,NULL,
    mdsys.sdo_elem_info_array(1,1003,3),
    mdsys.sdo_ordinate_array(2,1,7,6)),
    'mask=INSIDE querytype=WINDOW') = 'TRUE'";
    This code returns mkt_id 2, which is INSIDE of the second shape.
    2. You can also return coordinates from a SELECTed geometry by using the SDO_UTIL.GETVERTICES built-in function, for example:
    <pre>
    $query = " SELECT t.X, t.Y
    FROM cola_markets c,
    TABLE(SDO_UTIL.GETVERTICES(c.shape)) t
    where mkt_id = 2";
    $statement = Query($query); // Query() is my own function to test and send the query
    while(list($x,$y) = oci_fetch_row($statement))
    print "x: $x, y: $y<br />";
    </pre>
    Output is the set of coordinates for the shape geometry of mkt_id 2:
    x: 5, y: 1
    x: 8, y: 1
    x: 8, y: 6
    x: 5, y: 7
    x: 5, y: 1
    Hope this helps.

Maybe you are looking for

  • Unable to load the pof configuration

    Hi all, Im trying with pof serialization but unable to load the pof configuration and im getting the following error: 2013-06-12 14:41:49,582 [catalina-exec-1] ERROR com.distcachedemo.KnCacheDemoServlet - doPost(HttpServletRequest, HttpServletRespons

  • HARD DISK FAILURE IS IMMINENT

    Product Name: HP Pavilion p6390d OS: Windows 7 32 - bit Error Message: Hard Disk Failure is Imminent Things I did before having this error: I reformatted my computer to erase an error from my program (specifically: solidworks) since it has conflicts

  • How do you delete e-mail without opening?

    I just got a blackberry curve.  I want to delete an e-mail without opening it but cannot find an option to do this.  When I have the e-mail open and I hit the menu key (the one with the spots) there is an option to delete.  I would like to be able to

  • Display changes to materials

    Hi, I just discovered the programs RFDABL00 and RFKABL00, which display the changes to vendors and customers. I would need a similar program to display the changes for materials. But I can't seem to find a similar program for materials. Does anybody

  • ALV List- Order a field under another one

    Hi, gurus. I got a problem with an ALV list. I got a record in my internal table with local currency imports and foreign currency imports. I must write the foreign currency import in another row (with row_pos = 2), but the "second row" data begin wit