Save 
Join IIUG
 for   
 

Informix News
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter


[ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Development Tools Forum

RE: Java Question

Posted By: Link, David A. \(Omaha\)
Date: Tuesday, 22 November 2005, at 5:32 p.m.

Yes you can.

Select * from <dbname1>@<dbserver1>:<table1>
Where column1 not in (select column1 from
<dbname2>@<dbserver2>:<table2>);

You just have to define the connection to dbname1@dbserver1. This is
assuming that dbserver1 and dbserver2 are aware of each other. If both
databases are on the same dbserver you don't need the @<dbserverX> in
the statement.

Make sense?

David

-----Original Message-----
From: Sharp, Kirk (USMS) [mailto:Kirk.Sharp@usdoj.gov]
Sent: Tuesday, November 22, 2005 4:05 PM
To: Link, David A. (Omaha); dev-java@iiug.org
Subject: Java Question

Thanks for your help. I have another question....

Does Java allow queries to mutliple databases using embedded SQL?

For example (Informix embedded SQL):

SELECT * FROM "database_one":comment_type
WHERE comment_type_cd NOT IN (SELECT comment_type_cd
FROM "database_two":comment_type);

If I am allowed to perform this query, how do I set up the connections
in Java?


Any help would be greatly appreciated!



-----Original Message-----
From: Link, David A. (Omaha) [mailto:DALink@west.com]
Sent: Fri 11/18/2005 1:17 PM
To: Sharp, Kirk (USMS)
Cc:
Subject: RE: Informix Enterprise Replication [45]



The transactions will get logged to the logical logs but will
get
flagged not to be replicated. So it will cause you to roll
through
logical logs quickly. But this should not cause you any issues
as long
as you do the commit frequently and have your logical logs sized
appropriately. You cannot turn off logging on a replicated
table.

Does this help?

David

-----Original Message-----
From: Sharp, Kirk (USMS) [mailto:Kirk.Sharp@usdoj.gov]
Sent: Friday, November 18, 2005 12:55 PM
To: Link, David A. (Omaha)
Subject: RE: Informix Enterprise Replication [45]

Hi David

Thank for your prompt and courteous response...

I tried using the "BEGIN WORK WITHOUT REPLICATION" statememnt
and it
works just fine.

Do you know what affect any this will have on logging? Do I need
to turn
of logging?

-----Original Message-----
From: forum.subscriber@iiug.org on behalf of Link,
David....
Sent: Thu 11/17/2005 8:14 AM
To: dev-java@iiug.org
Cc:
Subject: RE: Informix Enterprise Replication [45]



There are several ways to approach this problem.

You can allow replication to handle the deletes for you
on the
target
server. Make sure your transactions are small, commit
frequently.

The other way is to run your deletes on both servers. To
do that
you
will need to issue a "BEGIN WORK WITHOUT REPLICATION"
before
each
transaction. We do this for several of our large servers
where
we do
mass changes. This decreases the amount of traffic which
has to
get
replicated.

Whichever solution you decide to use, make sure your DBA
is in
the loop
so that he is aware of the additional work load.

If you have more questions, I am more than willing to
help.

David Link

-----Original Message-----
From: forum.subscriber@iiug.org
[mailto:forum.subscriber@iiug.org] On
Behalf Of Jean George....
Sent: Thursday, November 17, 2005 3:02 AM
To: dev-java@iiug.org
Subject: RE: Informix Enterprise Replication [43]

I guess your questions are more about replication than
java, you
may
send
the mail to the ids forum, I think that people like
madison will
lovw to
answer you...

good luck...

jgp

> -----Original Message-----
> From: forum.subscriber@iiug.org
> [mailto:forum.subscriber@iiug.org] On Behalf Of KIRK
SHARP
> Sent: Wednesday, November 16, 2005 23:04
> To: dev-java@iiug.org
> Subject: Informix Enterprise Replication [41]
>
> First, let me apoligize if I am posting this message
in the
> wrong group.
>
> I am in the process of writing a Java server
application that
> will perform archiving (remove old data (1-2 million
rows)
> from production DB and load the old data to an archive
DB).
>
> We are using Informix Enterprise Replication to
replicate the
> database on a remote server via a T1 line.
>
> I am unsure how to address the replication issue.
>
> Questions:
>
> Do I need to drop replication in order to perform the
archive
process?
> Do I need to turn of logging as well?
> Are there any existing methods that would allow me to
perform
> the arhcive process with replication and logging
running?
>
> Any help would be greatly appreciated.
>
> Thanks in advance!

[ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Development Tools Forum is maintained by Administrator with WebBBS 5.12.