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

Similar Messages

  • Database Mirroring and Replication in SQL Server 2008 R2

    I have configured the mirroring and replication between 4 servers (A,B,C,D).i.e, Mirroring between A to B and C to D, Replication between A and C. The configuration was a success and I am able test the replication(B to C) when I have failed over the mirroring
    dbs(A to B). The replication works fine after the mirroring fail over but I am not able to check its status in the Replication monitor. When I am having any insert in a table which is replicated in B, it is reflected back to C..it means the replication is
    working fine.
    Any thought on how I can view the status of replication from mirrored server. I tried adding the publisher in the monitor, but no luck. If I check the snapshot agent status, it says could not retrieve the info, same with the log reader agent status.
    Any suggestions on this please.
    Thanks, Siri

    For example in your case...
    Server A is principal and Server B is Mirror with either Manual or Automatic Failover.
    Server A is replicated to Server B ( publisher & B is subscriber )
    In Server A Database named Test_Mirror_Replication is configured for both mirroring and Replication.
    Now you have failed over your Database 'Test_Mirror_Replication' from Server A to Server B.
    After the Failover Server A will act as Mirror for DB 'Test_Mirror_Replication' & Server B will act as Principal for DB 'Test_Mirror_Replication'
    Hope my understanding is correct ?
    If yes then have you tried monitoring the replication after registering in other instance with current principal database sql instance name ? I mean current Publisher database name sql instance ? not your old sql instance name which was before the mirroring
    role change or failover...
    Hope you are trying with mirror database server name ?
    Raju Rasagounder MSSQL DBA

  • Only Remote-Desktop and Replication with 0.0 Reduction

    Hi guys,
    I have a solution with 16 WAAS 4.4.3 and I got good numbers in all default applications except Remote-Desktop and Replication
    ( All Traffic 53% of Reduction).
    I can understand not otimize Remote-Desktop Applications cause the customer is using Metaframe with crypto and already compacted and
    using too RDP with crypto/compacted.
    But in the Replication I would expect some gain in Active Directory and MS-FRS Replication.
    I got 0.0, Actually, the optmized traffic is biggest that the Original Traffic.
    I have to modify something in the Microsoft servers to be able to got reduction in Replication Application ??
    I'm using all the Default Classifiers in Replication Application
    Double-Take                            LZ+TFO+DRE       1100, 1105
    EMC-Celerra-Replicator            LZ+TFO+DRE       8888
    MS-AD-Replication1                 LZ+TFO+DRE       UUID:e3514235-4b06-11d1-ab04-00c04fc2dcd2
    ms-content-repl-srv                   TFO                     507, 560
    MS-FRS1                                LZ+TFO+DRE       UUID:f5cc59b4-4264-101a-8c59-08002b2f8426
    netapp-snapmirror                    LZ+TFO+DRE       10565-10569
    pcsync-http                             LZ+TFO+DRE       8444
    pcsync-https                           TFO                      8443
    rrac                                        TFO                      5678
    Rsync                                     LZ+TFO+DRE       873
    Thanks a Lot
    My Best Regards,
    Andre Lomonaco

    As you said, you need to only send the changes over the line.
    Java can not tell you what has changed, so you need to either write some JNI, or do a check on the current image, with the last image. (this would eat quite a bit of CPU time on the server).
    It might be worth looking at the source for VNC, and other simler products.
    The simpliest solution would be to split the image into blocks of x by y pixels, then do a pixel-by-pixel check on that block, and only send the block if it has changed.
    Next thing to think about is scrapping RMI, and using raw sockets. RMI has a fair sized overhead.
    Zipping a JPEG is unlikely to have any effect. A JPEG is already compressed.
    You might want to look at a lossless compression format, like PNG, as the JPEG will have articles. This might be acceptable. If so, changing the compression ratio of the JPEG might be an option.
    Finally, the bottle neck might be the call to Robot.createScreenCapture. This is not the fastest method.

  • Retrieving spatial and non spatial data in one query

    Hello. I am having slight difficulties using JDBC to retrieve both spatial and non spatial data in the same query. The following is code from a sample program of mine that retrives spatial data from spatial tables.
    (In spatialquery geom is a geometry column and city is simply the name of the city):
    try
    Geometry geom = null;
    String database = "jdbc:oracle:thin:@" + m_host + ":" + m_port + ":" + m_sid;
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = (OracleConnection)DriverManager.getConnection(database, sUsername, sPassword);
    GeometryAdapter sdoAdapter =
    OraSpatialManager.getGeometryAdapter("SDO", "8.1.7", STRUCT.class, null, null, con);
    String spatialquery = "SELECT a1.geom, a1.city \n" +
    "FROM cities a1";
    Statement stmt = con.createStatement();
    OracleResultSet rs = (OracleResultSet) stmt.executeQuery(spatialquery);
    int i = 0;
    int noOfFeatures = 2;
    while (rs.next())
    for(i = 1; i <= noOfFeatures; i++)
    STRUCT dbObject = (STRUCT)rs.getObject(i);
    try
    geom = sdoAdapter.importGeometry(dbObject);
    catch(GeometryInputTypeNotSupportedException e)
    System.out.println("Input Type not supported");
    catch(InvalidGeometryException e)
    System.out.println("Invalid geometry");
    System.out.println(geom);
    }//end while loop
    This retrieves the sptial data fine, however when I attempt to retreive the non-spatial data I keep getting a "ClassCastException" error. I understand it is something to do with "STRUCT dbObject = (STRUCT)rs.getObject(i);" line. Can anyone tell me how to retrieve both spatial and non-spatial data in the one query using JDBC. I have tried nearly everything at this stage. Cheers joe

    Theresa A Radke
    Posts: 20
    OTN Member Since: Jul, 2001
    retrieving spatial and non spatial in same query. May 23, 2003 12:02 AM
    retrieving spatial and non spatial in same query.

  • Retrieving spatial and non spatial in same query.

    I have hacked out queries that retrieve and display GEOM Vertices in a JSP using sdoapi.
    I have hacked out queries that retrieve standard format data types and display them in JSP using jdbc, java.sql and oracle.sql.
    I cannot figure out an easy way to blend the two. It seems as though there is no choice but to make two separate queries to the same table in the database in order to present all the columns of an entire row result if a row contains both spatial and standard data.
    Does anyone have any ideas of how this can be done without making two separate calls??

    I'm not sure why you need to print to a file or why you feel you need to do multiple queries to fetch spatial and non spatial attributes. Here are some snippets of SDOAPI based code that may help or may end up confusing matters even more. Hopefully they'll help. I assume you can modify the code to print coordinates to whichever output stream you require for displaying them. "..." indicates that some other code goes here.
    DriverManager.registerDriver(new OracleDriver());
    m_conn = DriverManager.getConnection(url, user, password);
    m_adapter = OraSpatialManager.getGeometryAdapter("SDO", "9.0.1", STRUCT.class, STRUCT.class, null, m_conn);
    Statement stmt = null;
    ResultSet rs = null;
    stmt = m_conn.createStatement();
    String query = "SELECT " + idName + ", " + columnName + " FROM " + tableName;
    rs = stmt.executeQuery(query);
    while (rs.next())
    Object id = rs.getObject(1);
    Object sdoGeom = rs.getObject(2);
    Geometry geometry = ((AdapterSDO)m_adapter).importGeometry(sdoGeom, nDim);
    // do something with the ID column
    // print the geometry's coordinates
    processGeometry(geometry);
    public void processGeometry(Geometry geometry)
    if (geometry instanceof Point)
    Point point = (Point) geometry;
    System.out.println("Point: SRID = " + point.getSpatialReference().getID()+ " (" + point.getX() + ", " + point.getY() + ")");
    else if (geometry instanceof LineString)
    LineString lineString = (LineString) geometry;
    System.out.println(lineString.getNumPoints() + "-point LineString: ");
    for (Enumeration pointEnum = lineString.getPoints(); pointEnum.hasMoreElements();)
    CoordPoint point = (CoordPoint) pointEnum.nextElement();
    System.out.println("\t\t(" + point.getX() + ", " + point.getY() + ")");
    else if (geometry instanceof Polygon)
    Polygon polygon = (Polygon) geometry;
    System.out.println((polygon.getNumRings()) + "-ring Polygon: ");
    LineString exteriorRing = (LineString) polygon.getExteriorRing();
    System.out.println("\t" + exteriorRing.getNumPoints() + "-point exterior ring:");
    for (Enumeration pointEnum = exteriorRing.getPoints(); pointEnum.hasMoreElements();)
    CoordPoint point = (CoordPoint) pointEnum.nextElement();
    System.out.println("\t\t(" + point.getX() + ", " + point.getY() + ")");
    for (Enumeration ringEnum = polygon.getInteriorRings(); ringEnum.hasMoreElements();)
    LineString interiorRing = (LineString) ringEnum.nextElement();
    System.out.println("\t" + interiorRing.getNumPoints() + "-point interior ring:");
    for (Enumeration pointEnum = interiorRing.getPoints(); pointEnum.hasMoreElements();)
    CoordPoint point = (CoordPoint) pointEnum.nextElement();
    System.out.println("\t\t(" + point.getX() + ", " + point.getY() + ")");
    ...

  • How to automate checking status of Replication agent and Replication queue in CQ5

    As part of monitoring the status of replication agents and replication queue, is it possible to automate the checking process?
    We can check them from GUI, but from a monitoring perspective we are loking for a mechanism where the status can be checked continuously and we are alerted whenever there is some issue.
    1. Check status of replication agent (enabled/disabled)
    2. Check status of replication queue (if the queue is blocked)
    Thanks in advance
    nkrao

    you can pull the queue from the page the same way the UI gets the list
    in the table:
    curl -u admin:admin
    "http://localhost:4502/etc/replication/agents.author/publish/jcr:content.queue.json?agent=p ublish"
    and then use a shell library like ticktick.sh to parse the json
    response. A sample of how to get the bundles loaded and installed from
    CQ using the ticktick library can be found here
    https://github.com/kristopolous/TickTick
    http://ruben42.wordpress.com/2012/04/24/using-ticktick-sh-to-parse-json-responses-from-ado be-cq5-5/

  • Best Practice Adding New Target to Namespace and Replication

    Hi,
    whats the best way to add a new target to Namespace and replication. Goal is to replace a old file Server at the end.
    I did the following:
    - copied the share with robocopy incl timestamps of files and folders
    - created share
    - added the new share as a new target as well as meshd member of the replication connection
    - disabled the new member in the Namespace, so no one can Access it until dfsr is fully done and initialized
    After the the new dfsr Connection was replicated through AD to all 4 Members (3 different site, 1 same site) the
    following happend:
    dfsr begin and almost every file was in a conflicted and copied over the the Conflict Folder. Almost all timestamps
    of the Folders were changed to the current date, but the timestamps of the files not.
    Thousands of eventlogs: 4412
    The DFS Replication service detected that a file was changed on multiple servers. A conflict resolution algorithm was used to determine the winning file. The losing file was moved to the Conflict and Deleted folder.
    Any idea why? Later on i disabled the Connections to the remote Fileservers, but that did not stop it.
    My idea was to pre-seed the files with robocopy. So what would be the best way to prevent that for the next share ? Is it a better way to just add the target to a bi-directional Connection to the local Fileserver without adding to DFS-N and without copying
    the files before ? Is it better to let DFSR do the hole Initial sync incl Files ?
    At the end i have no loss of date but to check almost every file for conflict took Ages to finish.
    Thanks a lot,
    Marco

    Hi,
    The steps you performed are correct - compare with waiting for DFS initial replication, a manually pre-staging is recommended.
    When doing the Robocopy step, wether all attributes are copied such as NTFS permissions?
    After robocopy, you can add that folder as a folder target of DFS replication group - you can add it to DFS namespace after replication finished.
    And if it is a Windows 2012 R2, you can prestaging DFS database for a better result.
    https://social.technet.microsoft.com/Forums/windows/en-US/a06c9d25-ed04-44e9-a1f7-e1506e645d53/forum-faq-how-to-prestaging-dfsr-database-on-windows-server-2012-r2?forum=winserverfiles
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to use hotback to sync master and replication?

    Hi,
    If replication is down for some time, the data difference between master and replication will be large.
    My question is: is it possible we just hotbackup the data and log of master, and then let replication recover from the backup?
    I did 3 test:
    (1) Test condition: master application keep writing, db_hotbackup is not run. Result: the log of master application is good.
    (2) Test condition: master application make no writing, run db_hotbackup. Result: the log of master application is good.
    (3) Test condition: master application keep writing, run db_hotbackup. Result: the log of master application will be corrupted. It reports 'checksum mismatch' error when I try to recover the data.
    I am wondering why (3) could happen?
    Thank you very much.
    -yuan

    At this time there is no connection between iPhoto for the Mac and for IOS. Hopefully that will come in the future.
    LN

  • 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

  • Database Mirroring and replication

    Hi,
    can mirroring and replication is possible on same instance of sql
    of sql server 2008. if yes then please provide the  information.
    thanks in advance.

    You may need to use traceflag 1448 to get this to work.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Password Managerment and Replication

    Hi All,
    I came across this problem of Replication and Password Policy. I have a Multi master with 3 dedicated consumers set up with replication. Account lock out policy is set up to lock the account in 3 attempts. Once the account is locked out, I reset it in the master (clear the account unlocktime, reset the failure counter and reset the retrucountresettime. But this is not getting replicated to the consumer, I read in the Admin's Manual certain attributes like account lockout counters are not replicated !!! If so since it's a dedicated consumer, how the values can be reset , to allow the user to logon ? Your help is very much appreciated,
    Solaris, iDS5.1 SP1
    Thanks
    chandra mouli

    Some clever programmer at Sun will have to figure out how to integrate the chaining database, entry distribution, and replication to chain bind requests to the master.

  • Issue with CDC and Replication enabled

    Hello,
    We have this strange issue with CDC and replication. Let me explain
    1. We have a database on write server and we replicate some tables to the read server. There are 15 tables that we replication and 8 of them have computed columns that are persisted.
    2. We also have CDC enabled on the same database where we have transactional replication enabled. I know that both CDC and replication uses replication log reader. Some how, all the time we see the log_reuse_wait says replication
    3. If I add around 100-200 MB into these tables, with these persisted columns, it will be around 500 MB of data. But the replication is queuing up 10-15 GB of data.
    4. I checked CDC tables, and the updates are in cdc tables. Also, I don't see CDC capture job. Is this because there is already replication enabled?
    What might be the issue that's causing the log to hold for a very long extended periods of time? We don't see any issue with log reader and CDC.

    2. Log_reuse_wait will show replication status both for CDC and replication.
    4. Yes as you are using transaction replication, Log Reader Agent is created for the database and the capture job won’t exist.
    When the Log Reader Agent is used for both change data capture and transactional replication, replicated changes are first written to the distribution database.
    Then, captured changes are written to the change tables. Both operations are committed together. If there is any latency in writing to the distribution database, there will be a corresponding latency before changes appear in the change tables.
    https://msdn.microsoft.com/en-us/library/cc645938.aspx?f=255&MSPPError=-2147217396
    As you said CDC updates are in cdc table I don’t see any issue.
    You could run DBCC OPENTRAN to see the old active transaction? It will give you more info.

  • SVG and Oracle Spatial

    Hi,
    We plan to develop a SVG based viewer for Oracle Spatial. But maybe there exist free components or similar experiences.
    Is there any existing interface between SVG and Oracle spatial ?
    Is it necessary to combine SVG with GML ?
    Regards

    We have done this at FT by designing a mapping between SDO_GEOMETRY types and
    SVG elements (eg point -> <text>; multipoint <g><text>...</g>) etc.
    From this we let a contract to an external company (www.geometryit.com) who programmed
    up some Java classes that allowed us to go from SDO_GEOMETRY <-> SVG. These were then
    deployed within the database with before insert etc triggers automatically mapping between
    the two (the SVG is stored alongside the SDO_GEOMETRY as a CLOB).
    I can send you our documentation on this.
    If you want access to the Java code, contact Andrew Betlehem at Geometry.
    regards
    Simon

  • Afaria Database on SQL Anywhere 12 and Replication

    Hi,
    I have Afaria Farm and I Use SQL Anywhere 12 as database server.
    I want to replicate this database to another SQL Anywhere 12 Server.
    Which one is good way to replication
    And can I have some documentation that tells this step by step?
    I am not a DB admin.

    Hello Tevfik,
    I think we need to understand your requirements a little more: why are you interested in SQL Anywhere replication and what are your plans for it?
    If you're looking for an always-available SQL Anywhere database for Afaria, there is high-availability (database mirroring). This will allow you to maintain two database server partners (with a third arbiter), where the primary has read/write capabilities and the mirror partner is read-only. There is a tutorial here in the documentation.
    If you're looking for a reporting server to do read-only queries for reporting, there is read-only scale out (copy nodes). The tutorial can be found here.
    Are you trying to keep a backup copy of your database via replication? If so, you may want to consider live backups (see the wiki), or just regular backups (also see the wiki). Regular backups should still be used in conjunction with any of the high-availability scenarios described above.
    If you're really looking for data movement, particularly to multiple database nodes, there is synchronization to other enterprise databases (including SQL Anywhere, but this also includes HANA, ASE, IQ, etc.) with MobiLink and replication to other SQL Anywhere databases, via SQL Remote. MobiLink uses a session-based HTTP or TCP/IP connection as a transport, while SQL Remote can use offline FILE, FTP, SMTP, and online HTTP as a transport.
    You may read elsewhere that historically SQL Anywhere can also be used with SQL Remote for Adaptive Server Enterprise (ASE) or Replication Server for replication, but both of these methods have been deprecated and removed in current versions and are not supported by development.
    Regards,
    Jeff Albion
    SAP Active Global Support

  • Unable to auto-start cache and replication agents

    Hi,
    Everytime we start server, we need to manually start cache and replication agents!
    Is there any way to configure them starting automatically???

    Yes:
    ttAdmin -repPolicy always -cachePolicy always DSN
    Chris

Maybe you are looking for

  • Windows Update Error 80244022 on windows Server 2008 R2

    Hello i am unable to update my server which is Windows Server 2008 R2 x64 I am getting Error Code :  80246002 please guide me

  • Create Events in Global Class

    Hi, I used this link for create Events in Global Class through SE24..... [http://sapabapnotes.blogspot.com/] I do same steps as given in this link....but it show some syntax error when i check it... Error : "IT_LFA1" is not an internal table - the "O

  • Newbie to Hibernate

    Hello, I am starting to use Hibernate and am working on some examples in order to see it working. I am now working on this one-to-many example that is raising exceptions that I am not beeing able to get rid of nor have I found anything clear enough,

  • Useful Web ADI custom integrators docs

    I have recently started to look at creating Custom Integrators and thought it might help others if I listed the Oracle Docs I have found since they don't go out of their way to explain how to create custom integrators WebADI Implementation and Admini

  • Apple TV knows my pictures are there but I can't see them

    I have many years worth of pictures on my Windows 7 PC but I only choose to Home Share a couple of year's worth via our Apple TV.  Years 2011 and 2012 load up with no problems at all on the Apple TV and we can see all pictures within those folders.