Database Link down crashing server
I have a problem with my server getting a JRun error and
stopping Coldfusion entirely if a linked database becomes
unavailable. My database will still be available and as long as
nothing in the application hits the linked database, my system is
fine. After several hits to the linked database, the Coldfusion
server dies and never logs any error. All of the queries are in
cftry/cfcatch blocks. I am assuming that the database connection is
timing out because of the linked database being unavailable.
Is there any other way to catch these errors so I can error
out without dropping the whole system?
Web Server:
CF MX 6.1 updater 2 with database update patches
Windows Server 2003
IIS 6.0
Database Server:
Oracle 9.4.0.4
Windows Server 2003
Thanks
No solutions, only some thoughts, sorry...
(are you sure you have the _latest_ database updates? really
is pretty essential -
http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=988...
but anyway...)
Assuming that you mean that the linked database is done
within Oracle, so I would see this as a Network/Oracle problem
really.
Best bet would be to set up a two simple databases, link to
one, set datasource to one that contains the link and carry out
some simple tests.
Try what paross1 said in a simple controlled environment and
then if it still breaks, then break it and take a stack dump of
what is going on in the coldfusion server at the time
http://www.adobe.com/go/tn_18339
Bring back what you can and then it might be possible for the
community to help.
Similar Messages
-
Creating a database link to SQL server
Hi All,
How can I create a database link from Oracle9i Enterprise Edition Release 9.2.0.1.0 DB to MS SQL Server database.
Thanking You
Regards LakmalIt depends on your requirements.
You can use either Generic Connectivity or Transparent Gateways.
More information can be found here:
http://www.oracle.com/technology/products/gateways/index.html -
Database link to SQL Server Init error
Hi all,
i´m tryng to create a dblink between Oracle 10.2.0 in a RHEL4 and a SQL Server.
I can connect using isql but when i try using sqlplus i obtain this error:
SQL> CREATE DATABASE LINK dbl
CONNECT TO "user"
IDENTIFIED BY "pwd"
USING 'hsodbc'; 2 3 4
Enlace con la base de datos creado.
SQL> SELECT * FROM Table_1@dbl;
SELECT * FROM Table_1@dbl
ERROR en línea 1:
ORA-28545: error diagnosticado por Net8 al conectar a un agente (error in Net8 while connecting an agent)
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: 2 lines precediendo a DBL
This is the error explanantion in Oracle Docs:
I think the problem is the ini file inithsodbc.ora.
inithsodbc.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
# AAB - Parametros para asociar un agente ODBC al HS
HS_FDS_CONNECT_INFO = MSQLS
HS_FDS_TRACE_LEVEL = ON
HS_FDS_SHAREABLE_NAME =/usr/local/freetds/lib/libtdsodbc.so
HS_AUTOREGISTER = true
# ODBC specific environment variables
set ODBCINI=/home/oracle/.odbc.ini
listener.ora
# listener.ora Network Configuration File: /app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = STA2)
(ORACLE_HOME = /app/oracle/oracle/product/10.2.0/db_1)
(SID_DESC = (SID_NAME=hsodbc)
(ORACLE_HOME=/app/oracle/oracle/product/10.2.0/db_1)
(PROGRAM=hsodbc)
(ENVS=LD_LIBRARY_PATH=/app/oracle/oracle/product/10.2.0/db_1/lib:/usr/local/lib)
LISTENER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr2.hi.inet)(PORT = 1521))
tnsnames.ora
# tnsnames.ora Network Configuration File: /app/oracle/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DEVSTA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr.hi.inet)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = devSTA)
STA2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr2.hi.inet)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = STA2)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
STA =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr2.hi.inet)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = STA)
#AAB - Descripcion de servicio para conectar con SQLServer
HSODBC = (DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)
(HOST=nemesisgr2.hi.inet)
(PORT=1521)
(CONNECT_DATA = (SID=hsodbc)
(HS = OK)
ODBC Files
odbc.ini
[ODBC Data Sources]
MSQLS = Microsoft SQL Server
[MSQLS]
Driver = /usr/local/freetds/lib/libtdsodbc.so
Description = Microsoft SQL Server
Trace = No
Servername = sqlserver
Database = master
[Default]
Driver = /usr/local/freetds/lib/libtdsodbc.so
odbcinst.ini
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
[MSQLSDRIVER]
Description = Driver for MS SQL Server
Driver = /usr/local/freetds/lib/libtdsodbc.so
Setup = /usr/lib64/libtdsS.so
FileUsage = 1
UsageCount = 5
freetds.conf
# $Id: freetds.conf,v 1.12 2007/12/25 06:02:36 jklowden Exp $
# This file is installed by FreeTDS if no file by the same
# name is found in the installation directory.
# For information about the layout of this file and its settings,
# see the freetds.conf manpage "man freetds.conf".
# Global settings are overridden by those in a database
# server specific section
[global]
# TDS protocol version
; tds version = 4.2
# Whether to write a TDSDUMP file for diagnostic purposes
# (setting this to /tmp is insecure on a multi-user system)
; dump file = /tmp/freetds.log
; debug flags = 0xffff
# Command and connection timeouts
; timeout = 10
; connect timeout = 10
# If you get out-of-memory errors, it may mean that your client
# is trying to allocate a huge buffer for a TEXT field.
# Try setting 'text size' to a more reasonable limit
text size = 64512
# A typical Sybase server
[egServer50]
host = symachine.domain.com
port = 5000
tds version = 5.0
# A typical Microsoft server
[egServer70]
host = ntmachine.domain.com
port = 1433
tds version = 7.0
# Test MS SQl Server
[sqlserver]
Database = master
host = pruebas.hi.inet
port = 1433
tds version = 7.0
Any ideas??
Thanks in advance.
AlexI have changed the inithsodbc.ora file including:
HS_FDS_SHAREABLE_NAME =/usr/lib/libodbc.so (I have ODBC installed)
Here you are the other information:
lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 23-OCT-2008 09:29:52
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Bienvenido a LSNRCTL, escriba "help" para obtener información.
LSNRCTL> status
Conectándose a (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=nemesisgr2.hi.inet)(PORT=1521)))
ESTADO del LISTENER
Alias LISTENER
Versión TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Fecha de Inicio 22-OCT-2008 19:31:34
Tiempo Actividad 0 días 13 hr. 58 min. 29 seg.
Nivel de Rastreo off
Seguridad ON: Local OS Authentication
SNMP OFF
Parámetros del Listener /app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log del Listener /app/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Recibiendo Resumen de Puntos Finales...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nemesisgr2)(PORT=1521)))
Resumen de Servicios...
El servicio "STA" tiene 1 instancia(s).
La instancia "STA", con estado READY, tiene 1 manejador(es) para este servicio...
El servicio "STA2" tiene 2 instancia(s).
La instancia "STA2", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
La instancia "STA2", con estado READY, tiene 1 manejador(es) para este servicio...
El servicio "STA2XDB" tiene 1 instancia(s).
La instancia "STA2", con estado READY, tiene 1 manejador(es) para este servicio...
El servicio "STA2_XPT" tiene 1 instancia(s).
La instancia "STA2", con estado READY, tiene 1 manejador(es) para este servicio...
El servicio "STAXDB" tiene 1 instancia(s).
La instancia "STA", con estado READY, tiene 1 manejador(es) para este servicio...
El servicio "STA_XPT" tiene 1 instancia(s).
La instancia "STA", con estado READY, tiene 1 manejador(es) para este servicio...
El servicio "hsodbc" tiene 1 instancia(s).
La instancia "hsodbc", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
El comando ha terminado correctamente
LSNRCTL>
hsodbc
There is no output executing this command.
[oracle@nemesisgr2 ~]$ /app/oracle/oracle/product/10.2.0/db_1/bin/hsodbc
[oracle@nemesisgr2 ~]$
tnsping hsodbc
[oracle@nemesisgr2 ~]$ tnsping hsodbc
TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 23-OCT-2008 09:35:58
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Archivos de parámetros utilizados:
/app/oracle/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
Adaptador TNSNAMES utilizado para resolver el alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp) (HOST=nemesisgr2.hi.inet) (PORT=1521)) (CONNECT_DATA = (SID=hsodbc)) (HS = OK))
Realizado correctamente (40 mseg)
Rgds,
Alex -
Strange problem with an Oracle database link to SQL Server
Hi gurus,
Please help me on this problem.
We have an Oracle 10R2 database link to a SQL Server 2000 database. I can select count(*) from The_SQL_Server_Table@myOracleLink, and I can describe The_SQL_Server_Table@myOracleLink, but I cannot select Column1 from The_SQL_Server_Table@myOracleLink! I am getting the ORA-00904: "COLUMN1": invalid identifier error.
Could anyone tell me what is wrong here? By the way, the same user name can select all the columns in The_SQL_Server_Table through ODBC from the client app. But I need the DB link to work with some Oracle stored functions.
Thank you!
Benmyora9i wrote:
Hi gurus,
Please help me on this problem.
We have an Oracle 10R2 database link to a SQL Server 2000 database. I can select count(*) from The_SQL_Server_Table@myOracleLink, and I can describe The_SQL_Server_Table@myOracleLink, but I cannot select Column1 from The_SQL_Server_Table@myOracleLink! I am getting the ORA-00904: "COLUMN1": invalid identifier error.
Could anyone tell me what is wrong here? By the way, the same user name can select all the columns in The_SQL_Server_Table through ODBC from the client app. But I need the DB link to work with some Oracle stored functions.
Thank you!
Bennotice "COLUMN1" is different from "Column1"
CaSe MaTTerS! -
Hi all,
We are running SAP 4.7C with oracle database. For other oracle (non-sap) we are using DBCO to get/put data. Now we have to do the same in SQL server also. In addition to SAP standard table we are sending data of customer table (Z & Y series). Can anybody guide me how to send / receive data using bapi/rfc or some other method.
regards
balakumarHi!
For using native-SQL with MSSQL database you have to make your database requests from application server resides on windows platform. So, your basis people have to set up one more windows-based application server instance. There is no impact on backend R/3 database.
Regards,
Maxim. -
Automating Database up & down when server start and shutdown in Linux
Hi to all,
Question:How to set in linux, whenever server is on the database up and server off the database down?
Problem: whenever i am issue the command "chkconfig --add dbora"
or "chkconfig --level 345 dbora on"
The message is as follows
service dbora does not support chkconfig.
I use oracle 9i on Redhat linux as 3.
please send reply as soon as possiblehttp://tldp.org/HOWTO/Oracle-9i-RH8-and-RH9-HOWTO-5.html ??
Maybe you can use this. Its probably also hidden somewhere inside manuals for unbreakable/redhat oracle linux on metalink. Dunno why they insist on NOT including this auto start/stop in installation - how hard can it be, if you know linux inside-out.... If they did, It should make them more comfortable competing with other rdbms vendors that dont object to making many such things working "out of the box" :) ..... (no pun intended) -
Multibyte issue in database link with sql server
Hi Gurus,
Greetings!!!
I need to transfer data from Microsoft SQL Server 2005 to Oracle DAtabase 10g(AL32UTF8 characterset). I achieved it using Heterogeneous Connectivity. I can now issue queries but unfortunately i got an issue in displaying multibyte characters. I thought of using another Tool that can display multibyte data but it did not help. I even tried setting the initialization parameter HS_LANGUAGE to different characterset but still not able to display. Kindly help and advise how to resolve the said issue.
Many Thanks in Advance,
BenjieWhat is the exact issue you're talking about?
Can you explain it or show us a sort of it with a sample output?
MS SQL Server is not our daily bread so we may not know how it works with Oracle and what problems are there in their interconnectivity, but we may tell you what may be the reason of a behavior that causes the issues for your purpose.
Bye Alessandro -
How to create a database link to SQL Server from a RAC environment
We have a 4 node RAC running 11.2.0.3 binaries on 64-bit linux.
Grid owns the listener named listener.
Oracle owns the database.Thanks all! But I tried to configure and I am getting
TNS-01201: Listener cannot find executable /u01/app/oracle/product/11.2.0.3/dbhome_1/bin/InfoEdb10 for SID InfoEdb10
Listener failed to start. See the error message(s) above...
So! What I did was
1. Configure the odbc from the OS (only one node) and create the DSN and its odbc files. connectivity works from Operating Systems.
2. Create the listener entry (under GRID) user.
3. Create the remotedb.ora file under $ORACLE_HOME/hs/admin
--- Here is listener.ora file
LISTENER_NODE1_TG =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devrac-a-01-vip.cssd.pitt.edu)(PORT = 1549)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = devrac-a-01.cssd.pitt.edu)(PORT = 1549)(IP = FIRST))
SID_LIST_LISTENER_NODE1_TG =
(SID_LIST =
(SID_DESC =
(SID_NAME = InfoEdb10)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.3/dbhome_1)
(ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0.3/dbhome_1/lib")
(PROGRAM = InfoEdb10)
any help is appreciated -
I should create a new database link to an AS/400 server but i m rookie!!
İ have an oracle 10g DB server.İ need get some of data from AS/400 DB on other location and put them all to my oracle server.İ should create a database link between oracle server and AS400 DB but how will i realize that event.in oracle 10g enterprise manager console i choose administration-database link-create database link.At this step how could i fill the requirement.Which format should i use.
General
* Name:???????? (should i type the AS400 IP?????)
* Net Service Name:???????? (what should i fill)
Public - This database link is available to all users.
Connected User:
Current User
Fixed User
Username
Password
Confirm Password
thanks for all as nowİ have an oracle 10g DB server.İ need get some of data from AS/400 DB on other location and put them all to my oracle server.İ should create a database link between oracle server and AS400 DB but how will i realize that event.in oracle 10g enterprise manager console i choose administration-database link-create database link.At this step how could i fill the requirement.Which format should i use.
General
* Name:???????? (should i type the AS400 IP?????)
* Net Service Name:???????? (what should i fill)
Public - This database link is available to all users.
Connected User:
Current User
Fixed User
Username
Password
Confirm Password
thanks for all as now -
Creation of Database link and access the same plus Snapshot creation
i want talk between two oracle server. i decided to go for snapshot creation with periodical refresh. For which i am having two oracle server's with different ip address located inside our office setup.
I have created a database link between two servers.
first server name global
userid scott
password tiger
second server name asil
userid scott
password tiger
both the user have been given dba rights.
in both the server the services and listners are all started. i gave the following command to create database link.
from asil server
create public database link global connect by scott identified by tiger using 'global'
the command was successful and the link was created. Now i tried to access a table of the scott user of the global server.
select * from emp@global;
now it is giving error. I want to know how the link can be created and how it can be accessed. i refered the 8i online documentation and done the things based on that. i expect valuble solution from all possible persons
nullA reason for this problem could be that your database is configured that a database link has to have exactly the same name like the global name of the database instance it should connect to.
Can you please provide the oracle error code / message ? With this information there might be more hints I can give you. -
Not able to create a database link using the database gateway of oracle 11g
HI,
While trying to create a database link to SQL server from Oracle ,using the database gateway provided with 11g, i am getting the following error while making use of it in selecting columns from tables :
Error starting at line 1 in command:
select * from test1@dblink
Error at Command Line:1 Column:20
Error report:
SQL Error: ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from DBLINK
These are the steps i have followed for setting up:
1.Ran the set up for the Database gateway.and mentioned the SQL server name and database .ALos set up a listener.
2. Added the following in the Listener.ora of Oraclehome 11/NETWORK/ADMIN:
LISTENER_SQL_FCD =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1541)
SID_LIST_LISTENER_SQL_FCD =
(SID_LIST =
(SID_DESC =
(SID_NAME=dg4msql)
(ORACLE_HOME= D:\app\20537\product\11.1.0\db_3)
(PROGRAM=dg4msql)
3.Added the following in tnsnames.ora inOracle home/NETWORK/ADMIN:
dg4msql=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1541))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
4. Following is the entry in initdg4msql.ora in C:\product\11.1.0\tg_5\dg4msql\admin:
HS_FDS_CONNECT_INFO=10.148.45.242:1433//SalesDemo
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
5. Created the database link :
create database link dblink
connect to "sa" identified by "<pswd>"
using 'dg4msql'
On running :select * from test1@dblink i get the following error:
Error starting at line 1 in command:
select * from test1@dblink
Error at Command Line:1 Column:20
Error report:
SQL Error: ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from DBLINK
Is there any issue with the set or definition that I get the above error?What is the version of the Oracle database in which you have specified/and use the database link?
If it is for example 10.2.0.3.0 you need to apply the mandatory patch for RDBMS bug 5965763 first before being able to use an 11g gateway. Have a look at MetaLink note 457808.1 for details about this patch.
Regards,
Ed -
Database Link Creation and Acessing
i want to talk between two oracle server. i decided to go for snapshot creation with periodical refresh. For which i am having two oracle server's with different ip address located inside our office setup.
I have created a database link between two servers.
first server name global
userid scott
password tiger
second server name asil
userid scott
password tiger
both the user have been given dba rights.
in both the server the services and listners are all started. i gave the following command to create database link.
from asil server
create public database link global connect by scott identified by tiger using 'global'
the command was successful and the link was created. Now i tried to access a table of the scott user of the global server.
select * from emp@global;
now it is giving error. I want to know how the link can be created and how it can be accessed. i refered the 8i online documentation and done the things based on that. i expect valuble solution from all possible persons
nullSee link http://kr.forums.oracle.com/forums/thread.jspa?threadID=221081
Hope this helps solve your issue.
thanks
http://swervedba.wordpress.com/ -
Change of a database link in OWB
I have a good suggestion to change a a database link when a server is moved to another location (in that case the database link of the source module has to be changed)
In OWB 9.0.2 it's not impossible to delete a database link in OWB, so you have to do it manually
(in 9.0.4 it should be possible, but this version is also not easy to use).
- Start SQL Plus and log in as the schema on which the OWB repository is created (e.g. OWB).
- Drop the database link ('drop database link <dblink name>')
- Create a new database link in the same schema with the new parameters, e.g:
CREATE DATABASE LINK "<dblink name>"
CONNECT TO "<...>" IDENTIFIED BY "<...>"
USING '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = <hostname>) (PORT = 1521))) (CONNECT_DATA = (SID = <sid> )))'
Done!
No stupid errors in OWB when you create the database link in OWB itself.
Regards,
Maurice
;SQL> create view test_view as select dummy from [email protected]
2 ;
View created.
SQL> select dummy from test_view;
D
X
Execution Plan
0 SELECT STATEMENT (REMOTE) Optimizer=CHOOSE
1 0 TABLE ACCESS (FULL) OF 'DUAL' FIRST9.XXXX.COM
Statistics
7 recursive calls
4 db block gets
2 consistent gets
0 physical reads
212 redo size
363 bytes sent via SQL*Net to client
425 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
NOW WE PULL OUT THE NETWORK CABLE connecting the two servers.
SQL> select dummy from test_view;
select dummy from test_view
ERROR at line 1:
ORA-02068: following severe error from FIRST9.XXXX.COM
ORA-03113: end-of-file on communication channel
So all you have to do is to test for the communications error. -
Using database link to connect to two databases
Hi guys,
Here's my question. I need to give a contractor Select rights on tables located in two schemas located on two different servers. One server is dev and one is prod. Let's say we have schema user: EMPLOYEE on dev and schema user: DEPARTMENT on prod. The outside contractor needs select rights on all tables in DEPARTMENT schema but only needs select on a few tables ( 4 to be exact) from EMPLOYEE schema.
My initial train of thougth is: CREATE a user named: TEST (random name of course, just used for an example) for contractor on prod. Give user TEST select rights on all tables in DEPARTMENT schema.
Create database link to dev server so user TEST can access EMPLOYEE schema.
How do i go about limiting the user TEST via the database link to only view the 4 tables from EMPLOYEE instead of all teh tables?
Should I also consider doing this scenario in reverse? Creating user TEST on dev, giving TEST rights to the 4 tables in EMPLOYEE, then creating the database link to connect to department schema on prod database??
Any help will be appreciated. Thanks in advance.zephyr223 wrote:
Hi guys,
Here's my question. I need to give a contractor Select rights on tables located in two schemas located on two different servers. One server is dev and one is prod. Let's say we have schema user: EMPLOYEE on dev and schema user: DEPARTMENT on prod. The outside contractor needs select rights on all tables in DEPARTMENT schema but only needs select on a few tables ( 4 to be exact) from EMPLOYEE schema.
My initial train of thougth is: CREATE a user named: TEST (random name of course, just used for an example) for contractor on prod. Give user TEST select rights on all tables in DEPARTMENT schema.
Create database link to dev server so user TEST can access EMPLOYEE schema.
How do i go about limiting the user TEST via the database link to only view the 4 tables from EMPLOYEE instead of all teh tables? Only grant them access to those four tables from EMPLOYEE. You have to explicitly grant privileges anyways, and since there is no GRANT SELECT ON <SCHEMA> ability it should not be that difficult.
Should I also consider doing this scenario in reverse? Creating user TEST on dev, giving TEST rights to the 4 tables in EMPLOYEE, then creating the database link to connect to department schema on prod database?? Are you creating database links as the EMPLOYEE and DEPARTMENT users? If so, I would caution against that. Create a "current user" database link for TEST. I think you can manage privileges better that way.
HTH!
HTH! -
Database Link makes manipulation slow
i have oracle 8.5 with developer 6i.
my application uses two database server and there is a database link between both server.
when user make a transaction and commit the manipulation procedures post the transaction on local server and on other server through database link.
but some time it freezes when user press save button and resume after about 5 seconds. and even some time it hangs up for long time.
is there any solution to get rid of this problem?
i m working in a client server environment with LAN.
regards
adeelhow much time does it take if you do the same amount of data transaction on sqlplus with the two linked databases?
The solutions depend on the details of your task.
e.g.,if data are huge, using the database night cronjob to make the tansactions to the linked one.
Maybe you are looking for
-
I run Firefox 29.0.1 on Windows 7 (64 bit) and I get the "Firefox is already running but not responding. In order to open the program you must close the existing window." error. EVERY TIME I try to start Firefox. The posted solution works to start th
-
HELP Aperture 2 won't launch on Mac Os X 10.6.4
Hello, I just installed Aperture 2 on my MacBook, I have Snow Leopard installed but when I try to launch Aperture I get this message: "You can't use this version of Aperture with this version of Mac OS X" My version is 10.6.4, but in the technical sp
-
How do you save an edited photo?
After I edit my photo it will not save to the new edited look. It only appears in the edited look while I'm in the edit mode. Once I click on any other button or mode such as info it automatically reverts to the original picture and does not stay
-
Got My First Blurb Book Delivered Today
I'm impressed with the print quality and color rendering. The monochrome shots using the LR B&W treatment are also very good. I uploaded from my DNG's directly the LR4 Book Module. I used a variety of background colors for pages. I used some of my
-
ACH format needs a new field - AR customer number
Hi Gurus: The standard ACH format I am using via the Payment medium workbench does not have the customer number in it. The client wants the customer number on the ACH payment medium file that is sent to the bank. Can anyone please guide me on how to