Oracle 11G - Oracle AWR export import Query Statistics.
I have Oracle 11G, i have seen the sql statements through Historical AWR option from Top Activites in performance tab. Can i export all AWR query statistics from production machine so that i can analyze all logs after importing it.
How can i know all statistical sql ( information ) and performace of production machine ?
any help ?
Hello,
have you checked the DBA_HIST* objects to see what / how was imported?
If the awr export dosn't get the contents of the rolling buffer, then you won't see any session statistics that are only there. If you want to get the contents of the rolling buffer you have to dump the contents of it with :
oradebug setmypid
oradebug dump ashdump 10
and load it into your "test" database.
But before doing this I suggest you read the related metalink documentation if any!!!
Regards,
Franky
Similar Messages
-
Oracle 11G - Oracle AWR query execution time in report
I have used AWR tool of oracle 11G. I have exported query historical statistics of production databaser using awrextr.sql and then load the exported dump file using awrload.sql script.
Then i used awrrpti.sql and awrsqrpi.sql for generating report of sql queries. Every thing is working fine and generated reports are also very helpful, but report does not show the exact time when the query was executed. How can i get the actual time when the query was executed ?
any help please ?If you would have consulted the Oracle Reference Manual to get the view descriptions, you should have your question is a rhetorical one with the answer NO.
This is because every statement can be executed one or more times, and Oracle would need to keep track of all individual executions.
I do agree most 'applications' do not use bind variables, and consequently only have unique statements, but Oracle didn't take that into account, and rightly so.
Sybrand Bakker
Senior Oracle DBA -
Oracle 11g dumpfile to be imported in 10g
Hi ,
I am using windows server 2003 and oracle 11g R1 .
There is an old dump file taken using oracle export utility whch I need to import in oracle 10g R2 .
Command I am using in 10g for doing this is
imp tkcsowner/tkcsowner@wfcdbtst file=D:\Backups\Hold_Backups\wfcdbtst_export.dmp log=D:\Backups\Hold_Backups\wfcdbtst_export.log fromuser=tkcsowner touser=tkcsowner statistics=none
But , it is throwing me the below error ..
IMP-00010: not a valid export file, header failed verification
IMP-00000: Import terminated unsuccessfully
If I use the same dump file in 11g , it imports fine .
Can , someone tell me if it is not possible to import an 11g dumpfile to 10g , if possible then please lete me know the steps . Thankssourav wrote:
Hi ,
I am using windows server 2003 and oracle 11g R1 .
There is an old dump file taken using oracle export utility whch I need to import in oracle 10g R2 .
Command I am using in 10g for doing this is
imp tkcsowner/tkcsowner@wfcdbtst file=D:\Backups\Hold_Backups\wfcdbtst_export.dmp log=D:\Backups\Hold_Backups\wfcdbtst_export.log fromuser=tkcsowner touser=tkcsowner statistics=none
But , it is throwing me the below error ..
IMP-00010: not a valid export file, header failed verification
IMP-00000: Import terminated unsuccessfully
If I use the same dump file in 11g , it imports fine .
Can , someone tell me if it is not possible to import an 11g dumpfile to 10g , if possible then please lete me know the steps . Thanksis the export taken using exp or expdp? -
Oracle 11g R2 - AWR Section UnOptimized Read Reqs / Optimized Read Reqs
Hello guys,
using Oracle 11g R2 more and more i have checked out the new AWR and its sections.
I have found some section lke this
SQL ordered by Physical Reads (UnOptimized)DB/Inst: SID/sid Snaps: 20296-202
-> UnOptimized Read Reqs = Physical Read Reqts - Optimized Read Reqs
-> %Opt - Optimized Reads as percentage of SQL Read Requests
-> %Total - UnOptimized Read Reqs as a percentage of Total UnOptimized Read Reqs
-> Total Physical Read Requests: 151,508
-> Captured SQL account for 25.3% of Total
-> Total UnOptimized Read Requests: 151,508
-> Captured SQL account for 25.3% of Total
-> Total Optimized Read Requests: 1
-> Captured SQL account for 0.0% of TotalWhat the heck is "Optimized Read Reqs" and "UnOptimized Read Reqs"? These terms are used very often right now in AWR of Oracle 11g R2.
Does anyone know what this term means and how it is defined? Don't find any information on web and documentation.
Thanks guys!Hello,
If my guess is close than "Buffer Hit" (Instance Efficiency Percentages) could be as low as 0% from this report.No it isn't ... check it here:
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.96 Redo NoWait %: 100.00
Buffer Hit %: 99.50 In-memory Sort %: 100.00
Library Hit %: 99.09 Soft Parse %: 89.55
Execute to Parse %: 95.93 Latch Hit %: 98.93
Parse CPU to Parse Elapsd %: 68.68 % Non-Parse CPU: 98.81Sometimes i wonder why oracle introduces such new terms / measurements without documenting it.
Regards -
Oracle 11g upgrade: How to update stale statistics for sys and sysman?
Hi,
I am in the process of testing Oracle 11g upgrade from Oracle 10.2.0.3. I have run utlu111i.sql on the 10g database.
The utility utlu111i.sql reports about the stale statistics for SYS and SYSMAN components.
I executed dbms_stats.gather_dictionary_stats; dbms_stats.gather_schema_stats('SYS'); and dbms_stats.gather_schema_stats('SYSMAN');
After that the utlu111i.sql still reports the stale statistics for sys and sysman. Does anyone know how to get rid off this warning successfully?
Thanks,
SreekanthDoes anyone know how to get rid off this warning successfully?Just ignore the warnings. Check The Utlu111i.Sql Pre-Upgrade Script Reports Stale Sys Statistics - 803774.1 from Metalink.
-
Oracle 9 spatial index export/import
Hi,
when exporting/importing a user via exp/imp I encounter a problem with the numeric characters encoding during creation of a spatial index.
Imp tool produces script like this:
"BEGIN "
"execute immediate 'INSERT INTO USER_SDO_GEOM_METADATA values (''POINTS'',''GEOMETRY'',mdsys.SDO_dim_array(MDSYS.SDO_DIM_ELEMENT(''X'',50000000,160000000,,005),MDSYS.SDO_DIM_ELEMENT(''Y'',450000000,600000000,,005)),,005) ' ; "
"COMMIT; END;"
Problem is with wrong representation of the numeric value '0.005' as ,005.
Originally, the index was created via
INSERT INTO USER_SDO_GEOM_METADATA
VALUES (
'points',
'geometry',
MDSYS.SDO_DIM_ARRAY(
MDSYS.SDO_DIM_ELEMENT('X',-125000000,-115000000, '0.005'),
MDSYS.SDO_DIM_ELEMENT('Y', 30000000, 42100000, '0.005')
NULL
Any hints how to reimport the index correctly?
Thanks,
BogartYou might need to set the NLS_LANG environment variable to get character set conversion done on import (I don't know this unfortunately - it has never been a problem for me).
There is a section on character set conversions in the utilities manual. -
Oracle 11g: Oracle insert/update operation is taking more time.
Hello All,
In Oracle 11g (Windows 2008 32 bit environment) we are facing following issue.
1) We are inserting/updating data on some tables (4-5 tables and we are firing query with very high rate).
2) After sometime (say 15 days with same load) we are feeling that the Oracle operation (insert/update) is taking more time.
Query1: How to find actually oracle is taking more time in insert/updates operation.
Query2: How to rectify the problem.
We are having multithread environment.
Thanks
With Regards
Hemant.Liron Amitzi wrote:
Hi Nicolas,
Just a short explanation:
If you have a table with 1 column (let's say a number). The table is empty and you have an index on the column.
When you insert a row, the value of the column will be inserted to the index. To insert 1 value to an index with 10 values in it will be fast. It will take longer to insert 1 value to an index with 1 million values in it.
My second example was if I take the same table and let's say I insert 10 rows and delete the previous 10 from the table. I always have 10 rows in the table so the index should be small. But this is not correct. If I insert values 1-10 and then delete 1-10 and insert 11-20, then delete 11-20 and insert 21-30 and so on, because the index is sorted, where 1-10 were stored I'll now have empty spots. Oracle will not fill them up. So the index will become larger and larger as I insert more rows (even though I delete the old ones).
The solution here is simply revuild the index once in a while.
Hope it is clear.
Liron Amitzi
Senior DBA consultant
[www.dbsnaps.com]
[www.orbiumsoftware.com]Hmmm, index space not reused ? Index rebuild once a while ? That was what I understood from your previous post, but nothing is less sure.
This is a misconception of how indexes are working.
I would suggest the reading of the following interasting doc, they are a lot of nice examples (including index space reuse) to understand, and in conclusion :
http://richardfoote.files.wordpress.com/2007/12/index-internals-rebuilding-the-truth.pdf
"+Index Rebuild Summary+
+•*The vast majority of indexes do not require rebuilding*+
+•Oracle B-tree indexes can become “unbalanced” and need to be rebuilt is a myth+
+•*Deleted space in an index is “deadwood” and over time requires the index to be rebuilt is a myth*+
+•If an index reaches “x” number of levels, it becomes inefficient and requires the index to be rebuilt is a myth+
+•If an index has a poor clustering factor, the index needs to be rebuilt is a myth+
+•To improve performance, indexes need to be regularly rebuilt is a myth+"
Good reading,
Nicolas. -
XML Export/Import Query & Variables
Hello,
We are currently bringing up a new environment/landscape. With that, I'm trying to copy some of the query elements off our current production server and move them back to the new development server. After much wasted time trying to duplicate the query manually, I've decided to do it via XML Export/Import.
I have successfully created an XML file from our production system (sitting on my local machine). I then go to the import area on the development system and bring up the XML file I created. I then process the file on the development server. The import wizard tells me that it saves the objects successfully, but I'm unable to find any of the objects on the system. So, I have two questions.
1) Is this the proper way to do this, or is there a better way (assuming not on the transport path)
2) With the logs saying successful, where do those objects go? Is there a way that I can go find them? Do they need activated?
Thanks in advance,
JW
Edited by: J W on Sep 19, 2008 2:02 AMbump
-
Oracle 11g: "ORACLE initialization or shutdown in progress" problem.
Hello All,
We are using Oracle 11g (enterprise edtion) in Windows server 2008. Whenever we reboot the machine we are not able to connect the database.
Following output indicate the errors.
:\Users\Administrator.F1STD.000>sqlplus dbo/<password>@<connect string>
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 7 09:48:09 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name:
To resolve the issue we have to connect the DB as sys user and shutdown and start the DB manually. As shown follows
C:\Users\Administrator.F1STD.000>sqlplus /nolog
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 7 09:49:03 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
SQL> connect sys/<passowrd>@<connect string> as sysdba
Connected.
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup pfile=<p file loaction.>
ORACLE instance started.
Any clue why this is happening.
Thanks
With Regards
Hemant.Hello,
Pls find attached alert log contents.
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile E:\SC\SC15.1\DATABASES\ORACLECONFIG\INITNM45.ORA on machine SC15RQTFS
System parameters with non-default values:
processes = 1400
resource_limit = TRUE
pre_page_sga = TRUE
dbwr_io_slaves = 1
memory_target = 900M
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL1NM45.ORA"
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL2NM45.ORA"
db_block_size = 8192
db_writer_processes = 1
compatible = "11.1.0.0.0"
log_archive_dest = "E:\SC\SC15.1\Databases\OracleConfig"
log_archive_format = "ARC%T.%S_%R"
log_buffer = 3145728
log_checkpoint_interval = 8000
log_checkpoint_timeout = 0
db_files = 1020
db_file_multiblock_read_count= 32
dml_locks = 200
undo_management = "AUTO"
undo_tablespace = "UNDOTSNM45"
undo_retention = 21600
sec_case_sensitive_logon = FALSE
O7_DICTIONARY_ACCESSIBILITY= FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "SC15RQT.NSN.COM"
global_names = TRUE
service_names = "ENMSCSDB.SC15RQT.NSN.COM"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU = 2048))"
shared_servers = 20
max_shared_servers = 40
local_listener = "(ADDRESS_LIST=(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1529))(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1526)))"
session_cached_cursors = 100
utl_file_dir = "E:\SC\SC15.1\Temp"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\AlarmArchive"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\RuleAnalyzerData"
job_queue_processes = 7
cursor_sharing = "FORCE"
parallel_min_servers = 2
parallel_max_servers = 10
open_links = 8
db_name = "ENMSCSDB"
open_cursors = 150
os_authent_prefix = "EXT$"
diagnostic_dest = "E:\SC\SC15.1\DATABASES\ORACLECONFIG"
max_dump_file_size = "10240"
Tue May 12 21:28:32 2009
PMON started with pid=2, OS id=2396
Tue May 12 21:28:32 2009
VKTM started with pid=3, OS id=2424 at elevated priority
VKTM running at (20)ms precision
Tue May 12 21:28:32 2009
DIAG started with pid=4, OS id=2428
Tue May 12 21:28:32 2009
DBRM started with pid=5, OS id=2432
Tue May 12 21:28:32 2009
PSP0 started with pid=6, OS id=2436
Tue May 12 21:28:32 2009
DIA0 started with pid=7, OS id=2440
Tue May 12 21:28:32 2009
MMAN started with pid=8, OS id=2444
Tue May 12 21:28:32 2009
DBW0 started with pid=9, OS id=2464
Tue May 12 21:28:32 2009
LGWR started with pid=10, OS id=2468
Tue May 12 21:28:32 2009
CKPT started with pid=11, OS id=2472
Tue May 12 21:28:32 2009
SMON started with pid=12, OS id=2476
Tue May 12 21:28:32 2009
RECO started with pid=13, OS id=2480
Tue May 12 21:28:32 2009
MMON started with pid=14, OS id=2484
Tue May 12 21:28:32 2009
MMNL started with pid=15, OS id=2488
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU=2048))'...
starting up 20 shared server(s) ...
ORACLE_BASE from environment = D:\Oracle\Ora11G
Tue May 12 21:28:34 2009
alter database mount exclusive
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 1796259074
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: alter database mount exclusive
alter database open
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Started redo scan
Completed redo scan
321 redo blocks read, 32 data blocks need recovery
Started redo application at
Thread 1: logseq 139, block 3789
Recovery of Online Redo Log: Thread 1 Group 4 Seq 139 Reading mem 0
Mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG4NM45.ORA
Completed redo application of 0.03MB
Tue May 12 21:28:40 2009
Running KSFV I/O slave I101 os pid=3100
Completed crash recovery at
Thread 1: logseq 139, block 4110, scn 1687662
32 data blocks read, 32 data blocks written, 321 redo blocks read
Thread 1 advanced to log sequence 140 (thread open)
Thread 1 opened at log sequence 140
Current log# 5 seq# 140 mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG5NM45.ORA
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Tue May 12 21:28:41 2009
Running KSFV I/O slave I201 os pid=3104
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
Tue May 12 21:28:42 2009
SMON: enabling tx recovery
Database Characterset is WE8ISO8859P1
Opening with internal Resource Manager plan
Starting background process FBDA
Tue May 12 21:28:43 2009
FBDA started with pid=44, OS id=3112
replication_dependency_tracking turned off (no async multimaster replication found)
Tue May 12 21:28:44 2009
Starting background process QMNC
Tue May 12 21:28:44 2009
QMNC started with pid=46, OS id=3212
Completed: alter database open
Tue May 12 21:28:49 2009
Starting background process CJQ0
Tue May 12 21:28:49 2009
CJQ0 started with pid=50, OS id=3480
Tue May 12 21:38:32 2009
Starting background process SMCO
Tue May 12 21:38:36 2009
SMCO started with pid=55, OS id=2500
Tue May 12 21:40:04 2009
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
AUD: OS Error = 1717 encountered while writing audit record
Tue May 12 21:48:24 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =169
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile E:\SC\SC15.1\DATABASES\ORACLECONFIG\INITNM45.ORA on machine SC15RQTFS
System parameters with non-default values:
processes = 1400
resource_limit = TRUE
pre_page_sga = TRUE
dbwr_io_slaves = 1
memory_target = 900M
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL1NM45.ORA"
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL2NM45.ORA"
db_block_size = 8192
db_writer_processes = 1
compatible = "11.1.0.0.0"
log_archive_dest = "E:\SC\SC15.1\Databases\OracleConfig"
log_archive_format = "ARC%T.%S_%R"
log_buffer = 3145728
log_checkpoint_interval = 8000
log_checkpoint_timeout = 0
db_files = 1020
db_file_multiblock_read_count= 32
dml_locks = 200
undo_management = "AUTO"
undo_tablespace = "UNDOTSNM45"
undo_retention = 21600
sec_case_sensitive_logon = FALSE
O7_DICTIONARY_ACCESSIBILITY= FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "SC15RQT.NSN.COM"
global_names = TRUE
service_names = "ENMSCSDB.SC15RQT.NSN.COM"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU = 2048))"
shared_servers = 20
max_shared_servers = 40
local_listener = "(ADDRESS_LIST=(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1529))(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1526)))"
session_cached_cursors = 100
utl_file_dir = "E:\SC\SC15.1\Temp"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\AlarmArchive"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\RuleAnalyzerData"
job_queue_processes = 7
cursor_sharing = "FORCE"
parallel_min_servers = 2
parallel_max_servers = 10
open_links = 8
db_name = "ENMSCSDB"
open_cursors = 150
os_authent_prefix = "EXT$"
diagnostic_dest = "E:\SC\SC15.1\DATABASES\ORACLECONFIG"
max_dump_file_size = "10240"
Tue May 12 21:48:31 2009
ksuapc : ORA-1033 foreground process starts before PMON
Tue May 12 21:48:31 2009
PMON started with pid=2, OS id=2676
Tue May 12 21:48:31 2009
VKTM started with pid=3, OS id=2680 at elevated priority
VKTM running at (20)ms precision
Tue May 12 21:48:31 2009
DIAG started with pid=4, OS id=2684
Tue May 12 21:48:31 2009
DBRM started with pid=5, OS id=2696
Tue May 12 21:48:31 2009
PSP0 started with pid=6, OS id=2700
Tue May 12 21:48:31 2009
DIA0 started with pid=7, OS id=2704
Tue May 12 21:48:31 2009
MMAN started with pid=9, OS id=2712
Tue May 12 21:48:31 2009
DBW0 started with pid=10, OS id=2716
Tue May 12 21:48:31 2009
LGWR started with pid=11, OS id=2720
Tue May 12 21:48:31 2009
CKPT started with pid=12, OS id=2724
Tue May 12 21:48:31 2009
SMON started with pid=13, OS id=2728
Tue May 12 21:48:31 2009
RECO started with pid=14, OS id=2732
Tue May 12 21:48:31 2009
MMON started with pid=15, OS id=2736
Tue May 12 21:48:31 2009
MMNL started with pid=16, OS id=2740
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU=2048))'...
starting up 20 shared server(s) ...
ORACLE_BASE from environment = D:\Oracle\Ora11G
Tue May 12 21:57:09 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:09
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63722))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 21:57:12 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:12
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63736))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 21:57:15 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:15
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63762))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 21:57:18 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 21:57:18
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.135.92)(PORT=63766))
WARNING: inbound connection timed out (ORA-3136)
Tue May 12 22:32:56 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 12-MAY-2009 22:32:56
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.180)(PORT=54039))
WARNING: inbound connection timed out (ORA-3136)
Wed May 13 09:30:02 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 13-MAY-2009 09:30:02
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.179)(PORT=54835))
WARNING: inbound connection timed out (ORA-3136)
Wed May 13 10:09:59 2009
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 13-MAY-2009 10:09:59
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.179)(PORT=56445))
WARNING: inbound connection timed out (ORA-3136)
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=180.144.248.179)(PORT=56445))
WARNING: inbound connection timed out (ORA-3136)
Wed May 13 11:16:06 2009
Shutting down instance (abort)
License high water mark = 3
USER (ospid: 5376): terminating the instance
Instance terminated by USER, pid = 5376
Wed May 13 11:16:09 2009
Instance shutdown complete
Wed May 13 11:17:37 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =169
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile E:\SC\SC15.1\DATABASES\ORACLECONFIG\INITNM45.ORA on machine SC15RQTFS
System parameters with non-default values:
processes = 1400
resource_limit = TRUE
pre_page_sga = TRUE
dbwr_io_slaves = 1
memory_target = 900M
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL1NM45.ORA"
control_files = "E:\SC\SC15.1\DATABASES\ORACLECONFIG\CTL2NM45.ORA"
db_block_size = 8192
db_writer_processes = 1
compatible = "11.1.0.0.0"
log_archive_dest = "E:\SC\SC15.1\Databases\OracleConfig"
log_archive_format = "ARC%T.%S_%R"
log_buffer = 3145728
log_checkpoint_interval = 8000
log_checkpoint_timeout = 0
db_files = 1020
db_file_multiblock_read_count= 32
dml_locks = 200
undo_management = "AUTO"
undo_tablespace = "UNDOTSNM45"
undo_retention = 21600
sec_case_sensitive_logon = FALSE
O7_DICTIONARY_ACCESSIBILITY= FALSE
remote_login_passwordfile= "EXCLUSIVE"
db_domain = "SC15RQT.NSN.COM"
global_names = TRUE
service_names = "ENMSCSDB.SC15RQT.NSN.COM"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU = 2048))"
dispatchers = "(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU = 2048))"
shared_servers = 20
max_shared_servers = 40
local_listener = "(ADDRESS_LIST=(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1529))(Address=(Protocol=TCP)(Host=SC15RQTFS)(Port=1526)))"
session_cached_cursors = 100
utl_file_dir = "E:\SC\SC15.1\Temp"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\AlarmArchive"
utl_file_dir = "E:\SC\SC15.1\ArchiveData\RuleAnalyzerData"
job_queue_processes = 7
cursor_sharing = "FORCE"
parallel_min_servers = 2
parallel_max_servers = 10
open_links = 8
db_name = "ENMSCSDB"
open_cursors = 150
os_authent_prefix = "EXT$"
diagnostic_dest = "E:\SC\SC15.1\DATABASES\ORACLECONFIG"
max_dump_file_size = "10240"
Wed May 13 11:17:40 2009
PMON started with pid=2, OS id=4124
Wed May 13 11:17:40 2009
VKTM started with pid=3, OS id=652 at elevated priority
VKTM running at (20)ms precision
Wed May 13 11:17:40 2009
DIAG started with pid=5, OS id=5584
Wed May 13 11:17:40 2009
DBRM started with pid=4, OS id=5580
Wed May 13 11:17:40 2009
PSP0 started with pid=6, OS id=1880
Wed May 13 11:17:40 2009
DIA0 started with pid=8, OS id=4448
Wed May 13 11:17:41 2009
MMAN started with pid=7, OS id=4488
Wed May 13 11:17:41 2009
DBW0 started with pid=10, OS id=5068
Wed May 13 11:17:41 2009
LGWR started with pid=11, OS id=2332
Wed May 13 11:17:41 2009
CKPT started with pid=12, OS id=5432
Wed May 13 11:17:41 2009
SMON started with pid=13, OS id=5996
Wed May 13 11:17:41 2009
RECO started with pid=9, OS id=2376
Wed May 13 11:17:41 2009
MMON started with pid=15, OS id=4480
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1550))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1551))(dispatchers=1)(SDU=2048))'...
starting up 1 dispatcher(s) for network address '(description=(address=(protocol=TCP)(PORT=1552))(dispatchers=1)(SDU=2048))'...
starting up 20 shared server(s) ...
Wed May 13 11:17:41 2009
MMNL started with pid=14, OS id=4956
ORACLE_BASE from environment = D:\Oracle\Ora11G
Wed May 13 11:17:43 2009
ALTER DATABASE MOUNT
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 1796242263
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed May 13 11:17:48 2009
ALTER DATABASE OPEN
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Started redo scan
Completed redo scan
1898 redo blocks read, 356 data blocks need recovery
Started redo application at
Thread 1: logseq 140, block 74382
Recovery of Online Redo Log: Thread 1 Group 5 Seq 140 Reading mem 0
Mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG5NM45.ORA
Completed redo application of 0.75MB
Wed May 13 11:17:50 2009
Running KSFV I/O slave I101 os pid=2044
Completed crash recovery at
Thread 1: logseq 140, block 76280, scn 1710686
356 data blocks read, 356 data blocks written, 1898 redo blocks read
Wed May 13 11:17:51 2009
Thread 1 advanced to log sequence 141 (thread open)
Thread 1 opened at log sequence 141
Current log# 1 seq# 141 mem# 0: E:\SC\SC15.1\DATABASES\ORACLECONFIG\LOG1NM45.ORA
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed May 13 11:17:51 2009
Running KSFV I/O slave I201 os pid=3140
Wed May 13 11:17:51 2009
SMON: enabling cache recovery
The problem is faced around 21:57:09 on 12 MAY.
Thanks
With Regards
Hemant. -
Problem oracle 11g -- Oracle xe
HI,
I have a problem.
I have this select into a stored procedure
select pkg_short_term_engine.f_check_tariff_type('V', pi_start_date => :P2_EXPECTED_START_date,
pi_end_date => :P2_EXPECTED_END_date,
pi_start_hour => :p2_start_hour,
pi_end_hour => :p2_end_hour,
pi_start_minute => :P2_START_MINUTE,
pi_end_minute => :P2_END_MINUTE)id
from dual
On oracle 11g work fine.
On oracle XE edition this syntax generate a error.
i must rewrite my select like this:
select pkg_short_term_engine.f_check_tariff_type('V', :P2_EXPECTED_START_date,
:P2_EXPECTED_END_date, :p2_start_hour,:p2_end_hour,
:P2_START_MINUTE,:P2_END_MINUTE)id
from dual
WHY!?!?!?
Thanks
Lorenzo Renzi
www.ithan.itHi,
This is not XE issue.
In 10G databases you can not use that syntax.
Use like this
select pkg_short_term_engine.f_check_tariff_type(
'V',
:P2_EXPECTED_START_date,
:P2_EXPECTED_END_date,
:p2_start_hour,
:p2_end_hour,
:P2_START_MINUTE,
:P2_END_MINUTE)id
from dualI assume parameters are in correct order.
If function have other parameters between those, pass NULL to those
Regards,
Jari -
Oracle 10g - Data Pump: Export / Import of Sequences ?
Hello,
I'm new to this forum and also to Oracle (Version 10g). Since I could not find an answer to my question, I open this post in hoping to get some help from the experienced users.
My question concerns the Data Pump Utility and what happens to sequences which were defined in the source database:
I have exported a schema with the following command:
"expdp <user>/<pass> DIRECTORY=DATA_PUMP_DIR DUMPFILE=dumpfile.dmp LOGFILE=logfile.log"
This worked fine and also the import seemed to work fine with the command:
"impdp <user>/<pass> DIRECTORY=DATA_PUMP_DIR DUMPFILE=dumpfile.dmp"
It loaded the exported objects directly into the schema of the target database.
BUT:
Something has happened to my sequences. :-(
When I want to use them, all sequences start again with value "1". Since I have already included data with higher values in my tables, I get into trouble with the PK of these tables because I used sequences sometimes as primary key.
My question go in direction to:
1. Did I something wrong with Data Pump Utility?
2. How is the correct way to export and import sequences that they keep their actual values?
3. When the behaviour described here is correct, how can I correct the values that start again from the last value that was used in the source database?
Thanks a lot in advance for any help concerning this topic!
Best regards
FireFighter
P.S.
It might be that my english sounds not perfect since it is not my native language. Sorry for that! ;-)
But I hope that someone can understand nevertheless. ;-)My question go in direction to:
1. Did I something wrong with Data Pump Utility?I do not think so. But may be with the existing schema :-(
2. How is the correct way to export and import
sequences that they keep their actual values?If the Sequences exist in the target before the import, oracle does not drop and recreate it. So you need to ensure that the sequences do not already exist in the target or the existing ones are dropped before the import.
3. When the behaviour described here is correct, how
can I correct the values that start again from the
last value that was used in the source database?You can either refresh with the import after the above correction or drop and manually recreate the sequences to START WITH the NEXT VALUE of the source sequences.
The easier way is to generate a script from the source if you know how to do it -
Higher to lower database export/import Query
hi all,
well i have exported 11g schema dump with version change 10.2(express edition) bcoz i want to import it to 10g express.....and now i m gettting error in import
please tel me wt i have to do now?user9122568 wrote:
ORA-19505: failed to identify file "E:\Oracle_xe\app\oracle\admin\XE\dpdump\xlntseo_16.dmp"
ORA-27046: file size is not a multiple of logical block size
OSD-04012: file size mismatch (OS 9192867)Does this file "xlntseo_16.dmp" exist on the location "E:\Oracle_xe\app\oracle\admin\XE\dpdump" ?
If it does, what was the OS where 11g Express Edition was running ?
How did you transferred the dmp file from there?
It seems the dmp file is corrupted when you shifted it. -
Oracle 11g "Oracle Database Configuration Assistant" failed
Hi
am trying to install oracle 10g databse .
am getting Configuration assistant "Oracle Database Configuration Assistant" failed
in log file i see
[Thread-19] [18:32:29:343] [BasicStep.execute:202] Executing Step : CLONE_DB_CREATION_RMAN_RESTORE
[Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01092
[Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01034
[Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-03114
[Thread-19] [18:32:29:343] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-12560
[Thread-19] [18:32:29:343] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: ORA-01109
i have created microsoft loop back adapator and configured TCP/IP.
what would be the problem?At the Oracle Support site https://support.oracle.com
To access the document, you will need a valid CSI (Customer Support Identifier), which is given when you purchase a support contract from Oracle.
If you do not have a CSI, I would recommend that you completely uninstall the product and reinstall again by following the Install Guide at http://www.oracle.com/pls/db102/portal.portal_db?selected=11
HTH
Srini -
Export & Import data in Oracle (Urgent)
I just wonder whether Oracle 8i has the 'Export & Import data' feature in their DBA Administration tool.
Inside DBA Studio, I found a option to export/import data to text file, but we must connect to Oracle Management Server (OMS) first before we can use that feature. I found the same feature available in Oracle 7.3.3 in Oracle Data Manager.
How to make sure that I have a OMS installed on my server? (I purchase a Oracle 8i Standard Edition, does it include OMS?)
Can we export from a table (database A) to a table in database B? Or We can only do this thru. a dump file?With every installation of an Oracle DB you get the exp(ort) and imp(ort) utilities. You can use them to move data from one user to another.
Run them from the dos-prompt like:
exp parfile=db_out.par
imp parfile=db_in.par
with db_out.par=
file=db.dmp
log= db_out.log
userid=system/?????
owner=???
constraints=y
direct=n
buffer=0
feedback=100
and db_in.par=
file=db.dmp
log= db_in.log
userid=system/???
touser=??
fromuser=???
constraints=y
commit=y
feedback=100
null -
Oracle 11g : UTL_FILE query
Hi,
I am having 2 server. One server has oracle database while on another one is application server where all the data files and application specific shell scripts are kept. We are connecting to database via the application server.
I am using Oracle 11g:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for HPUX: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
I know that using UTL_FILE in PL/SQL procedure we can create file on the server (where oracle is installed).
My requirement is generated some report which will involve writing to more than 2 files simultaneously. I know I can easily do this in PL/SQL procedure.
But my issue is that due to space issue I cannot generate the files on database server and need to generate the same on the application one (client side)
Queries:
1] Is it also possible to create file on client machince instead of server in my case the application server via PL/SQL because I read that in Oracle 11g
UTL_FILE provides file access both on the client side and on the server side.
2] If yes any idea, how is this possible?
3] If not, is there any way by which I can write to 2 or more file simultaneously on the client using oralce. I know SQL*Plus can spool file on client. But it is only one file at a time.
Rgds,
AmolLooking at the 11g documentation you are probably referring to:
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/u_file.htm#BABDEJDH
where it says...
>
UTL_FILE provides file access both on the client side and on the server side. When run on the server, UTL_FILE provides access to all operating system files that are accessible from the server. On the client side, as in the case for Forms applications, UTL_FILE provides access to operating system files that are accessible from the client.
>
This is referring to client installed forms applications where it provides a local UTL_FILE functionality that accesses the local file system. It doesn't mean that UTL_FILE within PL/SQL that is running on the database server can access the client machine's file system as this would also be a breach of network security.
Maybe you are looking for
-
Is there a way of aligning the images in iweb photoalbums other than have them be a square?I have them at same height and resolution but htere is a default that shrinks them and aligns them at the bottom.Thanks.
-
Difference between Goods receipt based IV / Purchase order based IV ?
Hallow all !!! Can anybody please explain the difference between GR based invoice verification and Purchase Order based invoice verification in brief ? Thanks in advance !
-
Ingesting media from Sony XDCAM HD
What software/drivers do I need to ingest media from a Sony XDCAM HD deck? A link would be great if anyone has it. I really appreciate it. Best. Tom
-
Why do we all moan acout the speed on asdl broadba...
You know in this day and age we should all know that broadband is a tricky buisness where diffrent companys have good working lines and some are upgrading others dont.The main thing with all is the wires that connect our houses from there exchange.Fr
-
What are some ways of getting correct skin tones, I've tried custom white balance and the tones are still off. Help please.