Append Hint causing ORA-00603: ORACLE server session terminated by fatal er
Hi All,
I am facing Service Terminated by Fatal Error when using APPEND hint in my Insert statement.
We are executing the below commands in Oracle 9ir2.
This is the scenario which I am facing.
SQL> insert into VALIDTRANSACTIONLINE select * from TRANSACTIONONLINE;
1910534 rows created. --works fine
SQL> rollback;
Rollback complete.
SQL> insert /*+ append */ into VALIDTRANSACTIONLINE select * from TRANSACTIONONLINE;
ERROR at line 1:
ORA-00603: ORACLE server session terminated by fatal error
FYI: The table is having LOGGING-NO and the tablespace for this table is having more than 5GB of free space and undotablespace is also around 650 MB and the total size of insertion will be less than 50MB records.
Has anyone faced this kind of issue.
Appreciate your response.
Thanks,
Madhu K.
Hi,
FYI:
I can see the undotablespace is having 0MB free space.
it is a very strage issue.
With Undotablespace Zero, I was able to insert the data having APPEND Hint but no indexes on the table.
But when I create an Index on the Table and the Index is also in NOLOGGING mode, the Insertion is again failed with FATAL Error.
Ex: No Index on the table.
SQL> INSERT +append
2 INTO credit
3 SELECT /*+ driving_site(t1) */ * FROM tru_cmp.credit@EPSARCDV_TO_EPSDEV1.DIRECTV.COM t1 WHERE PERIODSEQ =300;
1999401 rows created.
CREATE UNIQUE INDEX TRU_CMP.CREDIT_PK_IND ON TRU_CMP.CREDIT
(CREDITSEQ)
NOLOGGING
TABLESPACE TALLYINDEX
NOPARALLEL
INSERT +append
INTO credit
SELECT /*+ driving_site(t1) */ * FROM tru_cmp.credit@EPSARCDV_TO_EPSDEV1.DIRECTV.COM t1 WHERE PERIODSEQ =300;
ERROR at line 3:
ORA-00603: ORACLE server session terminated by fatal error
Can you let me is this related to the Data File issue, so that I can ask the DBA to look into this as I dont have access to those alert log files.
Thanks,
Madhu K.
Similar Messages
-
ORACLE server session terminated by fatal error
Hi,
When i try to startup my database(10g), i am getting this error after database monted.
ORA-00603: ORACLE server session terminated by fatal error.
(Startup nomount is ok)
conn /as sysdba
Total System Global Area 1048576000 bytes
Fixed Size 1223392 bytes
Variable Size 343934240 bytes
Database Buffers 700448768 bytes
Redo Buffers 2969600 bytes
Database mounted.
ORA-00603: ORACLE server session terminated by fatal error
Alert.log:
Errors in file /u01/app/oracle/product/10.2.0/db_1/admin/db/udump/db_ora_9917.trc:
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [4194], [24], [14], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [24], [14], [], [], [], [], []
The trace file is 1,6GB(!)
Trace file:
----- Redo read statistics for thread 1 -----
Read rate (ASYNC): 26Kb in 0.78s => 0.03 Mb/sec
Total physical reads: 4096Kb
Longest record: 0Kb, moves: 0/62 (0%)
Change moves: 35/122 (28%), moved: 0Mb
Longest LWN: 14Kb, moves: 0/13 (0%), moved: 0Mb
Last redo scn: 0x0000.31539752 (827561810)
NO VALID LOG MEMBER FOR SEQ# 20884 OF THREAD 1!
NO VALID LOG MEMBER FOR SEQ# 20883 OF THREAD 1!
*** 2011-01-06 06:18:51.782
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [4194], [56], [49], [], [], [], [], []
Current SQL statement for this session:
update service$ set name = :1, name_hash = :2, network_name = :3, creation_date = :4, creation_date_hash = :5, deletion_date = null, goal = :6, flags = :
----- Call Stack Trace -----
ThanksHello,
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/u01/app/oracle/product/10.2.0/oradata/db/system01.dbf'The system01.dbf which belongs to the Tablespace SYSTEM is still inconsistent.
So, I think you'll need to start from a Backup and apply all the Archived Redo logs before the ORA-600 occured.
More over, try to open a Service Request to My Oracle Support and, send them all the Traces Files and Alert Log so that they can follow all the actions which has occured on this Database. You may need their help.
Best regards,
Jean-Valentin -
Does RULE hint cause ORA-01555 errors ?
DB Version:9.2.0.5.0
OS:SunOS 5.9
Our DBA is saying that the RULE hint in the below SQL might be causing ORA-01555 error. Is it true? Does RULE hint cause ORA-01555 errors
SELECT /*+ RULE */ COUNT(*)
FROM ( SELECT /*+ RULE */ DISTINCT CAR_HDR.CAR_NBR AS A1, CAR_HDR.PLT_ID AS A29,
CAR_HDR.PKT_CTRL_NBR AS A2, CAR_HDR.TOTAL_QTY AS A21, CAR_HDR.STAT_CODE AS A6,
CAR_HDR.CURR_LOCN_ID AS A12,
CAR_HDR.CAR_NBR AS A145,
CAR_HDR.WN_NBR AS A4, CAR_HDR.PCALL_NBR AS A7, CAR_HDR.CHAIN_CNT AS A119,
CAR_HDR.SHPMT_NBR AS A35, LPN_HDR.WHSE AS A105, CAR_HDR.MISC_CAR AS A146, '' AS A138,
CAR_HDR.CHUTE_ID AS A132, CAR_HDR.MOD_DATE_TIME AS A82, LPN_HDR.LOCN_CLASS AS A106,
LPN_HDR.AREA AS A107, LPN_HDR.ZONE AS A108, LPN_HDR.AISLE AS A109, LPN_HDR.BAY AS A110,
LPN_HDR.LVL AS A111, LPN_HDR.POSN AS A112
FROM INV_MASTER , CAR_DTL , LPN_HDR , CAR_HDR
WHERE CAR_HDR.CAR_NBR=CAR_DTL.CAR_NBR(+)
AND CAR_HDR.CURR_LOCN_ID=LPN_HDR.LOCN_ID(+)
AND CAR_HDR.WHSE=LPN_HDR.WHSE(+)
AND CAR_DTL.SKU_ID=INV_MASTER.SKU_ID(+)
AND CAR_HDR.CT_SEQ = 'ALB10'
AND INV_MASTER.INV_CODE = 98
AND INV_MASTER.TRACK_CODE = 'P10' )
user636669 wrote:
DB Version:9.2.0.5.0
OS:SunOS 5.9
Our DBA is saying that the RULE hint in the below SQL might be causing ORA-01555 error. Is it true? Does RULE hint cause ORA-01555 errorsThe full statement is causing the ORA-01555 error. Each line of the statement is important therefore each line is reponsible for the error. I personally think the DISTINCT keyword has a bigger influence than the RULE hint.
I suggest to check what you want to do with that count result. maybe there are better ways to get the same result. Maybe you can even ignore the distinct keyword or remove some outer joins. Using the CBO might result in the same plan as using the RBO, so you you will never know if that removing the hint will help or if if you'll get the same problem later again. -
ORA-00603 by using transactions. Unable to enlist in distributed transactio
I have a test application built with odp.net which does batches of inserts. The program might call a method that inserts 1000 rows ten times. I want all of these to be in one transaction so if I want to rollback I can restart the whole procedure. So I started a transaction and enlisted each connection to use it.
This seems to work OK for a while, but maybe after 5-10 calls to my batch-insert method I receive an ORA-00603 exception. In some rare cases I also get "Unable to enlist connection in distributed transaction."
Can someone help me or shed some light in how to get this to work?
From alert.log:
Incident details in: d:\app\exkatr\diag\rdbms\testdb\testdb\incident\incdir_63768\testdb_ora_8848_i63768.trc
Errors in file d:\app\exkatr\diag\rdbms\testdb\testdb\incident\incdir_63768\testdb_ora_8848_i63768.trc:
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [ktcirs:hds], [0x01AF68078], [0x006F10BF0], [0x021728078], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [ktcirs:hds], [0x01AF68078], [0x006F10BF0], [0x021728078], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [ktcirs:hds], [0x01AF68078], [0x006F10BF0], [0x021728078], [], [], [], [], [], [], [], []I tried running tkprof on the trc file but it didn't do anything. The generated file only looks like this:
TKPROF: Release 11.1.0.7.0 - Production on On Jul 21 11:40:37 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Trace file: d:\app\exkatr\diag\rdbms\testdb\testdb\incident\incdir_63768\testdb_ora_8848_i63768.trc
Sort options: default
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
Trace file: d:\app\exkatr\diag\rdbms\testdb\testdb\incident\incdir_63768\testdb_ora_8848_i63768.trc
Trace file compatibility: 10.01.00
Sort options: default
0 session in tracefile.
0 user SQL statements in trace file.
0 internal SQL statements in trace file.
0 SQL statements in trace file.
0 unique SQL statements in trace file.
7741 lines in trace file.
0 elapsed seconds in trace file.Have a look at Bug 8539335 (or 7510712)
-
while starting pfile the below error comes
can anyone help me
ORA-00603: ORACLE server session terminated by fatal errorORA-00603: ORACLE server session terminated by fatal error database alert log must have more detail on this error,please check and post.
-
Ora 01033- Oracle initialization or shutdown in process
Hi all
I am getting this error when I try to connect to SQL......I have restart the serveice of orcl but the result is same here
Is any way to get out from this error?
Thanks in advance
Shayan
[email protected]HI sory for late actually i am working on server for this problem and still the result is same
Here is alert_ora file last line
Tue Jul 24 12:22:59 2007
DEBUG: Replaying xcb 0x6be55a24, pmd 0x6b834010 for failed op 8
Doing block recovery for file 2 block 934
No block recovery was needed
Tue Jul 24 12:38:02 2007
alter database mount
Tue Jul 24 12:38:02 2007
ORA-1100 signalled during: alter database mount
Tue Jul 24 12:38:13 2007
alter database open
Tue Jul 24 12:38:13 2007
ORA-1531 signalled during: alter database open...
Tue Jul 24 12:38:50 2007
Shutting down instance (abort)
License high water mark = 3
Instance terminated by USER, pid = 2856
Tue Jul 24 12:39:07 2007
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
KCCDEBUG_LEVEL = 0
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
Dynamic strands is set to TRUE
Running with 2 shared and 18 private strand(s). Zero-copy redo is FALSE
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 10.1.0.2.0.
System parameters with non-default values:
processes = 150
shared_pool_size = 83886080
large_pool_size = 8388608
java_pool_size = 50331648
control_files = D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL03.CTL
db_block_size = 8192
db_cache_size = 25165824
compatible = 10.1.0.2.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = d:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
job_queue_processes = 10
background_dump_dest = D:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL\CDUMP
sort_area_size = 65536
db_name = orcl
open_cursors = 300
pga_aggregate_target = 25165824
PMON started with pid=3, OS id=3140
MMAN started with pid=4, OS id=3348
DBW0 started with pid=5, OS id=2644
LGWR started with pid=6, OS id=2828
CKPT started with pid=7, OS id=3120
SMON started with pid=9, OS id=3036
RECO started with pid=10, OS id=3532
CJQ0 started with pid=11, OS id=3724
Tue Jul 24 12:39:08 2007
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Tue Jul 24 12:39:17 2007
alter database mount
Tue Jul 24 12:39:17 2007
Controlfile identified with block size 16384
Tue Jul 24 12:39:21 2007
Setting recovery target incarnation to 2
Tue Jul 24 12:39:21 2007
Successful mount of redo thread 1, with mount id 1156582901
Tue Jul 24 12:39:21 2007
Database mounted in Exclusive Mode.
Completed: alter database mount
Tue Jul 24 12:39:30 2007
alter database open
Tue Jul 24 12:39:30 2007
Beginning crash recovery of 1 threads
attempting to start a parallel recovery with 2 processes
parallel recovery started with 2 processes
Tue Jul 24 12:39:30 2007
Started first pass scan
Tue Jul 24 12:39:30 2007
Completed first pass scan
62 redo blocks read, 9 data blocks need recovery
Tue Jul 24 12:39:30 2007
Started redo application at
Thread 1: logseq 581, block 3, scn 0.0
Recovery of Online Redo Log: Thread 1 Group 1 Seq 581 Reading mem 0
Mem# 0 errs 0: D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\REDO01.LOG
Tue Jul 24 12:39:30 2007
Completed redo application
Tue Jul 24 12:39:30 2007
Completed crash recovery at
Thread 1: logseq 581, block 65, scn 0.3471104
9 data blocks read, 9 data blocks written, 62 redo blocks read
Tue Jul 24 12:39:31 2007
Thread 1 advanced to log sequence 582
Maximum redo generation record size = 120832 bytes
Maximum redo generation change vector size = 116476 bytes
Private_strands 7 at log switch
Thread 1 opened at log sequence 582
Current log# 2 seq# 582 mem# 0: D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\REDO02.LOG
Successful open of redo thread 1
Tue Jul 24 12:39:31 2007
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Tue Jul 24 12:39:31 2007
SMON: enabling cache recovery
Tue Jul 24 12:39:31 2007
Successfully onlined Undo Tablespace 1.
Tue Jul 24 12:39:31 2007
SMON: enabling tx recovery
Tue Jul 24 12:39:31 2007
Database Characterset is WE8MSWIN1252
Tue Jul 24 12:39:31 2007
Published database character set on system events channel
Tue Jul 24 12:39:31 2007
All processes have switched to database character set
Tue Jul 24 12:39:32 2007
Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_3340.trc:
ORA-00600: internal error code, arguments: [4193], [976], [980], [], [], [], [], []
DEBUG: Replaying xcb 0x6be82ea4, pmd 0x6b834010 for failed op 8
Doing block recovery for file 2 block 934
No block recovery was needed
Tue Jul 24 12:41:18 2007
Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_3340.trc:
ORA-00600: internal error code, arguments: [4193], [976], [980], [], [], [], [], []
ORA-00600: internal error code, arguments: [4193], [976], [980], [], [], [], [], []
Tue Jul 24 12:41:20 2007
DEBUG: Replaying xcb 0x6be82ea4, pmd 0x6b834010 for failed op 8
Doing block recovery for file 2 block 934
No block recovery was needed
Tue Jul 24 12:41:20 2007
Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_3340.trc:
ORA-00600: internal error code, arguments: [4193], [976], [980], [], [], [], [], []
ORA-00600: internal error code, arguments: [4193], [976], [980], [], [], [], [], []
Tue Jul 24 12:41:22 2007
Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_3340.trc:
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [4193], [976], [980], [], [], [], [], []
ORA-00600: internal error code, arguments: [4193], [976], [980], [], [], [], [], [] -
How to create a dedicated-server session (to a oracle database)
Hello!
I've installed Oracle SQL Developer (Rel.: 2.1.1.64.45) and Oracle Instant Client (Rel.: 11.1.0.7), my Client is configured to enable connections using tnsnames.ora or host-/easy-naming (sqlnet.ora-entry: NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)).
Regardless how I configure a database-connection in SQL Developer, I allways "only" get a shared-server connection (even when using a tnsnames.ora-entry with "...(SERVER = DEDICATED)...").
SQL Developer (any release) in combination with ("fat") client 9.2.0.7 (using tnsnames.ora) creates dedicated-server sessions as wanted.
Is there any setting in SQL Developer which dis- and/or enables dedicated-server sessions or is this a feature/problem of Instant Client 11.1.0.7?
Any ideas and/or suggestions?
(Additional Info: There is no difference in this behavior according to the connected database, I work with databases 9.2.0.7, 10.2.0.3, 10.2.0.4, 11.1.0.6 and 11.2.0.1)
With kind regards
KlausHi,
Take a look at the main [ SQL Developer page on OTN|http://www.oracle.com/technology/products/database/sql_developer/index.html]. There is a link you should find useful, it's the Getting Started link under the Migration section. This explains how to download and setup the drivers you need to correct to non-Oracle databases. There are also links to online demonstrations on how to create connections to these databases. See how you go with that material.
It should help.
Sue -
ORA-00603 after a commit through a dblink
Dear Sirs:
I am working with a 9.2.0.4.0 oracle database, with a dblink (named SIO_TEST) to another 8.1.7.0.0 oracle database. I want to insert a record in a table of the 8.1.7 DB.
Using SQL+, and connected to the 9.2 DB, i can issue a SQL command like:
INSERT INTO PP02_PREST_PS@SIO_TEST
(CP02_PROGRESSIVO,CP02_C_REPARTO,
CP02_PROGR_CERTIF,
CP02_C_TIPO_PRESTA,
CP02_ESITO,
C_USR,
DT_AGG,
CP02_C_SALA_PS,
CP02_C_REPARTO_PRESTA)
VALUES (SEQ_PROGR_PREST_PS.NEXTVAL@SIO_TEST,
'PSGEN',
19990057207,
'P130',
NULL, -- ESITO
'CARISSIM', -- max 8 caratteri
TO_CHAR(SYSDATE, 'YYYY-MM-DD-HH.MI.SS'),
'PSE',
'PSGEN');
and then COMMIT; i have NO PROBLEM AT ALL.
I wrote a simple PL/SQL procedure in the 9.2 DB, with the same statement inside. It works fine: I can commit both into the procedure and immediately following its execution, with NO PROBLEM AT ALL.
I tried to execute the same SQL using a trigger, in two different fashions:
a) putting the statement it in a VARCHAR2 string and then issuing an EXECUTE IMMEDIATE command
b) executing a direct INSERT INTO with all the needed parameters.
The trigger works fine, but does not commit. The first COMMIT command issued after the trigger has run, terminates the session abruptly with ORA-00603 error.
The data are actually committed in the target table, and the new record is generated in the 8.1.7 schema.
I have trace files available, but they dont seem of any help.
Any suggestion?
Thank You very muchDear Sirs:
I'm still eager to know what has caused the problem addressed in this topic, but I would like to let You know the solution I used. Apparently, the problem is about committing - as long as I couldn't commit from within the trigger, any commit issued subsequently to the trigger execution caused a session termination by fatal error.
Fortunately, I can afford the inability to rollback the insert performed by the trigger, so I simply added a PRAGMA AUTONOMOUS TRANSACTION in the trigger, so that I could commit, and added a COMMIT statement within the trigger.
The ORA-00603 error disappeared.
Thank You for Your attention - and please let me know what may have caused the ORA-00603 problem -
Append hint + ADO + Oracle OleDB Provider
Hi everybody!
This is my first post here in this great forum! ;-)
I have a problem using Append hint with Oracle OleDB Provider and I've been searching internet for an answer without any luck.
I'm trying to use Append hint with ADO + Oracle OleDB Provider (OraOLEDB.Oracle.1), like in the SQL below:
INSERT /*+APPEND*/
INTO my_table(field1, field2, field3)
SELECT 0 field1, v.field2, v.field3)
FROM my_second_table v
The problem: Oracle is still creting log for this INSERT (It is working like there was no Append hint).
If I use the same SQL statement with Microsoft Ole DB Provider for Oracle, the Append hint works as expected (log is not created), but doesn't work at all with Oracle DB Provider.
Trace shows me that the SQL sentence is ok (the append hint is there!).
I've tried Oracle servers 9.2 and/or 10g, and the problem is the same.
Question: Does Append hint work with Oracle OleDB Provider? If yes, why it is not working? Something related with connection properties?
Any help will be much appreciated!
Thanks in advance.
Alexandre Machadouser8010279 wrote:
Hi Solomon, thanks for you answer.
Is the same SQL against the same database, with the same program, using ADO + OleDB Provider.
The table is in NOLOGGING mode.
When I use Microsoft OleDB Provider for Oracle there is no log creation. Then I disconnect and reconnect to the same server/database, using Oracle OleDB Provider. Then I execute the same SQL and.... there IS log creation, meaning that in that scenario, append hint is being ignored. I can't figure out WHY!!! :-(
Alexandre,
I'm not sure what you mean by "there is log creation". In general you need to distinguish between UNDO and REDO generation. A direct-path insert (APPEND hint) doesn't generate undo but still can generate redo, depending on the ARCHIVELOG / FORCE LOGGING mode of the tablespace resp. database and the LOGGING/NOLOGGING attribute of the table.
Note that in case indexes exist on the table there will always be undo and therefore redo generation for the index maintenance as part of the direct-path insert.
You should check V$SESSION (SQL_ID in 10g, SQL_ADDRESS + SQL_HASH_VALUE in pre-10g) and V$SQL in the database to double check if the SQL passed by the Oracle OLEDB Provider actually contains the APPEND hint in case the INSERT actually generates UNDO (which is the indicator that shows you if the direct-path insert is used or not). Whether it generates REDO is - as already mentioned - depending on other factors.
So the question is how have you determined if the direct-path insert mode has been used or not?
The simplest approach to test if direct-path insert mode is used or not is to issue a query on the object inserted into after the insert before committing the transaction. If it fails with "ORA-12838: cannot read/modify an object after modifying it in parallel" then you successfully inserted using direct-path insert.
Note that there a number of restrictions that prevent the direct-path insert from happening, in those cases the APPEND hint will be silently ignored, e.g. enabled triggers, foreign keys on the table. A quite comprehensive list of restrictions is listed in the manuals here:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28313/usingpe.htm#CACEJACE
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
ORA-28546: (oracle to SQL server 2005)
Hi all,
I followed the following below ariticle in dbasupport and dbajournal for about connectivity from Oracle Server 10.1.0.2.0 to SQL Server 2005
http://www.dbasupport.com/oracle/ora10g/connection01.shtml
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
i configured the listener.ora ,tnsnames.or and inityscco2.ora
$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/101/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = hsodbc)
(ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521))
LISTENERYSCCAPPS =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=100.100.50.5)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENERYSCCAPPS=
(SID_LIST=
(SID_DESC=
(SID_NAME= yscapps)
(ORACLE_HOME = /u01/app/oracle/product/101 )
(PROGRAM=hsodbc)
$lsnrctl status listener
LSNRCTL for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production on 20-JUN-2010 14:03:22
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias listener
Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production
Start Date 15-JUN-2010 14:49:05
Uptime 4 days 23 hr. 14 min. 17 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/101/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/101/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "yscc02" has 1 instance(s).
Instance "yscc02", status UNKNOWN, has 2 handler(s) for this service...
Service "yscc02.ysccapps.yamama.com" has 1 instance(s).
Instance "yscc02", status READY, has 1 handler(s) for this service...
Service "yscc02XDB.ysccapps.yamama.com" has 1 instance(s).
Instance "yscc02", status READY, has 1 handler(s) for this service...
The command completed successfully
$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/101/network/a
dmin/tnsnames.ora
# Generated by Oracle configuration tools.
YSCCAPPS1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = yscc02)
(HS = OK)
$tnsping ysccapps1
TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production on 20-JUN-2010 14:04:43
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = yscc02)) (HS = OK))
OK (0 msec)
$ sqlplus new/password@ysccapps1
SQL*Plus: Release 10.1.0.2.0 - Production on Sun Jun 20 14:07:01 2010
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL>
$ cat inityscc02.ora
This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = yscc02
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME = <full path name of odbc driver manager or driver>
# ODBC specific environment variables
set ODBCINI=<full path name of the odbc initilization file>
and i had created database link like
SQL>create database link ysccapps1
connect to "sa" identified by "passwad"
using 'ysccapps1';
SQL> select * from [email protected];
select 8 from [email protected]
ERROR at line 1:
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=y
sccapps.yamama.com)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SID=yscc02)))
ORA-02063: preceding 2 lines from YSCCAPPS1
Please assist me . i need to periodically pull data from Oracle server to Sql server
Best RegardsFirst of all please be aware HSODBC has been desupported since 15th of March 2008. When starting a new project you should start with a supported product and this product is called DG4ODBC and it is available as release 11.
Looking at the provided listener it shows several configurations issues.
Have a lokk at yout tnsnames.ora => you mentioned to use the listener servicing port 1521.
This Listener serves 2 SIDs with the same name:
SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = yscc02)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM = hsodbc)
(ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
So when you now connect, the listener does not know which service to spawn. Please check out Metalink note:
Note.238771.1 How to Setup Generic Connectivity - HSODBC - on AIX
when you want to continue using HSODBC although I strongly recommend you to use DG4ODBC which is configured as mentioned in Metalink note:
Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) -
DBCA error ORA-01034 oracle not available on Windows server 2008 r2 64
Hi All,
I have installed oracle 11.2.0.1 on my system having OS Windows server 2008. Then after that through DBCA i was creating the database during that i got ORA-01034 oracle not available. if any body know how to resolve it please reply me.
Thanks & Regards,
AryaDid you got the error in between when DBCA executed some percentage of work? PLease check its logfiles to get the exact error.
-
Oracle raise ORA-03113 when connect to a remote oracle server using toad
Hi there,
when i use the tool toad connect to a remote oracle server which located in a different city,
when i submit a query in toad,
if the query returns many rows of data, it will raise the error ORA-03113:end-of-file on communication channel,
however if the query returns only a few rows, i won't raise such error,
however, when i use sqlplus connect to that remote server, it won't raise such error,
what's the reason is, can any one tell me how to tackle this problem if using the tool toad. thanks/hi my oracle vsersion is:
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
my oracle server is 2 nodes rac server,
and i've tried two different kind version of toad v9.6 and v10.5, and both have the same problem
once i query a table, if the result returned more than 30 rows, then it will raise that error, if query returns less than 30 rows, it's ok.
i assume it is a problem concern with network, but i don't know why no such error raise when using sqlplus ? -
Hi All,
Any thoughts on why we get redo generated during a Insert operation with /*+ APPEND */ hint when having the DB in archive log mode. And same statement generating very very less redo when the DB is in no archive log mode. Is the redo generation mandatory in ARCHIVE LOG MODE, if so how can we achieve a direct path insert in DB in archivelog mode.
DB: 11.2.0
OS: Windows XP.
STMT:
DB in Archive log Mode.
SQL> insert /*+ append */ into test
2 select object_id from x;
71708 rows created.
Statistics
217 recursive calls
146 db block gets
228 consistent gets
0 physical reads
*907948 redo size*
665 bytes sent via SQL*Net to client
623 bytes received via SQL*Net from client
3 SQL*Net roundtrips to/from client
7 sorts (memory)
0 sorts (disk)
71708 rows processed
DB in No-Archive Log Mode
SQL> insert /*+ append */ into test
2 select object_id from x;
71708 rows created.
Statistics
33 recursive calls
149 db block gets
125 consistent gets
0 physical reads
*3152 redo size*
662 bytes sent via SQL*Net to client
623 bytes received via SQL*Net from client
3 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
71708 rows processed
Any help would be greatly appreciated.
Thanks in Advance.
Edited by: user8710159 on Jul 11, 2011 12:40 PMfrom http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5280714813869
It is even more deep then that. For example:
Table Mode Insert Mode ArchiveLog mode result
LOGGING APPEND ARCHIVE LOG redo generated
NOLOGGING APPEND ARCHIVE LOG no redo
LOGGING no append "" redo generated
NOLOGGING no append "" redo generated
LOGGING APPEND noarchive log mode no redo
NOLOGGING APPEND noarchive log mode no redo
LOGGING no append noarchive log mode redo generated
NOLOGGING no append noarchive log mode redo generated
Iordan Iotzov
http://iiotzov.wordpress.com/ -
ORA-01034: ORACLE not available with oracle 10.2 in Ubuntu server 11.10
Hi all,
I have this error message with my new installed oracle-xe 10g (10.2):
luc@cuba:~$ sqlplus system
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:25:43 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Or if I try with SYSDBA:
luc@cuba:~$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:34:34 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
If a did the status command:
luc@cuba:~$ sudo /etc/init.d/oracle-xe status
[sudo] password for luc:
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2012 23:29:00
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 09-JAN-2012 22:44:12
Uptime 0 days 0 hr. 44 min. 47 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cuba)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
What I did wrong?
Regards,user13538830 wrote:
Hi all,
I have this error message with my new installed oracle-xe 10g (10.2):
luc@cuba:~$ sqlplus system
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:25:43 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Or if I try with SYSDBA:
luc@cuba:~$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:34:34 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
If a did the status command:
luc@cuba:~$ sudo /etc/init.d/oracle-xe status
[sudo] password for luc:
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2012 23:29:00
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 09-JAN-2012 22:44:12
Uptime 0 days 0 hr. 44 min. 47 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cuba)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
What I did wrong?First, you installed on an unsupported OS.
Second, you apparently did not Read The Fine Manual, Installation Guide
post results from following OS command
env | sort -
Append hint + Oracle Ole DB Provider
Hi everybody!
This is my first post here in this great forum! ;-)
I have a problem using Append hint with Oracle OleDB Provider and I've been searching internet for an answer without any luck.
I'm trying to use Append hint with ADO + Oracle OleDB Provider (OraOLEDB.Oracle.1), like in the SQL below:
INSERT /*+APPEND*/
INTO my_table(field1, field2, field3)
SELECT 0 field1, v.field2, v.field3)
FROM my_second_table v
The problem: Oracle is still creting log for this INSERT (It is working like there was no Append hint).
If I use the same SQL statement with Microsoft Ole DB Provider for Oracle, the Append hint works as expected (log is not created), but doesn't work at all with Oracle DB Provider.
Trace shows me that the SQL sentence is ok (the append hint is there!).
I've tried Oracle servers 9.2 and/or 10g, and the problem is the same.
Question: Does Append hint work with Oracle OleDB Provider? If yes, why it is not working? Something related with connection properties?
Any help will be much appreciated!
Thanks in advance.
Alexandre MachadoHi everybody!
This is my first post here in this great forum! ;-)
I have a problem using Append hint with Oracle OleDB Provider and I've been searching internet for an answer without any luck.
I'm trying to use Append hint with ADO + Oracle OleDB Provider (OraOLEDB.Oracle.1), like in the SQL below:
INSERT /*+APPEND*/
INTO my_table(field1, field2, field3)
SELECT 0 field1, v.field2, v.field3)
FROM my_second_table v
The problem: Oracle is still creting log for this INSERT (It is working like there was no Append hint).
If I use the same SQL statement with Microsoft Ole DB Provider for Oracle, the Append hint works as expected (log is not created), but doesn't work at all with Oracle DB Provider.
Trace shows me that the SQL sentence is ok (the append hint is there!).
I've tried Oracle servers 9.2 and/or 10g, and the problem is the same.
Question: Does Append hint work with Oracle OleDB Provider? If yes, why it is not working? Something related with connection properties?
Any help will be much appreciated!
Thanks in advance.
Alexandre Machado
Maybe you are looking for
-
How do i transfer pictures from ipad 2 to pc
how do i transfer pictures from my ipad 2 to my pc
-
Want to disable display of column values in Selection Panel (11g)
In 11g, double-clicking on a column from the selection panel (under the Subject Areas heading) adds that column to the analysis. It also "expands" that column so that the first 20 values of that column are visible in the selection panel, immediately
-
Porting the Flex Project with Extension Builder 2.1 to CC(2014)
Hello, I am trying to port the Flex project developed in Flash Builder 4.6 with Extension builder 2.1, to InDesign CC (2014). As per the SDK help it mentions I can use the same environment mentioned above to port the project. But when I try it is giv
-
Hi, I got error message when execution of my program..it says.. error 23 when accessing table vttk. and the program got terminated at statrt of selection point itself. here is the select statement I have used..can someone help me out in fixing this.
-
Uploaded music titles from my computer, but the titles don't show under musik
unfortunately i still use windows xp (service pack 3) and not windows 7. therefore i can't use the icloud, if i understood the instructions correctly. so i tried to upload my music from my computer to itunes, but it somehow didn't work. can anybody h