Ora 9I + sort_area_size
Hy,
is the parameter sort_area_size usefull with ora9i ? i've set ma DB with workarea_policy=auto and with pga_aggregate_target=367001600 ( a big DB) and some sort are always on disk.
Laurent
sort_area_size not relevant under 9i when using dedicated servers. If you are using shared servers than it applies. Under automatic work area size management, any one operation is limited to 5% of pga_aggregate_target or 18350080 in your case. If you want a larger sort area then either raise pga_aggregate_target or do as Harry suggests and set workarea_size_policy to manual and set sort_area_size greater than 18350080 at the session level using ALTER SESSION.
JR
Similar Messages
-
SORT_AREA_SIZE and PGA_AGGREGATE_TARGET
I am using SAP R/3 kernel 4.6D with oracle 10g.
I found that in init.ora file SORT_AREA_SIZE is still defined even if the PGA_AGGREGATE_TARGET is defined and since the datbase is 10G WORK_AREA_SIZE_POLICY is by default auto.
I would like to know is the SORT_AREA_SIZE is required specifically (I mean to say whether SAP uses anywhere in its application "alter session set workarea_size_policy = manual;" kinda statement?) for SAP otherwise automatic PGA management is supposed to manage the scenario...
Shall I remove SORT_AREA_SIZE from the init.ora?
Regards,SORT_AREA_SIZE is no longer required in SAP environments as soon as you set WORKAREA_SIZE_POLICY = AUTO.
Kind regards
Martin -
9i performance issues in windows 2000
I have imported the database from 8.0.5 to 9i recently and have been facing performance degradation although 9i is running in a better server with more memory and processor speed.
The same application, use to run more efficiently with lesser db_block_buffers & shared_pool parameters.
I have modified various parameters recommended to run 9i on win 2000 but still there is no great improvement.
One of the key area where I suspect the problem could be is, I see more wait in control file parallel writes/reads events.
Can someone help me out on this. Also it will be more useful if someone can help me to find a document to optimize win 2000 for 9i.
Thanks
RamDid you reanalyze all your objects using a large sample size?
With every upgrade a few queries could change plans and the plan changes are not always for the best. Just one or two poorly performing queries could adversely affect the entire system.
Have you reviewed your physical and logical IO hog lists to be sure that you just do not need to tune a couple of queries.
Remember also that at least 6 common init.ora parameters affect CBO choices and you should look very carefully at any changes made to the init.ora (db_file_multiblock_read_count, sort_area_size, hash_join_enabled, optimizer_index_caching, optimizer_index_cost_adj)
Finally a big part of overall database performance is disk layout and performance. Even with a faster cpu and more memory if your reduced the number of spindals available to support your db activity you could have shot yourself in the foot (so to speak).
HTH -- Mark D Powell -- -
Hello all,
I am importing a dump of size 17 GB (Production server dump). Its running pretty slow. Can anyone tell me how much sizes I should give for rollback, redo etc. Request any way of improving import performance.
Regards,
Ravi DuvvuriIn addition to what's been said the following should help too.
1. Use the export parameter commit=n - this will cause a commit to happen after each object instead of after each buffer.
2. If possible increase greatly increase the init.ora parameter sort_area_size. For my databases I'll increase this from 128kb to 6mb.
3. Increase the init.ora parameter db_block_buffers. Try increasing this by 25-50% if possible.
2 and 3 above may be irrelevant if you're using 9i or greater and have memory dynamically allocated.
In my experience commit=n buffers=xxxxxx and setting the sort_area_size and db_block_buffers have had the most dramitic effects of increasing import performance. I've seen import times drop in half in certain instances.
If you have metalink access look for document 93763.1 - Tuning Considerations When Import Is Slow for more information. -
Why is Temporary tablespace so full
I have a temporary table space that is 27GB but I cant make out what is using the space. The only object looks to be an object called SYS.3.2.
Please could somebody help me how to shirnk this back to a sensible size.
Details of the tablespace setup are shown below.
Object Name TEMP
Object Type Tablespace
Datasource Z5_IPPERS ( Oracle 8.1.7.0.0 )
Login sys
Report Date 14/06/2002 10:14:48.741
Status ONLINE
Use Logging Yes
Content TEMPORARY
Datafile temp01.dbf
Size 28118016.00 K
Sections 1
Total Free Space 6200.00MB
Largest Free Section 6200.31MB
Fragmentation Index 100.00
Management Type DICTIONARY
Allocation Type AUTOMATIC
Min Extents 1
Max Extents 0
Initial Extent 64 K
Next Extent 64 K
Minimum Extent Size 1048576 K
Percent Increase 1 %
Object Placement
Object Name Object Type Size
SYS.3.2 TEMPORARY 946160.00 KBI have a temporary table space that is 27GB but I cant make out what is using the space. The only object looks to be an object called SYS.3.2.
Please could somebody help me how to shirnk this back to a sensible size.
Details of the tablespace setup are shown below.
Object Name TEMP
Object Type Tablespace
Datasource Z5_IPPERS ( Oracle 8.1.7.0.0 )
Login sys
Report Date 14/06/2002 10:14:48.741
Status ONLINE
Use Logging Yes
Content TEMPORARY
Datafile temp01.dbf
Size 28118016.00 K
Sections 1
Total Free Space 6200.00MB
Largest Free Section 6200.31MB
Fragmentation Index 100.00
Management Type DICTIONARY
Allocation Type AUTOMATIC
Min Extents 1
Max Extents 0
Initial Extent 64 K
Next Extent 64 K
Minimum Extent Size 1048576 K
Percent Increase 1 %
Object Placement
Object Name Object Type Size
SYS.3.2 TEMPORARY 946160.00 KB Andy,
A couple things to check first. What is you setting in the init.ora for sort_area_size and sort_area_retained_size? Whatever they are, try to increase them a lot. You probably have a lot of writes to disk in the TEMP tablespace as opposed to keeping this sorted data in memory. I see you have pctincrease set to 1 which is good as it is supposed to signal SMON to clean up. If SMON is not, there are a couple other options. Shutdown the db. OK not always an option but it works. Second is to create another smaller TEMP tablespace and bring it online and redirect user to that tbs, then offline immediate and drop the original and recreate it, and then point users back to it. You could also make it completely temporary by assigning it a TEMP file rather than a datafile. But considr to inability to recover in case of a crash before doing this.
This problem is experienced by almost every DBA and is considered a 'feature' not a 'bug' by Oracle. OK but if you think about what Oracle actually does compared to what it could do 10 years ago you wouldn't complain so much.
If I were you, I'd increase sort-area-size and sort-area-retained-size to help sorts stay in memory as opposed to being written to disk. Then consider dropping and recreatin the tbs either manually or through a nightly script/job so it doesn't grow out of control
Hope this helps
The Infamous
Eric Cartman -
ORA-12500 and sort_area_size value
Hi,
I've hit an ORA-12500 'listener failed to start a dedicated server process' error after the increase of sort_area_size from 250M to 500M. DB server has plenty of RAM which would easily accomodate additinal memory for PGA. Has anyone experinced that before? Thanks.There's (normally) no need to set SORT_AREA_SIZE, when a PGA is configured. From the parameter reference:
Oracle does not recommend using the SORT_AREA_SIZE parameter unless the instance is configured with the shared server option. Oracle recommends that you enable automatic sizing of SQL working areas by setting PGA_AGGREGATE_TARGET instead. SORT_AREA_SIZE is retained for backward compatibility.
Werner -
ORA-04030: out of process memory when using Java Stored Procedures
Hello,
I have a problem using Java Stored Procedures in Oracle 10g.
My Java application performs http posts to a webservice and the response is parsed in order to populate some DB tables.
There is a scheduled job which calls the Java Stored Procedure every x minutes.
No matter of the 'x minutes' values - after about 160 - 200 calls I get this error:
ORA-04030: out of process memory when trying to allocate 1048620 bytes (joxp heap,f:OldSpace)
ORA-04030: out of process memory when trying to allocate 2097196 bytes (joxp heap,f:OldSpace)
The job stops just while is posting the http request. The weird thing is that almost each time the first http post request I get this error:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA6275)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:130)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
and the second try works fine.
So, The out of process memory occured each time just before getting such an error, and I suspect to be a connection between these errors.
Tech details:
1. OS: WinXP
2. Oracle 10.1.0.2.0
3. To perform http post I use HttpClient 3.1 from Apache.
4. I checked the http connection to be closed each time, and this is done.
5. I checked the oracle statement and connection to be closed each time and this is done
6. The JVM error (logged in .trc files of Oracle) is:
java.lang.OutOfMemoryError
at java.lang.Thread.start(Native Method)
at sun.security.provider.SeedGenerator$ThreadedSeedGenerator.run(SeedGenerator.java:297)
DB Settings details:
Starting up ORACLE RDBMS Version: 10.1.0.2.0.
System parameters with non-default values:
processes = 200
sessions = 225
shared_pool_size = 159383552
large_pool_size = 8388608
java_pool_size = 104857600
nls_language = AMERICAN
control_files = C:\ORACLE\PRODUCT\10.1.0\ORADATA\XXXXXX\CONTROL01.CTL, C:\ORACLE\PRODUCT\10.1.0\ORADATA\XXXXXX\CONTROL02.CTL, C:\ORACLE\PRODUCT\10.1.0\ORADATA\XXXXXX\CONTROL03.CTL
db_block_size = 8192
db_cache_size = 29360128
compatible = 10.1.0
fal_client = XXXXXX
fal_server = XXXXXXs
log_buffer = 524288
log_checkpoint_interval = 100000
db_files = 70
db_file_multiblock_read_count= 32
db_recovery_file_dest = C:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
standby_file_management = AUTO
undo_management = AUTO
undo_tablespace = undotbs_01
undo_retention = 14400
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=XXXXXXXDB)
remote_dependencies_mode = SIGNATURE
job_queue_processes = 4
parallel_max_servers = 5
background_dump_dest = C:\ORACLE\PRODUCT\10.1.0\ADMIN\XXXXXX\BDUMP
user_dump_dest = C:\ORACLE\PRODUCT\10.1.0\ADMIN\XXXXXX\UDUMP
max_dump_file_size = 10240
core_dump_dest = C:\ORACLE\PRODUCT\10.1.0\ADMIN\XXXXXX\CDUMP
sort_area_size = 1048576
sort_area_retained_size = 1048576
db_name = XXXXXX
open_cursors = 500
optimizer_mode = FIRST_ROWS
pga_aggregate_target = 25165824
Any help would be appreciated. Thanks.
Can be a problem with JVM threading under Oracle ?The server prcess failed to allocate more memory for large objects ( in Oldspace).
If you Google ORA-04030, you will see several recommendations to work around this.
The Java VM in the database already has HttpClient, i don't know why you are loading the Apache HttpClient but this might not be the surce of the problem.
Kuassi http://db360.blogspot.com -
Getting ORA-00376 while accessing from application
Hi,
Application team is getting below error while accessing the database.
“ERROR: SQLException, while closing
connection, exception is ==ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf'
Later we renamed the datafile from tblspcsmarts01.dbf to tblspcsmarts_01.dbf, and still getting the same error while accessing the application.
And, the datafiles are in online and READ WRITE mode.
File Status:
SQL> select file#,name,status,ENABLED,CHECKPOINT_CHANGE#,to_char(CHECKPOINT_TIME,'dd-mon-yy hh24:mi:ss') from v$datafile;
FILE# NAME STATUS ENABLED CHECKPOINT_CHANGE# TO_CHAR(CHECKPOINT
1 /dborafiles/nGTA/oradata01/smartsgs/system01.dbf SYSTEM READ WRITE 94950500 23-oct-13 15:41:40
2 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
3 /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
4 /dborafiles/nGTA/oradata01/smartsgs/users01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
5 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
6 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
7 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_03.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
SQL> select FILE_ID,TABLESPACE_NAME,FILE_NAME,BYTES/1024/1024,status from dba_data_files;
FILE_ID TABLESPACE_NAME FILE_NAME BYTES/1024/1024 STATUS
1 SYSTEM /dborafiles/nGTA/oradata01/smartsgs/system01.dbf 1024 AVAILABLE
5 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf 7000 AVAILABLE
3 SYSAUX /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf 1024 AVAILABLE
4 USERS /dborafiles/nGTA/oradata01/smartsgs/users01.dbf 2048 AVAILABLE
6 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02.dbf 6144 AVAILABLE
7 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_03.dbf 2048 AVAILABLE
2 UNDOTBS1 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf 1024 AVAILABLE
File permissions at OS level.
[oracle@apt3vl05 smartsgs]$ pwd
/dborafiles/nGTA/oradata01/smartsgs
[oracle@apt3vl05 smartsgs]$ ls -lrt
total 29057944
-rw-r----- 1 oracle dba 7340040192 Oct 23 10:37 tblspcsmarts01.dbf_old
-rw-r----- 1 oracle dba 1073750016 Oct 23 12:37 temp01.dbf
-rw-r----- 1 oracle dba 2147491840 Oct 23 15:41 users01.dbf
-rw-r----- 1 oracle dba 2147491840 Oct 23 15:41 tblspcsmarts_03.dbf
-rw-r----- 1 oracle dba 6442459136 Oct 23 15:41 tblspcsmarts02.dbf
-rw-r----- 1 oracle dba 7340040192 Oct 23 15:41 tblspcsmarts_01.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:05 sysaux01.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:25 undo02.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:25 system01.dbf
-rw-r----- 1 oracle dba 6832128 Oct 23 16:25 control02.ctl
-rw-r----- 1 oracle dba 6832128 Oct 23 16:25 control01.ctl
Even i am able to do switch logfile and every thing fine. Below is the excerpt from alert log.
Wed Oct 23 10:29:59 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /dboracle/orabase/product/10.2.0.4/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 800
timed_statistics = TRUE
shared_pool_size = 159383552
large_pool_size = 16777216
java_pool_size = 159383552
streams_pool_size = 16777216
control_files = /dborafiles/nGTA/oradata01/smartsgs/control01.ctl, /dborafiles/nGTA/oradata01/smartsgs/control02.ctl, /dboracle/admin/smartsgs/control03.ctl
db_block_size = 8192
db_cache_size = 16777216
compatible = 10.2.0.4
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
O7_DICTIONARY_ACCESSIBILITY= TRUE
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = smartsgs
job_queue_processes = 10
background_dump_dest = /dboracle/admin/smartsgs/bdump
user_dump_dest = /dboracle/admin/smartsgs/udump
core_dump_dest = /dboracle/admin/smartsgs/cdump
sort_area_size = 524288
db_name = smartsgs
open_cursors = 800
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
PMON started with pid=2, OS id=9173
PSP0 started with pid=3, OS id=9178
MMAN started with pid=4, OS id=9180
DBW0 started with pid=5, OS id=9187
LGWR started with pid=6, OS id=9194
CKPT started with pid=7, OS id=9200
SMON started with pid=8, OS id=9202
RECO started with pid=9, OS id=9204
CJQ0 started with pid=10, OS id=9206
MMON started with pid=11, OS id=9208
MMNL started with pid=12, OS id=9210
Wed Oct 23 10:30:01 2013
ALTER DATABASE MOUNT
Wed Oct 23 10:30:06 2013
Setting recovery target incarnation to 1
Wed Oct 23 10:30:06 2013
Successful mount of redo thread 1, with mount id 765417449
Wed Oct 23 10:30:06 2013
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Wed Oct 23 10:30:06 2013
ALTER DATABASE OPEN
Wed Oct 23 10:30:06 2013
Thread 1 opened at log sequence 855
Current log# 3 seq# 855 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 855 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 855 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Successful open of redo thread 1
Wed Oct 23 10:30:06 2013
SMON: enabling cache recovery
Wed Oct 23 10:30:07 2013
Successfully onlined Undo Tablespace 6.
Wed Oct 23 10:30:07 2013
SMON: enabling tx recovery
Wed Oct 23 10:30:07 2013
Database Characterset is WE8ISO8859P15
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 2
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=14, OS id=9246
Wed Oct 23 10:30:10 2013
Completed: ALTER DATABASE OPEN
Wed Oct 23 10:37:38 2013
alter tablespace TBLSPCSMARTS offline
Wed Oct 23 10:37:38 2013
Completed: alter tablespace TBLSPCSMARTS offline
Wed Oct 23 10:43:58 2013
alter tablespace TBLSPCSMARTS rename datafile '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf' to '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf'
Wed Oct 23 10:43:58 2013
Completed: alter tablespace TBLSPCSMARTS rename datafile '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf' to '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf'
Wed Oct 23 10:44:14 2013
alter tablespace TBLSPCSMARTS online
Wed Oct 23 10:44:15 2013
Completed: alter tablespace TBLSPCSMARTS online
Wed Oct 23 15:02:00 2013
Thread 1 advanced to log sequence 856 (LGWR switch)
Current log# 1 seq# 856 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 856 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 856 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:06:11 2013
Thread 1 advanced to log sequence 857 (LGWR switch)
Current log# 2 seq# 857 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 857 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 857 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Thread 1 cannot allocate new log, sequence 858
Checkpoint not complete
Current log# 2 seq# 857 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 857 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 857 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Wed Oct 23 15:06:17 2013
Thread 1 advanced to log sequence 858 (LGWR switch)
Current log# 3 seq# 858 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 858 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 858 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Wed Oct 23 15:06:17 2013
Thread 1 advanced to log sequence 859 (LGWR switch)
Current log# 1 seq# 859 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 859 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 859 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:09:00 2013
Thread 1 advanced to log sequence 860 (LGWR switch)
Current log# 2 seq# 860 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 860 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 860 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Wed Oct 23 15:09:02 2013
Thread 1 advanced to log sequence 861 (LGWR switch)
Current log# 3 seq# 861 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 861 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 861 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Wed Oct 23 15:37:37 2013
alter database datafile 5 online
Wed Oct 23 15:37:37 2013
Completed: alter database datafile 5 online
Wed Oct 23 15:37:58 2013
alter database datafile 7 online
Wed Oct 23 15:37:58 2013
Completed: alter database datafile 7 online
Wed Oct 23 15:41:09 2013
Thread 1 advanced to log sequence 862 (LGWR switch)
Current log# 1 seq# 862 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 862 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 862 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:41:10 2013
Thread 1 advanced to log sequence 863 (LGWR switch)
Current log# 2 seq# 863 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 863 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 863 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Please advice how can we troubleshoot what could be the issue.
Thanks,
DasarathOutput of the requested commands.
SQL> select * from v$datafile_header;
FILE# STATUS ERROR FORMAT REC FUZ CREATION_CHANGE# CREATION_ TABLESPACE_NAME TS# RFILE# RESETLOGS_CHANGE# RESETLOGS CHECKPOINT_CHANGE# CHECKPOIN CHECKPOINT_COUNT BYTES BLOCKS NAME SPACE_HEADER LAST_DEALLOC_SCN
1 ONLINE 0 NO YES 8 23-JUL-09 SYSTEM 0 1 1 23-JUL-09 94978106 24-OCT-13 913 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/system01.dbf
2 ONLINE 0 NO YES 94828823 22-OCT-13 UNDOTBS1 6 2 1 23-JUL-09 94978106 24-OCT-13 37 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf 8388610
3 ONLINE 0 NO YES 7545 23-JUL-09 SYSAUX 2 3 1 23-JUL-09 94978106 24-OCT-13 912 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf 12582914
4 ONLINE 0 NO YES 170715 23-JUL-09 USERS 4 4 1 23-JUL-09 94978106 24-OCT-13 907 2147483648 262144 /dborafiles/nGTA/oradata01/smartsgs/users01.dbf 16777218
5 ONLINE 0 NO YES 94891412 22-OCT-13 TBLSPCSMARTS 5 5 1 23-JUL-09 94978106 24-OCT-13 30 7340032000 896000 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_0 20971522
1.dbf
6 ONLINE 0 NO YES 94891511 22-OCT-13 TBLSPCSMARTS 5 6 1 23-JUL-09 94978106 24-OCT-13 28 6442450944 786432 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02 25165826
.dbf
7 ONLINE 0 NO YES 94891933 22-OCT-13 TBLSPCSMARTS 5 7 1 23-JUL-09 94978106 24-OCT-13 29 2147483648 262144 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_0 29360130
3.dbf
7 rows selected.
SQL> select * from v$recover_file;
no rows selected
Thanks,
Dasarath -
Error ORA-01652 while running select query
A select query returning millions of records is returning the following error.
SQL Error [
ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
We requested DBA to increased the TEMP tablespace. He increased it to 20GB and also, changed to Autoextent.
When we executed the query again, we got the same error ?
What could be the reason of this issue and how it can be resolved ?All sort operations that don't fit into the SORT_AREA_SIZE will go to the temp tablespace (they can be seen as direct writes in the trace file).
It can easy be the case, that your temp tablespace needs to be many GB in size [we have a table with millions of rows and for the loading/merging our temp is 80GB in size].
May be you can change your process of loading i.e. with this select you fill a intermediate table (with CTAS) and do your processing there or even try to do the processing in SQL while building the table. You could also try to do the processing with a cursor and BULK COLLECT LIMIT 100 and then inserting into the target table with the FORALL statement. -
Creating database problem with ORA-01519: error while processing file '' ne
Dear all,
I am having rough time with creating database manually. can anyone help me with the following errors.
ALERT LOGFILE:-
Sun May 31 12:00:39 2009
Errors in file d:\oracle\product\10.1.0\admin\oracle5\udump\oracle5_ora_3444.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5744
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Sun May 31 12:00:39 2009
Errors in file d:\oracle\product\10.1.0\admin\oracle5\bdump\oracle5_reco_3416.trc:
ORA-01519: error while processing file '' near line
CREATE DATABASE SCRIPT:-
create database ORACLE5
user sys identified by bala
user system identified by bala
logfile
group 1 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo01.log') SIZE 50M,
group 2 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo02.log') SIZE 50M,
group 3 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo03.log') SIZE 50M
maxlogfiles 5
maxlogmembers 5
maxloghistory 1
maxdatafiles 50
maxinstances 1
datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\system01.dbf' size 200m autoextend on maxsize unlimited extent management local
undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
sysaux datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\sysaux01.dbf' size 100m autoextend on maxsize unlimited
default temporary tablespace temp tempfile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\temp01.dbf' size 10m autoextend on maxsize unlimited
character set US7ASCII
NATIONAL CHARACTER SET AL16UTF16
INIT.ORA FILE:-
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Archive
log_archive_format=ARC%S_%R.%T
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=oracle5
# Diagnostics and Statistics
background_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\bdump
core_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\cdump
user_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\udump
# File Configuration
#db_create_file_dest=D:\oracle\product\10.1.0\oradata
db_recovery_file_dest=D:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size=2147483648
# Job Queues
job_queue_processes=10
# Miscellaneous
compatible=10.1.0.2.0
# Pools
java_pool_size=50331648
large_pool_size=8388608
shared_pool_size=83886080
# Processes and Sessions
processes=150
# Security and Auditing
remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=oracle5XDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=65536
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
control_files=("D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORACLE5\CONTROLFILE\control01.CTL", "D:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORACLE5\CONTROLFILE\control02.CTL")Hi,
undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
After ORACLE5 there is a space character. Typo? Create proper directory or delete this character.
Bartek -
hello,
i have the ORA-00600: internal error code, arguments: [4553], [2], [0], [], [], [], [], [] in my alert.log file. One resolution is to recreate the invalid objects, but this error is recurring frequently. In touch with oracle. has anyone faced this issue, what could be the problem?
thanks in advance.
Starting up ORACLE RDBMS Version: 10.1.0.4.0.
System parameters with non-default values:
processes = 300
shared_pool_size = 83886080
large_pool_size = 8388608
java_pool_size = 50331648
nls_language = american
nls_territory = america
sga_target = 369098752
control_files = O:\ORACLE\DATABASE\CONTROL01.CTL, O:\ORACLE\DATABASE\CONTROL02.CTL, O:\ORACLE\DATABASE\CONTROL03.CTL
db_block_size = 8192
db_cache_size = 25165824
compatible = 10.1.0.2.0
db_file_multiblock_read_count= 16
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
shared_servers = 0
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 = 1000
pga_aggregate_target = 25165824
LGWR started with pid=5, OS id=136
SMON started with pid=7, OS id=3524
RECO started with pid=8, OS id=3244
CJQ0 started with pid=9, OS id=420
Thread 1 advanced to log sequence 14383
Current log# 1 seq# 14383 mem# 0: O:\ORACLE\DATABASE\REDO11.LOG
Current log# 1 seq# 14383 mem# 1: O:\ORACLE\DATABASE\REDO12.LOG
Sat Nov 08 12:45:45 2008
Private_strands 15 at log switch
Thread 1 advanced to log sequence 14384
Current log# 2 seq# 14384 mem# 0: O:\ORACLE\DATABASE\REDO21.LOG
Current log# 2 seq# 14384 mem# 1: O:\ORACLE\DATABASE\REDO22.LOG
Sat Nov 08 13:15:31 2008
Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_4084.trc:
ORA-00600: internal error code, arguments: [4553], [2], [0], [], [], [], [], []
Sat Nov 08 13:19:42 2008
Doing block recovery for file 2 block 332
Block recovery range from rba 14384.24287.0 to scn 0.368893505
Sat Nov 08 13:19:43 2008
Recovery of Online Redo Log: Thread 1 Group 2 Seq 14384 Reading mem 0
Mem# 0 errs 0: O:\ORACLE\DATABASE\REDO21.LOG
Mem# 1 errs 0: O:\ORACLE\DATABASE\REDO22.LOG
Block recovery completed at rba 14384.24315.16, scn 0.368893506
Doing block recovery for file 2 block 97
Block recovery range from rba 14384.13864.0 to scn 0.368893505
Sat Nov 08 13:19:44 2008
Recovery of Online Redo Log: Thread 1 Group 2 Seq 14384 Reading mem 0
Mem# 0 errs 0: O:\ORACLE\DATABASE\REDO21.LOG
Mem# 1 errs 0: O:\ORACLE\DATABASE\REDO22.LOG
Block recovery completed at rba 14384.24315.16, scn 0.368893506
Doing block recovery for file 5 block 651570
Block recovery range from rba 14384.24287.0 to scn 0.368893508
Sat Nov 08 13:19:45 2008
Recovery of Online Redo Log: Thread 1 Group 2 Seq 14384 Reading mem 0
Mem# 0 errs 0: O:\ORACLE\DATABASE\REDO21.LOG
Mem# 1 errs 0: O:\ORACLE\DATABASE\REDO22.LOG
Block recovery completed at rba 14384.24373.16, scn 0.368893509
Sat Nov 08 13:19:46 2008
Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_4084.trc:
ORA-00600: internal error code, arguments: [4553], [2], [0], [], [], [], [], []
Doing block recovery for file 2 block 704
Block recovery range from rba 14384.24391.0 to scn 0.368893512
Sat Nov 08 13:23:27 2008
Recovery of Online Redo Log: Thread 1 Group 2 Seq 14384 Reading mem 0
Mem# 0 errs 0: O:\ORACLE\DATABASE\REDO21.LOG
Mem# 1 errs 0: O:\ORACLE\DATABASE\REDO22.LOG
Block recovery completed at rba 14384.24419.16, scn 0.368893513
Doing block recovery for file 2 block 41
Block recovery range from rba 14384.24469.0 to scn 0.368894006
Sat Nov 08 13:32:29 2008
Recovery of Online Redo Log: Thread 1 Group 2 Seq 14384 Reading mem 0
Mem# 0 errs 0: O:\ORACLE\DATABASE\REDO21.LOG
Mem# 1 errs 0: O:\ORACLE\DATABASE\REDO22.LOG
Block recovery completed at rba 14384.25039.16, scn 0.368894007
Doing block recovery for file 5 block 651570
Block recovery range from rba 14384.24287.0 to scn 0.368893508
Sat Nov 08 13:32:30 2008
Recovery of Online Redo Log: Thread 1 Group 2 Seq 14384 Reading mem 0
Mem# 0 errs 0: O:\ORACLE\DATABASE\REDO21.LOG
Mem# 1 errs 0: O:\ORACLE\DATABASE\REDO22.LOG
Block recovery completed at rba 14384.24373.16, scn 0.368893509
Sat Nov 08 13:45:44 2008
Private_strands 15 at log switch
Thread 1 advanced to log sequence 14385
Current log# 3 seq# 14385 mem# 0: O:\ORACLE\DATABASE\REDO31.LOG
Current log# 3 seq# 14385 mem# 1: O:\ORACLE\DATABASE\REDO32.LOG
Sat Nov 08 14:31:08 2008
Private_strands 15 at log switch
Thread 1 advanced to log sequence 14386
Current log# 1 seq# 14386 mem# 0: O:\ORACLE\DATABASE\REDO11.LOG
Current log# 1 seq# 14386 mem# 1: O:\ORACLE\DATABASE\REDO12.LOG
Sat Nov 08 15:01:31 2008
Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_4048.trc:
ORA-00600: internal error code, arguments: [ktspgfb-1], [], [], [], [], [], [], []
orcl_ora_4048.trc:
*** SERVICE NAME:(SYS$USERS) 2008-11-08 13:15:30.942
*** SESSION ID:(303.2) 2008-11-08 13:15:30.942
*** 2008-11-08 13:15:30.942
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [4553], [2], [0], [], [], [], [], []
Current SQL statement for this session:
INSERT INTO ssv_tav_basic VALUES(:v1,TO_DATE(:v2,'DD-MM-YYYY HH24:MI:SS'),:v3,:v4,:v5,:v6,TO_DATE(:v7,'DD-MM-YYYY HH24:MI:SS'),:v8,:v9,:v10,:v11)
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp+576 CALLrel ksedst+0 0
ksfdmp.160+14 CALLrel ksedmp+0 3
_kgeriv+139 CALLreg 00000000 7FD3170 3
kgeasi+92 CALLrel kgeriv+0 7FD3170 7ECE838 11C9 2
8752BEC
ktbtas+149 CALLrel kgeasi+0 7FD3170 7ECE838 11C9 2 2 0 2
0 0 0 0
ktbair2+413 CALLrel ktbtas+0 17614014 30 875369C
kdxlne+517 CALLrel ktbair2+0
kcoissue_callback CALLreg 00000000 7F2CFA4 7F2CFE6 4 17614014
+153 875369C
kcoapl+751 CALLrel kco_issue_callback 7F2CFA0 17614000 875369C
+0
kcbapl+119 CALLrel kcoapl+0 7F2CFA0 17614000 1 5 2000 0
875369C
kcrfwredo_gen+255 CALLrel _kcbapl+0 7F2CFA0 177F4E90 8753180 0
4 875369C
kcbchg1+7688 CALLrel kcrfw_redo_gen+0
ktuchg+874 CALLrel kcbchg1+0 0 3 8753264 875327C 0 0
ktbchg2+115 CALLrel ktuchg+0 2 5B06C88 3 7F2D000 7F2D008
7F2A7A0 875369C 7F2CFA0 0 0
kdisnewle+1681 CALLrel ktbchg2+0 0 5B06C88 7F2D000 7F2D008
7F2A7A0 8753694 7F2CFA0 0 0
kdisle+4004 CALLrel kdisnewle+0 5B06C7C 149C3C3 8753694
8753730 7F28764 A4 9D 0 2 0 0
0 8753938
kdiins0+6796 CALLrel kdisle+0 2EB6AAAC 8753C98 87541A4 1 2
8756AB0 140 875D664 342C9238
0 0 0
kdiins+52 CALLrel kdiins0+0 2EB6AAAC 6 875D664 8756AB0 0
0 0 2 FF 0 0 0 0
kauxsin+4814 CALLrel kdiins+0 2EB6AAAC 6 875D664 8756AB0 2
FF 0 0
insidx.103+884 CALLrel kauxsin+0 2EB6AA5C 875D660 0 7F46984
7F469B4 7F469CC 7F46958 0 0 0
0 0 0 0 0 2C04A990 B D218 1 0
0
insrowFastPath.103 CALLrel insidx.103+0 7F468B4
+189
insdrvFastPath.103 CALLrel insrowFastPath.103 7F468B4 875D864 0 7F468B4
+357 +0
inscovexe+916 CALLrel insdrvFastPath.103 7F468B4
+0
_insExecStmtExecIni CALL??? 00000000 1C8C07CC 2395C188 875DC70
Engine.103+54
insexe+232 CALLrel insExecStmtExecIni 1C8C07CC 2395C188 875DC70
Engine.103+0
opiexe+12507 CALLrel insexe+0 2EC98954 875DC70
_opiodr+973 CALLreg 00000000 4 4 875E7D0
_ttcpip+1830 CALLreg 00000000 4 4 875E7D0 3
_opitsk+1098 CALL??? 00000000
opiino+938 CALLrel opitsk+0 0 0 7FD9BB0 7E5EEF8 DF 0
_opiodr+973 CALLreg 00000000 3C 4 875FBC0
opidrv+479 CALLrel opiodr+0 3C 4 875FBC0 0
sou2o+45 CALLrel opidrv+0 3C 4 875FBC0
opimai+237 CALLrel sou2o+0
OracleThreadStart@ CALLrel opimai+0
4+910
77E64826 CALLreg 00000000hello satish,
thank you for your kind advice. the reason i posted this is because we have been having this issue for a long time. and so far its been a chicken-egg issue, maybe its hardware, or the application, or the OS, etc..etc..
so, i am looking for any experiences with the 600 error, perhaps similar to mine. -
ORA-04030: out of process memory when trying to allocate
Hello Expert,
I have this error in my production database.
Database is working fine except busy Hours when running couple of ETL's and Crystal report on it.
Error : ORA-04030: out of process memory when trying to allocate
This error comes once in a month with above error
Instance terminated by CKPT
Platfrom : Microsoft window server 2003
Enterprise Edition.
service pack 1
Intel (R) Xenon (TM) CPU
3.00GHz
2.99 GHz, 15.4 GB of RAM
Oracle : Oracle Database 10g Enterprise Edition Release 10.2.0.2.0
TNS for 32-bit Windows: Version 10.2.0.2.0
SGA and PGA :
sga_max_size big integer 7008M
sga_target big integer 0
pga_aggregate_target big integer 950M
buffer_pool_keep string
buffer_pool_recycle string
global_context_pool_size string
java_pool_size big integer 152M
large_pool_size big integer 152M
olap_page_pool_size big integer 0
shared_pool_reserved_size big integer 26424115
shared_pool_size big integer 504M
streams_pool_size big integer 48M
sort_area_size integer 524288
processes integer 500
Active user : 228
sort_area_size integer 524288
Thanks in advance !!
DharmeshU can go through the link:--
https://metalink.oracle.com/metalink/plsql/f?p=130:14:5384645520011813599::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,233869.1,1,1,1,helvetica
Regards,
Anand -
Getting ORA-32700 while creating database
I am getting following error when creating the database :
ORA-32700 error occurred in DIAG Group Service
The error description is as follows :
Cause: An unexpected error occurred while performing a DIAG Group Service operation.
Action: Verify that the DIAG process is still active. Also, check the Oracle DIAG trace files for errors.
The setup is as follows :
Database : Oracle 9i Rel 2.
OS : IBM AIX 4.3.3
We are trying to create the database from sqlplus/dbca. It seems that in the database creation process it is throwing the error while it is trying to create the control files.
listener.ora :
LSNR_TSEDMDB2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = prcsmbk1)(PORT = 1522))
TNSNAMES.ORA
LISTENER_TSEDMDB2 =
(ADDRESS = (PROTOCOL = TCP)(HOST = prcsmbk1)(PORT = 1522))
We have IBM HACMP Cluster setup on 3 machines. This machine (prcsmbk1) on which I am getting the error while creating the database is part of that HACMP cluster. While installing the Oracle database software also it gave me a list of the 3 machines which are in HACMP cluster. We are not planning to setup RAC, but still it seems like while creating the database control files Oracle is trying to perform some group service operation.
Alert log :
Sat Jan 3 03:31:18 2004
Starting ORACLE instance (normal)
Sat Jan 3 03:31:18 2004
Global Enqueue Service Resources = 64, pool = 4
Sat Jan 3 03:31:18 2004
Global Enqueue Service Enqueues = 128
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
GES IPC: Receivers 1 Senders 1
GES IPC: Buffers Receive 1000 Send 530 Reserve 300
GES IPC: Msg Size Regular 432 Batch 2048
SCN scheme 3
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.4.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 117440512
large_pool_size = 16777216
java_pool_size = 117440512
control_files = /u01/app/oracle/oradata/TSEDMDB2/control01.ctl
db_block_size = 8192
db_cache_size = 33554432
compatible = 9.2.0.0.0
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = TSEDMDB2
dispatchers = (PROTOCOL=TCP) (SERVICE=TSEDMDB2XDB)
local_listener = LISTENER_TSEDMDB2
job_queue_processes = 10
hash_join_enabled = TRUE
background_dump_dest = /u01/app/oracle/admin/TSEDMDB2/bdump
user_dump_dest = /u01/app/oracle/admin/TSEDMDB2/udump
core_dump_dest = /u01/app/oracle/admin/TSEDMDB2/cdump
sort_area_size = 524288
db_name = TSEDMDB2
open_cursors = 300
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
Sat Jan 3 03:31:19 2004
clUster interconnect IPC version:Oracle UDP/IP
IPC Vendor 1 proto 2 Version 1.0
PMON started with pid=2
DIAG started with pid=3
LMON started with pid=4
LMD0 started with pid=5
DBW0 started with pid=6
LGWR started with pid=7
CKPT started with pid=8
SMON started with pid=9
RECO started with pid=10
CJQ0 started with pid=11
QMN0 started with pid=12
Sat Jan 3 03:31:24 2004
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Sat Jan 3 03:31:25 2004
Create controlfile reuse set database TSEDMDB2
MAXINSTANCES 1
MAXLOGHISTORY 1
MAXLOGFILES 50
MAXLOGMEMBERS 5
MAXDATAFILES 100
Datafile
'/u01/app/oracle/oradata/TSEDMDB2/cwmlite01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/drsys01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/example01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/indx01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/odm01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/system01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/tools01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/undotbs01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/users01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/xdb01.dbf'
LOGFILE GROUP 1 ('/u01/app/oracle/oradata/TSEDMDB2/redo01.log') SIZE 102400K,
GROUP 2 ('/u01/app/oracle/oradata/TSEDMDB2/redo02.log') SIZE 102400K,
GROUP 3 ('/u01/app/oracle/oradata/TSEDMDB2/redo03.log') SIZE 102400K RESETLOGS
Sat Jan 3 03:31:25 2004
ORA-1503 signalled during: Create controlfile reuse set database TSEDMDB2
MAX...
Sat Jan 3 03:32:28 2004
Restarting dead background process QMN0
QMN0 started with pid=15
Sat Jan 3 03:32:28 2004
Shutting down instance (abort)
License high water mark = 3
Instance terminated by USER, pid = 47128
Diag trace file :
/u01/app/oracle/admin/TSEDMDB2/bdump/tsedmdb2_diag_49754.trc
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
ORACLE_HOME = /u01/app/oracle/product/9.2.0
System name: AIX
Node name: prcsmbk1
Release: 3
Version: 4
Machine: 0002599F4C00
Instance name: TSEDMDB2
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
49754
Number of Serviceable Networks detected is less than 2
Disabling Transparent Network Failover Feature.
*** SESSION ID:(2.1) 2004-01-03 03:31:19.886
kjzcprt:rcv port created
kjzmreg2: slos err[1 19 [HA_GS_CONNECT_FAILED] sskgxn_gs_in 19]
[kjzmreg2]: Error [category=1] is encountered
Node monitor problem:[32700][kjzmreg2]
Membership is lost in DIAG group
Any help is appreciated. Thanks in advance.Thanks a lot for all your responses. We found the issue. The issue was that when we installed 9i we selected Enterprise option which installed RAC also. And after that when we were trying to create database Oracle was thinking that we are trying to create database in RAC env. and most likely it was trying to create/sync the control files on all the machines in the cluster.
The sequence of events were as below :
1. We have 8i installed on this machine
2. We installed 9i (9.2.0.1.0) using the same ORACLE_BASE but different ORACLE_HOME. We didn't select "Custom Install". We selected "Enterprise install" option
3. We installed new installer (2.2.0.18.0 ) and then 9i patch (9.2.0.4.0)
4. While creating the database (manually & through DBCA) we were getting ORA-32700
5. We tried to uninstall (using OUI 2.2.0.18.0) 9i (including the patch) completely but it never succeeded. We noticed that when we started uninstall it did show progress for about 20 minutes and after that it didn't show any progress. It was not taking any CPU cycles and It was not writing to the log file either. Basically we were never able to cleanly uninstall 9i. We tried almost 2 to 3 times.
6. Then we installed 9i using a new ORACLE_BASE and this time we selected "Custom Install" and we did not install RAC. This is successful
7. Then we installed new installer (2.2.0.18.0 ) and we tried to install the 9i patch (9.2.0.4.0) using this new installer but it never succeeded. Then we tried to install the 9i patch (9.2.0.4.0) using the old installer version (2.2.0.11.0) and it was also successful.
8. Then we tried to create database using DBCA and it was successful and then we dropped the database which was created using DBCA and then we created it manually through SQLPLUS and this was fine too.
So basically what we learned from this exercise is that if we are installing 9i on a machine which is part of a cluster and if we don't plan to setup RAC then we shouldn't install RAC and we should do a custom install. I wish there was a option in create database stmt to tell Oracle that though we are creating database on a machine which is part of a cluster environment but we don't intend to setup RAC.
And other thing which is still a mystery is that why does the uninstall never completes successfully. One question on this : We were using the installer version 2.2.0.18.0 to uninstall the 9i software. Do we need to use the older version (2.2.0.11.0) of the OUI? -
ORA-27102: out of memory (while creation of drsite problem)
Hi all,
I am trying to create DRSITE at remote location, but whilw using the pfile of primary server i am getting the error ORA-27102: out of memory we are using Oracle 9.2 and RHEL and another is that in the primary server we are haing oracle 9.2.0.8 and at the drsite we are using oracle 9.2.0.6,actually aour patch got corrupted that's why we are using oracle 9.2.0.6, because of the differences os the patch creating a problem.....but i dno't think so..pls correct me if i am wrong
SQL> conn sys/pwd as sysdba
Connected to an idle instance.
SQL> startup nomount pfile='/u01/initicai.ora';
ORA-27102: out of memory
SQL>we are haing total 8gb memory out of which we using 6gb for oracle i.e
[oracle@icdb u01]$ cat /proc/meminfo
MemTotal: 8175080 kB
MemFree: 39912 kB
Buffers: 33116 kB
Cached: 7780188 kB
SwapCached: 32 kB
Active: 78716 kB
Inactive: 7761396 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 8175080 kB
LowFree: 39912 kB
SwapTotal: 16779884 kB
SwapFree: 16779660 kB
Dirty: 28 kB
Writeback: 0 kB
Mapped: 48356 kB
Slab: 265028 kB
CommitLimit: 20867424 kB
Committed_AS: 61372 kB
PageTables: 2300 kB
VmallocTotal: 536870911 kB
VmallocUsed: 271252 kB
VmallocChunk: 536599163 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
and
[oracle@icdb u01]$ cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
kernel.shmall=2097152
kernel.shmmax=6187593113
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max =65536
net.ipv4.ip_local_port_range = 1024 65000
[oracle@icdb u01]$and bash profile is
PATH=$PATH:$HOME/bin
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/9.2.0
ORACLE_SID=ic
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH
export PATH
unset USERNAME
~
~please suggest me...init file
[oracle@icdb u01]$ cat initicai.ora
*.aq_tm_processes=1
*.background_dump_dest='/u01/app/oracle/admin/ic/bdump'
*.compatible='9.2.0.0.0'
*.control_files='/bkp/data/ctl/control03.ctl'
*.core_dump_dest='/u01/app/oracle/admin/ic/cdump'
*.db_block_size=8192
*.db_cache_size=4294967296
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='icai'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=icaiXDB)'
*.fast_start_mttr_target=300
*.hash_join_enabled=TRUE
*.instance_name='icai'
*.java_pool_size=157286400
*.job_queue_processes=20
*.large_pool_size=104857600
*.open_cursors=300
*.pga_aggregate_target=938860800
*.processes=1000
*.query_rewrite_enabled='FALSE'
*.remote_login_passwordfile='EXCLUSIVE'
*.shared_pool_size=818103808
*.sort_area_size=524288
*.star_transformation_enabled='FALSE'
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=10800
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/app/oracle/admin/ic/udump'
#log_archive_dest='/bkp/arch/ic_'
Log_archive_start=True
sga_max_size=6444442450944
log_archive_dest_1='location=/bkp/arch/ mandatory'
log_archive_dest_2='service=prim optional reopen=15'
log_archive_dest_state_1=enable
remote_archive_enable=true
standby_archive_dest='/arch/ic/ic_'
standby_file_management=auto
[oracle@icdb u01]$Edited by: user00726 on Nov 11, 2009 10:27 PM -
How do i know if my query using SORT_AREA_SIZE or temporary tablespace ?
Good Morning Everyone !
My DB version is 10.2.0.1
I have large table exactly 3 million records.
SQL> select count(*) from tab1;
COUNT(*)
300000
SQL> select * from tab1 order by no DESC;
sorting ... in process
300000 rows selected.
in Terminal 2 : I tried to find sorting details - ( No rows selected - why ? )
SQL> select USERNAME , USER , TABLESPACE , SQL_ID from v$tempseg_usage ;
no rows selected
SQL> /
no rows selected
When i google i have seen this ;
If Oracle cannot do the sort in memory (SORT_AREA_SIZE initialisation parameter), space will be allocated in a temporary tablespace for doing the sort operation.
REF_LINK : TEMPORARY Tablespaces and TEMPFILES | Oracle FAQ
MY DOUBT QUESTION : How do i know if my query using SORT_AREA_SIZE or temporary tablespace ?
Thanks in advance.@ JohnWatson
I have seen some articles from ORA - FAQ. Good.
SQL> select USERNAME , USER , TABLESPACE , SQL_ID from v$tempseg_usage;
USERNAME USER TABLESPACE SQL_ID
SCOTT SYS TEMP fh9vqgyd6m0d1
PGA management means that sorting only 300000 rows may well occur in memory
Is this (3 million rows) - standard value for 10g version ?
Thanks JohnWatson
Maybe you are looking for
-
Cannot open project: the folder for this project cannot be found cs4
I am using Encore CS4 and I get the error "cannot open project: the folder for this project cannot be found" Having searched the forums I can not find a solution for when the project folder has been deleted. Can someone tell me the solution to this
-
Payment Processing tab in Purchase Order
Hi can anybody help me, How do we get the Payment Processing tab which is used for Retention purpose ? Which SAP Note or package is involved in this as i am unable to find that tab? We have just installed SAP ERP ECC 6.0 EHP4. Kindly guide me. Regar
-
Search for strings inside html tags ?
Is there any way to get Spotlight to find search strings inside html documents? One example is I want to find any file that includes a certain alt=" " string inside an img src tag. Spotlight does not seem to include anything inside html tags in it's
-
How to install SAP IGS 7.0 on HPUX
Hi, all I want to know the process for installation of SAP IGS 7.0 on HPUX what are the steps for installing the IGS in HPUX ?, I can not find a guide to get this information I already have downloaded files installations and support of the IGS but no
-
Re: Is it possible to change row colors on array fields ors
HI Martin! Yes, it is possible to change row colors on array fields. I have attached a PEX (tools.pex) which has an object which changes FillColor and PenColor for Arrays. The PEX has it's own test window, so you can try various combinations. (There