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:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=.
.
)
(SID_DESC=.
.
)
(SID_DESC=
(SID_NAME=gateway_sid)
(ORACLE_HOME=oracle_home_directory)
(PROGRAM=dg4tera)
(ENVS=PATH=oracle_home_directory\bin;teradata_client_directory\lib;Windows_system_paths)
)
)
Heterogeneous services, for additional cost, allows linking to
teradata a variety of ways, including via
MySQL connection.
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
teradata prohibitive.
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
Oracle database.
- Configure the Hetergeneous services. This consists of
creating an initodbc.ora file within the Oracle database
installation.
- 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
tree.
- 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.
|
|
|
|
Guarantee your Success!
Oracle is the
world's most complex, robust and flexible database, considered
impossible to master without a mentor.
That's why all BC
Oracle trainers are working professionals, experts in Oracle who
share their tips and secrets. |
|
| |
|
Burleson is the American Team

Note:
This Oracle
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
Oracle forum.
Verify
experience!
Anyone
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
publish
their Oracle
qualifications.
Errata?
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
feedback. Just
e-mail:
and include the URL for the page.
Copyright ? 1996 - 2012
All rights reserved.
Oracle ?
is the registered trademark of Oracle Corporation.
|
|