Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
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

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

IDS Forum

Re: JDBC URL question

Posted By: Art Kagel
Date: Thursday, 16 June 2011, at 3:17 p.m.

In Response To: Re: JDBC URL question (Laird Nelson)

See below, inline:

Art

Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/

Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Advanced DataTools, the IIUG, nor any other
organization with which I am associated either explicitly, implicitly, or by
inference. Neither do those opinions reflect those of other individuals
affiliated with any entity with which I am affiliated nor those of the
entities themselves.

On Thu, Jun 16, 2011 at 2:44 PM, Laird Nelson <ljnelson@gmail.com> wrote:

> On Thu, Jun 16, 2011 at 2:12 PM, Art Kagel <art.kagel@gmail.com> wrote:
>
> > OK Laird, here's a basic Informix education.
>
> Great!
>
> Most of this you can get
> > piecemeal from different parts of the Informix Administrator's Guide and
> > Administrator's Reference manuals and I would recommend that as a source
> > for
> > more detail.
>
> Happy to do so; it's just hard to know where to start (it's the "piecemeal"
> part). I also now have in my hands a Redbook that compares Informix to SQL
> Server--which I don't particularly care about, but it has the happy side
> effect of giving an overview of the architecture.
>
> > An Informix database engine or server is known as an instance for
> > simplicity
> > and to reduce confusion as to what is meant by "server". An Informix
> > instance can manage multiple databases whose names are also part of your
> > JDBC URL string. A host or machine can have multiple instances running on
> > it each of which is identified internally by a SERVERNUM integer which
> > clients do not need to know about and a DBSERVERNAME which links the
> > instance to a particular communications method or protocol (share memory,
> > named stream pipe, TCP/IP using Informix's native "SQLI" protocol, or
> > TCP/IP
> > using IBM's DRDA protocol), IP address (or addresses), and service or
> port
> > number.
>
> OK, that makes sense. Question: if I'm connecting to a TCP port 1001,
> haven't I already pretty much established the communications protocol (TCP
> +
> SQLI) and port number (1001)? In this case, why do I need to specify a name
> that serves to group this information? Can't it just be inferred from the
> fact that someone answered the phone on 1001 and understood my request in
> SQLI format?
>

Under most conditions, yes it can, and really the instance doesn't care
which of its names (aliases) you use to connect to it. In JDBC and ODBC
land, the INFORMIXSERVER has been mostly redundant and there for historical
reasons. In the case of ESQL/C library based apps the INFORMIXSERVER may
also be redundant if the user/application connects to the database using a
name that specifies the server (so:
CONNECT TO "ngp@devnotfoo"
rather than using
CONNECT TO "ngp";
which then has to know the default INFORMIXSERVER to connect to in order to
find database 'ngp'. However, I cheated a bit for simplicity.
INFORMIXSERVER does not necessarily name an Informix instance. It could
name a server group, a Connection Manager instance, or even a group
referencing several Connection Manager instances. Groups have been around
since the early Informix 7.xx days and are used either to identify
Enterprise Replication relationships between servers and/or to create a
connection name that can refer to any of several servers in case one or more
of them are offline, in which case the connection request would attempt to
connect to each server in the group sequentially until one responds. In
this case only the name is used to retrieve the definition of the server
group. That definition has the host/port/protocol information for each
instance in the group.

Similarly, since Informix 11.10 introduced the Connection Manager, which
handles load balancing including prioritizing preferences as to which users
are connected to which servers first, the INFORMIXSERVER name might actually
be the name of a Connection Manager instance which will be managing many
such names each of which refers to a different SLA preference lists. The
Connection Manager will have a single host, and port (and the protocol will
be Connection Manager protocol over TCP/IP) but be managing many SLA names.
So here too, the name is important. Connection Manager works with ODBC/JDBC
connections also while server groups do not. Using Connection Manager, the
CM connection only supplies the actual connection details for the server
instance that it selects for this connection request and the underlying
library closes the port and reconnects directly to the supplied server
instance using that information.

>
> > Java either uses the underlying ODBC mechanisms or the URL string you
> > allude to for the same thing.
> >
>
> I guess my point is: can't all that information be inferred WITHOUT the
> INFORMIXSERVER variable, if I'm connecting with the JDBC driver to a
> particular host on a particular port speaking a particular communications
> protocol? (Clearly it cannot, or you wouldn't have this INFORMIXSERVER
> variable as a requirement, but I don't see how.)
>

See above.

>
> > jdbc:informix-sqli://
> devfoo.jenzabar.com:1001/ngp:INFORMIXSERVER=devnotfoo
> >
> > software protocol: Native Informix SQLI
> >
>
> Yep.
>
> > hardware protocol: TCP/IP (default)
> >
>
> Yep.
>
> > host:
> > devfoo.jenzabar.com<
> > http://devfoo.jenzabar.com:1001/ngp:INFORMIXSERVER=devnotfoo>
> >
>
> OK, yep.
>
> > port for initial connection request: 1001
> >
>
> Yep.
>
> > database name: ngp
> >
>
> Yep.
>
> > servername/alias: devnotfoo
> >
>
> OK, this is where I pause. :-) I'm already connected to *something* on
> host devfoo, port 1001, speaking SQLI--you refer to this as the "initial
> connection", suggesting that perhaps other connections (by me? by...?) will
> be made soon--so what extra value does devnotfoo add here? What does it
>

Ahh, just an old net-dog spouting netspeak. If you are interested: When
one attempts to connect to a TCP/IP service's listener over its defined
port, it responds by opening a new connection on a new port number, returns
that new port number to the client requesting the connection, and goes back
to listening for connection requests. At the sockets network library level
the client calls the connect() system call, the listening service is blocked
on the listen() system call until the connection comes in. When listen()
returns, the service task creates the secondary connection (called "binding
a port" to the client) using the bind() system call (TLI library functions
for this are equivalent but named differently). All further communications
from that client are conducted over that secondary connection. I was just
differentiating the final data connection and port from the initial connect
request and its port. So, in your case, your apps only use the 1001 port
for the initial connection request, they actually communicate with Informix
over that private secondary connection port.

> convey? Surely it doesn't just convey TCP/SQLI/port1001, because I've
> already got that. If instead it conveys that I should be looking up this
> configuration from the sqlhosts file, or otherwise dereferencing it into
> the
> various settings it stands in for, what happens if those settings (which
> include things like communications protocol) specify a different port, or a
> shared memory configuration? I'm already hooked up via TCP to port 1001, so
> what good would any alternate information here do me?
>
> (A quick side note to say how much I appreciate the community's help here.
> I'm really REALLY grateful.)
>
> Best,
> Laird
>
> --0015174be8a8cb17da04a5d8a6ca
>
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>

--bcaec501c446c95e0e04a5d91d4f

Messages In This Thread

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

IDS Forum is maintained by Administrator with WebBBS 5.12.