Question: I am using oracle 8i, and I would
like to read data from teradata using public link and views.
Is this possible? If so, what is the preferred method and
how would I set it up?
Answer: There are multiple ways to link
Oracle with teradata:
- Oracle Gateway links to teradata via a gateway listener
- Heterogeneous Services offers an extra cost option for
linking to teradata
- GoldenGate provides a link to teradata
- ODBC link with teradata via ODBD
Linking Oracle to teradata via Oracle Gateway requires that a
listener be defined:
Heterogeneous services, for additional cost, allows linking to
teradata a variety of ways, including via
GoldenGate, also an additional cost tool,
will interface with just about any database.
Connecting an Oracle database to teradata via an ODBC connection
via ODBD is possible, but it can be very slow. These slow
speeds can make this route of connection of an Oracle database to
Setting up the ODBC connection between Oracle and teradata is the
same as setting up any other ODBC connection. The ODBC driver
for the Oracle to teradata connection is available with a simple
Google search. The steps are:
- Install ODBC drivers for the Teradata database. The drivers
are installed on your laptop or on the server that contains the
Oracle code tree.
- Setup the ODBC connection on your laptop using the Windows
ODBC Data Source Administrator
- Test the ODBC drivers to ensure that connectivity is
made to the non-Oracle database.
- Ensure the Global_names parameter is set to False in the
- Configure the Hetergeneous services. This consists of
creating an initodbc.ora file within the Oracle database
- Modify the Listener.ora file on the database
installation to connect to the Oracle instance and ODBC drivers.
- Modify the Tnsnames.ora file to point to the proper code
- Reload the listener
- Create a database link on the Oracle installation.
- Run a Select statement for the Oracle installation
using the database link.
As noted before, the ODBC method of connecting Oracle to teradata
can be very slow, so it might beneficial to consider other options,
even if there is some additional cost. This is particularly
applicable if you intend to use this type of connection on an
ongoing basis to access the information you need.
Get the Complete
Oracle SQL Tuning Information
The landmark book
SQL Tuning The Definitive Reference" is
filled with valuable information on Oracle SQL Tuning.
This book includes scripts and tools to hypercharge Oracle 11g
performance and you can
for 30% off directly from the publisher.