Coherence - grid-data replication between data centers
Hi All ,
We have two data centers , each having a coherence data-grid. How can we replicate cached data in grid between these two data centers ? I looked at the , http://coherence.oracle.com/display/INCUBATOR/Push+Replication+Pattern
but , ? I need more information on this ? Can someone direct me to some useful links and documentation ?
Unfortunately, what you've seen is about as far as it goes, I'm afraid.
I've just got it working, but it was a pain to have to dig through so much API docs and source code in order to get it working. It really should have a much better set of documentation, including a tutorial, IMHO. The crazy thing is, once you have got it working, it turns out it's not actually that difficult!
I've also posted some questions on the Incubator forums, but they've mainly fallen on deaf ears (except for one guy, Neville, who I don't think works for Oracle.) I've been trying to get PublishingTransfomers to work, but the documentation for them is very, very poor. Also, none of the "examples" have any Transformers.
It's a shame that something so heavily "pushed" at the Coherence SIGs, PR, is so poorly documented/supported... (Take a look at the low post counts of those supporting it from Oracle, and the number of unanswered messages.)
Anyway, give it a shot and let me know if you have any specific questions. I guess they should really be posted on the Incubator forum rather than here, but as it's such a "ghost town" over there I wouldn't be too hopeful of a reply! :)
NB. Make sure you download and look at the Examples: http://coherence.oracle.com/display/INCUBATOR/Coherence+Incubator+Examples
Similar Messages
-
Data Replication Between Sqlserver and Oracle11g using materialized view.
I have Sqlserver 2005 as my source and oracle11g as my target.I need to populate the target daily with change data from source.
for that we have created a dblink between sqlserver and oracle and replicated that table as a Materialized view in Oracle.
problem we are getting here is Fast refresh option is not available.each day it will pick full data from the source.
is there any way to use Fast refresh in this scenario??
Thanks in advance.
Regards,
Balaram.Pl do not post duplicates - Data Replication Between Sqlserver and Oracle11g using materialized view.
-
Difference between Data Replication and Data Synchronization?
Hi Brian: Sorry, the Data Replication task wizard does not support ODBC sources. I don't think there's an easy way to truncate the target tables using a Data Synchronization task, but you should be able to read data from an ODBC source and write it to your target. The main difference between the two task wizards:Data Replication allows you to copy multiple tables from the same source and do incremental loads (only copying new or updated data on subsequent runs of the same task)Data Syncronization allows you to transform data with field expressions and lookups. Cheers,Josh
I typically use Data Replication where I truncate the target, but it doesn't appear that this works for ODBC connections. However, Data Sync does work for ODBC connections--if I'm already truncating the target, is this the same as a data sync
-
Data Replication between Oracle 9i and 10g
Hello,
I have a question regarding possible Replication Models between Oracle 9i and 10g. Does anybody know a possible way to syncronize the schema data between a 9i and 10g database in realtime?
If yes can you please post perhaps a link with a kind of how to?
Many thanks to all,
Bob...You can read this metalink note 370850.1 - there are bit more ways of replication discussed.
Yes, platforms can be different, but recomendation is to use the same platform for both databases. -
Require the list of dates exist between dates
in 10g database i can execute the below query
Iam having a table sdate
pk startdate enddate des1
1 1/1/2010 1/3/2010 xxxxxxxxc
2 1/5/2010 1/20/2010 abc
i need list of dates between startdate and enddate, so i created this query
SELECT DISTINCT d, des1
FROM (SELECT pk, s.startdate + LEVEL - 1 d, des1
FROM sdate s
CONNECT BY LEVEL <= (SELECT enddate - startdate + 1 FROM sdate y WHERE s.pk = y.pk))
ORDER BY d, des1
but in 9i database if i execute the same above query iam getting
ORA-01473: cannot have subqueries in CONNECT BY clause
**is there any other way to view list of dates for the given range of date**SQL>WITH sdate AS
2 (
3 SELECT 1 AS pk, DATE '2010-1-1' AS startdate, DATE '2010-1-3' AS enddate, 'xxxxxxxxxxxcxx' AS des1
4 FROM DUAL
5 UNION ALL
6 SELECT 2 AS pk, DATE '2010-1-5', DATE '2010-1-20', 'abx' AS des1
7 FROM DUAL)
8 SELECT startdate + d - 1, des1
9 FROM (SELECT ROWNUM AS d
10 FROM (SELECT MAX(enddate - startdate) + 1 AS maxrange
11 FROM sdate)
12 CONNECT BY LEVEL <= maxrange),
13 sdate
14 WHERE d <= enddate - startdate + 1;
STARTDAT DES1
01.01.10 xxxxxxxxxxxcxx
02.01.10 xxxxxxxxxxxcxx
03.01.10 xxxxxxxxxxxcxx
05.01.10 abx
06.01.10 abx
07.01.10 abx
08.01.10 abx
09.01.10 abx
10.01.10 abx
11.01.10 abx
12.01.10 abx
13.01.10 abx
14.01.10 abx
15.01.10 abx
16.01.10 abx
17.01.10 abx
18.01.10 abx
19.01.10 abx
20.01.10 abx
19 rows selected.
Elapsed: 00:00:00.07Urs
Edited by: metzguar on 09.07.2010 14:36 -
Obtaining Data count between dates for a range of dates
Hi,
Currently I need to find the number of records for every week starting from the year 1995.
Could anyone help me with a query which will display the first and the last day of the week and the records within this range.
The week starts from monday.
Regards,
RHi,
The format IW give you a week that starts on monday.
You can then join with this subquery and adds the necessary group by.
select
to_char(date '1995-01-01' + (rownum-1)*7, 'IW') week_no,
trunc(date '1995-01-01' + (rownum-1)*7, 'IW') from_day,
trunc(date '1995-01-01' + (rownum)*7, 'IW')-1 to_day
from
all_objects
where
trunc(date '1995-01-01' + (rownum-1)*7, 'IW') < date '1996-01-01';
WEEK_NO FROM_DAY TO_DAY
52 Mon 26-Dec-94 Sun 01-Jan-95
01 Mon 02-Jan-95 Sun 08-Jan-95
02 Mon 09-Jan-95 Sun 15-Jan-95
03 Mon 16-Jan-95 Sun 22-Jan-95
04 Mon 23-Jan-95 Sun 29-Jan-95
05 Mon 30-Jan-95 Sun 05-Feb-95
06 Mon 06-Feb-95 Sun 12-Feb-95
07 Mon 13-Feb-95 Sun 19-Feb-95
08 Mon 20-Feb-95 Sun 26-Feb-95
09 Mon 27-Feb-95 Sun 05-Mar-95
10 Mon 06-Mar-95 Sun 12-Mar-95
11 Mon 13-Mar-95 Sun 19-Mar-95
12 Mon 20-Mar-95 Sun 26-Mar-95
13 Mon 27-Mar-95 Sun 02-Apr-95
14 Mon 03-Apr-95 Sun 09-Apr-95
15 Mon 10-Apr-95 Sun 16-Apr-95
16 Mon 17-Apr-95 Sun 23-Apr-95
17 Mon 24-Apr-95 Sun 30-Apr-95
18 Mon 01-May-95 Sun 07-May-95
19 Mon 08-May-95 Sun 14-May-95
20 Mon 15-May-95 Sun 21-May-95
21 Mon 22-May-95 Sun 28-May-95
22 Mon 29-May-95 Sun 04-Jun-95
23 Mon 05-Jun-95 Sun 11-Jun-95
24 Mon 12-Jun-95 Sun 18-Jun-95
25 Mon 19-Jun-95 Sun 25-Jun-95
26 Mon 26-Jun-95 Sun 02-Jul-95
27 Mon 03-Jul-95 Sun 09-Jul-95
28 Mon 10-Jul-95 Sun 16-Jul-95
29 Mon 17-Jul-95 Sun 23-Jul-95
30 Mon 24-Jul-95 Sun 30-Jul-95
31 Mon 31-Jul-95 Sun 06-Aug-95
32 Mon 07-Aug-95 Sun 13-Aug-95
33 Mon 14-Aug-95 Sun 20-Aug-95
34 Mon 21-Aug-95 Sun 27-Aug-95
35 Mon 28-Aug-95 Sun 03-Sep-95
36 Mon 04-Sep-95 Sun 10-Sep-95
37 Mon 11-Sep-95 Sun 17-Sep-95
38 Mon 18-Sep-95 Sun 24-Sep-95
39 Mon 25-Sep-95 Sun 01-Oct-95
40 Mon 02-Oct-95 Sun 08-Oct-95
41 Mon 09-Oct-95 Sun 15-Oct-95
42 Mon 16-Oct-95 Sun 22-Oct-95
43 Mon 23-Oct-95 Sun 29-Oct-95
44 Mon 30-Oct-95 Sun 05-Nov-95
45 Mon 06-Nov-95 Sun 12-Nov-95
46 Mon 13-Nov-95 Sun 19-Nov-95
47 Mon 20-Nov-95 Sun 26-Nov-95
48 Mon 27-Nov-95 Sun 03-Dec-95
49 Mon 04-Dec-95 Sun 10-Dec-95
50 Mon 11-Dec-95 Sun 17-Dec-95
51 Mon 18-Dec-95 Sun 24-Dec-95
52 Mon 25-Dec-95 Sun 31-Dec-95 -
Hi Brian: Sorry, the Data Replication task wizard does not support ODBC sources. I don't think there's an easy way to truncate the target tables using a Data Synchronization task, but you should be able to read data from an ODBC source and write it to your target. Cheers,Josh
I would like to replicate data using an ODBC connection as the source, but the connection does not show up in Data Replication (only Data Sync). I want to truncate and load everything from the source--can I just use Data Sync for this process? Thanks!!
-
Install oracle goldengate at ASM for data replication in RAC system?
Hi Experts,
We have 2 RAC server and each server have a 4 nodes RAC with 10R2 database in linux.
We will install oracle goldengate as data replication between two RAC servers.
Our database install on ASM in SAN box in linux
Based on Goldengate install requirement, 16. Set a shared driver that is accessed by each RAC nodes
and install goldebgate on shared driver.
As I understand, can we install goldengate on ASM that is shared by each node?
Or we MUST set up other shared driver ( NO ASM) for installation of goldengate.
Please advise me?
Thanks
Jimhttp://www.oracle.com/technology/products/goldengate/10/whitepapers/ha-goldengate-whitepaper.pdf
This will answer your questions. -
First Hit Session Data Replication
We are using WLS 5.1 with sp3 in a cluster of three
servers using in-memory-rep, JSP, and Apache as our proxy.
Session data replication between a primary and secondary server
seems to work fine except in the following case:
1) Make first hit to the cluster. During the JSP processing of
that hit set some HTTP session data via setAttribute().
2) Kill-off the primary server (the one that handled the first hit).
3)Make a second hit to the cluster, it is handled by another
server (the secondary), the session is recognized as an ongoing
session however the session data that was set during the first hit is not
present in the second hit.
If we make two hits to the first server and set data, then kill-off
the primary server, the secondary has the data at the third hit. The
only issue seems to be when the primary is killed after the first hit.
Anyone have any ideas?
Thanks,
-darren
You can configure ClusterServlet in your web server farm (WLAS as web
servers) to proxy JSP and servlet requests to the WLAS farm (WLAS processing
your JSP and servlet).
Set up in-memory replication in your WLAS farm. Session in JSP will be
replicated.
Cheers - Wei
Yen Liu <[email protected]> wrote in message
news:[email protected]...
> Hello,
>
> I read breifly the section on BEA's online documentation talking about
in-memory
> replication and clustering.
>
> In it, it mentioned the ClusterServlet and configuring the
weblogic.properties
> file to assign servlets to the ClusterServlet so that sessions will be
handled
> correctly and all.
>
> My question is, "what about JSP" I am using a lot of JSP pages which sets
> session parameters for the specific user into session objects.
>
> Any tips, recommendations will be most helpful.
>
> Thanks,
>
> Yen Liu
> 510/870-1169
>
> Prasad Peddada wrote:
>
> > Darren,
> >
> > It shouldn't be the case. After your first hit, when you kill the
primary
> > server, when you make your next request you should find all the info in
the
> > session. I will post again, if we find the same problem on monday in our
test
> > environment.
> >
> > Thanks
> >
> > Prasad
> >
> > Darren Kessler wrote:
> >
> > > We are using WLS 5.1 with sp3 in a cluster of three
> > > servers using in-memory-rep, JSP, and Apache as our proxy.
> > > Session data replication between a primary and secondary server
> > > seems to work fine except in the following case:
> > >
> > > 1) Make first hit to the cluster. During the JSP processing of
> > > that hit set some HTTP session data via setAttribute().
> > > 2) Kill-off the primary server (the one that handled the first hit).
> > > 3)Make a second hit to the cluster, it is handled by another
> > > server (the secondary), the session is recognized as an ongoing
> > > session however the session data that was set during the first hit is
not
> > > present in the second hit.
> > >
> > > If we make two hits to the first server and set data, then kill-off
> > > the primary server, the secondary has the data at the third hit. The
> > > only issue seems to be when the primary is killed after the first hit.
> > >
> > > Anyone have any ideas?
> > >
> > > Thanks,
> > >
> > > -darren
>
-
Senhores,
Gostaria de saber como faço para utilizar timestamp nas cláusulas BETWEEN do WHERE.
(+Gentlemen,
I wonder how do I use the timestamp BETWEEN of the WHERE clauses.+)
Example:
( table.row_date BETWEEN (DATE(SUBDATE(timestamp,7)) || ' ' || TIME('00:00:00')) AND (DATE(timestamp|| ' ' || TIME('23:59:59')) )
Está correto?
(Correct?)Hi Marcel,
here we go again...
> (<i>I think that will query the information from TODAY .. and I have to bring your day earlier or later, use the SUBDATE and ADDDATE?</i>)
Nope - it does what I wrote it would do. Deliver the rows where the date is in-between your comparison date.
Here's another simple example:
sqlcli -d TEST -u dba,dba
Welcome to the MaxDB interactive terminal.
Type: \h for help with commands
\q to quit
sqlcli TEST=>
sqlcli TEST=> drop table datetable
0 rows affected (44.978 msec)
sqlcli TEST=> create table datetable (id integer default serial(1), arrival timestamp,
departure timestamp, checkout timestamp, primary key (id))
0 rows affected (2027 usec)
sqlcli TEST=> insert into datetable (arrival) values (timestamp('1976-08-12', '00:00:00'))
1 row affected (3167 usec)
sqlcli TEST=> insert into datetable (arrival) values (timestamp('1976-09-05', '00:00:00'))
1 row affected (1817 usec)
sqlcli TEST=> insert into datetable (arrival) values (timestamp('1976-10-03', '00:00:00'))
1 row affected (1653 usec)
sqlcli TEST=> insert into datetable (arrival) values (timestamp('1978-05-12', '00:00:00'))
1 row affected (2118 usec)
sqlcli TEST=> insert into datetable (arrival) values (timestamp('1983-06-02', '00:00:00'))
1 row affected (1487 usec)
sqlcli TEST=> update datetable set departure = adddate(arrival, 10)
5 rows affected (1081 usec)
sqlcli TEST=> update datetable set checkout = adddate (arrival, mod(id,3) * 8)
5 rows affected (1273 usec)
sqlcli TEST=> select * from datetable
| ID | ARRIVAL | DEPARTURE | CHECKOUT |
| -------------- | -------------------------- | -------------------------- | -------------------------- |
| 1 | 1976-08-12 00:00:00.000000 | 1976-08-22 00:00:00.000000 | 1976-08-20 00:00:00.000000 |
| 2 | 1976-09-05 00:00:00.000000 | 1976-09-15 00:00:00.000000 | 1976-09-21 00:00:00.000000 |
| 3 | 1976-10-03 00:00:00.000000 | 1976-10-13 00:00:00.000000 | 1976-10-03 00:00:00.000000 |
| 4 | 1978-05-12 00:00:00.000000 | 1978-05-22 00:00:00.000000 | 1978-05-20 00:00:00.000000 |
| 5 | 1983-06-02 00:00:00.000000 | 1983-06-12 00:00:00.000000 | 1983-06-18 00:00:00.000000 |
5 rows selected (11.593 msec)
Let's stop a moment here.
What do we have here?
In our table, we've five entries with different arrival and departure timestamps.
As I arranged it the departures are always ten days after the arrivals.
Now there is the CHECKOUT column that contains timestamps as well.
But only three of these CHECKOUT values fall between the ARRIVAL and the DEPARTURE timestamp.
Here's how to figure out which ones these are:
sqlcli TEST=> select * from datetable where date(checkout) between date(arrival) and date(departure)
| ID | ARRIVAL | DEPARTURE | CHECKOUT |
| -------------- | -------------------------- | -------------------------- | -------------------------- |
| 1 | 1976-08-12 00:00:00.000000 | 1976-08-22 00:00:00.000000 | 1976-08-20 00:00:00.000000 |
| 3 | 1976-10-03 00:00:00.000000 | 1976-10-13 00:00:00.000000 | 1976-10-03 00:00:00.000000 |
| 4 | 1978-05-12 00:00:00.000000 | 1978-05-22 00:00:00.000000 | 1978-05-20 00:00:00.000000 |
3 rows selected (693 usec)
The DATE( ) conversion function is used here, since I just wanted to focus on the date component of the timestamp.
Of course I could have also just left it.
So if you don't get what you wanted here, although your SQL is right - check your data.
Concerning your
>
Datetime field overflow;-3049 POS(1220) Invalid time format:ISO.
What data did you tried to enter into which field/function?
It looks like you're trying to put the data into a wrong format.
Check [Date and Time Format (datetimeformat)|http://maxdb.sap.com/doc/7_6/48/0d8018b4f211d2a97100a0c9449261/content.htm] about time and date formats.
regards,
Lars
p.s.
In general, if you know that you're going to need just the DATE part of a timestamp - don't use timestamp but DATE as the datatype... -
Replication between Oracle Server and MS SQL Server
Hello,
Does anybody know of a well known or reliable software that can do data replication between Oracle Server and Microsoft SQL server.
I suppose I can write my own version using Heterogenous Services in Oracle but I would like to know if such an automated replication between Oracle and SQL is available commercially.
Thank you.Viacheslav Ostapenko wrote:
Sorry, Aman,
I couldn't find any info about replication to MS SQL. Is it possible at all? Could you provide link where we can read about this? It could be very interesting.Sorry Viacheslav, even I couldn't find anything for the same. I am not sure that it can be done or not, I haven't heard anyone in my contact doing so. The only place where I have seen Streams being used around me is within Oracle db only. May be someone else can help if he/she has done it.
Aman.... -
Replication between different db versions?
Can anyone tell me what limitations there might be performing data replication between different oracle database versions?
ThanksDepends on the versions and what exactly you mean by "replication", since there are a variety of technologies that may fall under that umbrella.
You can't directly replicate data between a 7.3.4 database and a 10.1 database, for example. You can use a variety of replication technologies between a 9.2 database and a 10.1 database-- materialized views, multi-master materialized views, Streams, transportable tablesspaces-- though you cannot use things like DataGuard, which may fall under the replication umbrella in some cases.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Hi Gurus,
Can anyone tell me the difference between "Data replication", "Data Cloning", "Data duplication" and "Data Migration". I have gone through Google but doesn't find any appropriate answer for that where I can find the difference.
It would be highly appreciated if you give me a link for all and give me some point out.
Thanks & Regards
Nimai KarmakarHere is how I see the terms used and understood by most folks
"Data replication"
This is the keeping the same data in sync in 2 different databases. Replication is the process of keeping data in sync between 2 environments/databases and not limited to Oracle to Oracle, it could be Oracle to MySQL to be kept in sync, MySQL to Oracle, Oracle to SQL Server, SQL Server to Oracle. The purpose of keeping data in sync can vary, but that is basic description of what it is.
"Data Cloning"
Make a copy of the data/database from one database environment to another, like for example taking production database and cloning the database to a pre-production database/environment for testing. Coning term is used more when copying a database not just data, but the whole database so typically you hear the reference "Database Cloning", but data cloning is basically the making a copy of the data from one place to another. Sometimes Cloning and Duplicating are used in the same way by folks as the basic end result is the same you are making a copy of the data to someplace else.
"Data duplication"
This is typically term when duplicating the data from one environment to another for a particular purpose, a lot of folks use "Data/Database Cloning" and "Data Duplication" in the same context, meaning they use them to mean the same thing, but I see more difference in the terms so when they are different Data Duplication is done when combining 2 databases to 1 therefore you can not clone the 2 databases into one so this term would be used more in those circumstances.
"Data Migration"
Moving data from one location/database to another location database, for example moving from MySQL to Oracle you would do a data migration from MySQL to Oracle as you are moving the data from MySQL to Oracle and going to leave it in Oracle. You could also be migrating to from Oracle 10g environment to a new Oracle 11g environment, therefore "Migration" is typically used when referring to moving the data from one environment to another and the source and target are different in location, database vendor, database version.
These are very simple ways of looking at the terms from my experience on how they are used. -
Difference between data form and data grids
Can anybody tell me what is the difference between data form and data grid.
Regardsdata forms have restricted access. user can not access all the dimension and members, based on his role and authentication can access the form.
data grid r used for calculation, currency translation and coslidation and it consists of menu of options for diffrent consolidation based on cell status.
data grid can have line item information, description and cell status information. -
Difference between Data Grid and Data Forms
Hi all,
What is the difference between data grid and data forms.Data entry forms are pre defined and are generally used to manually input data into reporting (financial statement) schedules.
They can also be used for reviewing purposes and it gives users a presentable / and consistent format to view data in Hyperion.
Data grids are the equivalent of pivot tables in excel. It should be used for ad hoc purposes to view / analyse data in whatever form you choose. The user has the flexibility to choose what they see in the rows, columns and page dimensions.
One of the main differences between data entry forms and data grids is that you can’t export data grids to excel whereas you can with data entry forms. Other differences are:
1. Run consolidation, translation, promotion from data grids but not in data entry forms.
2. You can link other data entry forms to a data entry form
3. Data entry forms offer greater formatting options than in data grids i.e. colours, fonts, bold, italics.
At the end of the day, they are similar and there is no reason why you can’t have (use) both. It all depends on your local needs on how best you use both.
I hope above information helps.
Maybe you are looking for
-
Dreamweaver files Revert to last save randomly, without input
I'm using a fully up-to-date verison of Dreamweaver CC (13.2, at last check). Mac platform. Mostly simple stuff, one page emails. No CSS. My work process is to have the html file open, and copy and paste out of PDFs and Word docs (edits from the proo
-
Pro v. Air for a biomedical grad student
Hi all, I'm starting grad school in a molecular genetics program and I'm in the market for a new Mac. I will use it mostly for writing documents and making presentations and I know the new Air meets these requirements easily. However, I also use prog
-
Error after updating to logic 9.1
So i just updated Logic to 9.1. After the update i started logic and the first thing i see is this error : [img]http://i45.tinypic.com/258mf4y.jpg[/img] What does this mean ?? Thx
-
Trying to make a payment on a website and the whole page is in German. Browser setting is English. Can't imagine why this would happen. Please advise...time sensitive.
-
Failed to Install C4580 on LiveBox router
I got this wireless network test report: MAC address filterin may be enabled on your wireless router. This can prevent your HP printer from connecting to your wireless network during setup. Temporarily disable MAC address filtering on your wireless