Free tablespace on undo tablespace
I have a 8Gig tablespace on database 94Gig which is used for the statement (this is DSS database). Retention of cancellation is set too high (it is 1080 about 3 h). I don't know what is the reason, but it space table undo is full all the time, because of this it is ETL jobs that suppose to run each night fail.I think bounce (restart database) to free up to undo tablespace.
Do you propose to increase the undo tablespace tablespace or database rebound must release undo tablespace? Please suggest.
In an SSD long requests are expected. You need your UNDO retention to be longer than your long query, so the 'too long' claim is rather subjective.
Unless you have the cancellation retention set, Oracle will reuse space annulment, even crush UNDO for younger than retention committed transactions to meet the current requirements of the query.
Even if you restart the database (which is a horrible idea, from the pit of Redmond) conditions that are initially complete you the UNDO and get errors are likely to come immediately.
Refresh jobs fail with ORA-01555 or ORA-30036? For these solutions are very different.
I agree with the first line... allocate more space to CANCEL is probably the solution here, but we cannot say that for sure without knowing the error (and Oracle version would be helpful, too).
Relevant thread here...
http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:6894817116500
Tags: Database
Similar Questions
-
Hello
in my production db (oracle 10g), I have 2 spaces of storage system when I run the query for the free tablespace, I found the following
NOM_TABLESPACE ALLOCATED_KB FREE_KB PERCENT_FREE FILE_NAME
SYSTEM/oracle/ora10g/oracle/pro (distributed) 972 800 3 264 (free) 0% (free)
Duct/10.2.0/oradata/PCIL/
System01.dbf
SYSTEM/oracle/ora10g/oracle/pro (distributed) 702 400 (free) 674 176 96% (free)
Duct/10.2.0/oradata/PCIL/
system02.dbf
What does this mean?
the system01.dbf TS showing 0%. is this cause the performance of the system.
pls answer me with suggestions. I am a newbie.
thanking you
Published by: 785092 on August 13, 2010 03:54
Published by: 785092 on August 13, 2010 03:55You have 2 SYSTEM tablespaces, but 2 files attached for the SYSTEM tablespace. And one of them is almost full. This isn't a problem because you still have space on the other data file. Question of space have nothing to do with performance.
Nicolas.
-
ASMCMD Free_MB &; free Tablespace MB are different?
Hello Experts-
I am trying to understand how much free space I have left on the data plan.
ASMCMD > lsdg-> gives a MB free different value compared to the use of space tablesapce.
Should what value be addressed?
I want to ASMCMD will be more accurate but I still need to understand why they are different.
Thank you
SQL> column dummy noprint column pct_used format 999.9 heading "%|Used" column name format a16 heading "Tablespace Name" column Kbytes format 999,999,999 heading "Total_GB" SQL> SQL> SQL> SQL> column used format 999,999,999 heading "Used_GB" column free format 999,999,999 heading "Free_GB" SQL> SQL> column largest format 999,999,999 heading "Largest" break on report compute sum of kbytes on report compute sum of free on report compute sum of used on report select nvl(b.tablespace_name, nvl(a.tablespace_name,'UNKOWN')) name, SQL> SQL> SQL> SQL> SQL> SQL> 2 3 kbytes_alloc kbytes, kbytes_alloc-nvl(kbytes_free,0) used, nvl(kbytes_free,0) free, ((kbytes_alloc-nvl(kbytes_free,0))/ kbytes_alloc)*100 pct_used, 4 5 6 7 8 nvl(largest,0) largest from ( select sum(bytes)/1024/1024/1024 Kbytes_free, max(bytes)/1024/1024/1024 largest, tablespace_name from sys.dba_free_space 9 10 11 12 13 group by tablespace_name ) a, 14 ( select sum(bytes)/1024/1024/1024 Kbytes_alloc, 15 tablespace_name from sys.dba_data_files 16 17 group by tablespace_name )b 18 where a.tablespace_name (+) = b.tablespace_name ; 19 % Tablespace Name Total_GB Used_GB Free_GB Used Largest ---------------- ------------ ------------ ------------ ------ ------------ SYSTEM 4 1 3 25.1 0 SYSAUX 6 4 2 69.4 2 UNDOTBS1 16 0 16 2.2 4 USERS1 237 224 13 94.4 4 ------------ ------------ ------------ sum 263 229 34 ASMCMD> lsdg State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name MOUNTED EXTERN N 1024 4096 1048576 307200 4636 0 4636 0 N DATA/ MOUNTED EXTERN N 1024 4096 1048576 204800 159010 0 159010 0 N FLASH_RECOVERY/
Storage spaces are a subset of the ASM starts they are created in.
Segments in storage are a subset of the Tablespaces.
You might have a DG ASM to 100 GB with a 32 GB that has Tables and the indexes Tablespace that adds up to 10 GB.
Looking to 68 or 22 GB as free space? The 68 GB means that the tablespace can * growth * by an another 68 GB by adding new data files or the extension of existing data files.
The 22GB guess never add new data files or expand existing data files (resize).
68GB becomes more complicated when you have Normal or high redundancy and several FailureGroups of the DG of the DSO.
Hemant K Collette
-
Problem free space in database calculation
Hi all
I'm calculating free space in the database by using query below, but I get an incorrect result.
Please advice.
Query: -.
SELECT DF.tablespace_name tsname,.
Sum (df.bytes) / 1024/1024 tbs_size_mb,.
NVL(sum(e.used_bytes)/1024/1024,0) used,
NVL(sum(f.free_bytes)/1024/1024,0) avail.
RPAD(' '||) (RPAD('X',Round(Sum(e.used_bytes)*10/Sum(DF.bytes),0), 'X'), 11,'-') used_visual,.
NVL((sum(e.used_bytes)*100)/sum(DF.bytes),0) pct_used
OF sys.dba_data_files df,.
(SELECT file_id, sum (nvl(bytes,0)) used_bytes
OF sys.dba_extents
E GROUP BY file_id),
(SELECT max (bytes) free_bytes, file_id FROM dba_free_space
GROUP BY file_id) f
WHERE e.file_id (+) = df.file_id
AND df.file_id = f.file_id (+)
GROUP BY df.tablespace_name
ORDER BY 6
/
and the output is
*************************
TABLESPACE STATUS *.
*************************
Size used for free
Tablespace name (Mo) (Mo) (Mo) used % used
-------------------- -------- -------- -------- ----------- ------
TOOLS 12 0 12 - 0
INDEX 4 824 0 50 - 0
TEMP 32 768 384 4 - 1
RBS 6 095 100 2 143 - 2
IMPORT OF 25 600 450 25 150 - 2
TEMP02 X 8 000 896 7 104 - 11
300 84 216 XXX - 28 SYSTEM
16 000 4 650 11 150 XXX - 29 NEWINDEX
100 44 56 XXXX PERFSTAT - 44
USERS 63 166 46 173 4 160 XXXXXXX - 73
-------- -------- --------
the sum of 156 865 52 781 50 045
Order of the users tablespace size is 63 GB used is 43 GB and free is 4 GB... and where is the rest of 10-12 Go went?
I use the query above on 8i
Please advice.
Kind regards
Aformat free column 9999999999999
used column format 9999999999999
format column 9999999999999 total
Column file_name format a30
set line 200
Select a.file_id, a.file_name, total a.bytes, b.used, a.bytes - free b.used
(select file_id, file_name, decode(maxbytes,0,bytes,maxbytes) bytes
from dba_data_files) has,
(select file_id, sum (bytes) used from dba_extents file_id group) b
where a.file_id = b.file_id (+)
order of a.file_id;Source:Re: size maximum for a data file
HTH
Girish Sharma -
Hello
My database got off. We cannot know the reason behind all this.
Its database 10g on AIX 5.3 Server.
Here is the entry of the alerts log.
Thread 1 Advanced to record the sequence 264605 (switch LGWR)
Currently journal # 5, seq # 264605 mem # 0: /oracle/redolog/neonprd/redo05a.log
Currently journal # 5, seq # 264605 member # 1: /oracle/redolog02/neonprd/redo05b.log
Mon Sep 10 14:04:01 2012
Immediate Kill Session #: 1870, serial No.: 17917
Immediate Kill Session: sess: 7000005835afb08 OS pid: 5845450
Mon Sep 10 14:04:01 2012
OS process ID: 5845450 alive after slaughter
Errors in the file
Mon Sep 10 14:04:21 2012
Immediate Kill Session #: 1998, serial No.: 27337
Immediate Kill Session: sess: 7000005875c6cc0 OS pid: 6263044
Mon Sep 10 14:04:21 2012
OS process ID: 6263044 alive after slaughter
Errors in the file
Mon Sep 10 14:04:32 2012
change the database for validation at the crossing elementary school
Mon Sep 10 14:04:32 2012
DATABASE ALTER CROSSING elementary SCHOOL (neonprd)
Mon Sep 10 14:04:32 2012
ORA-16109 marked during: alter database validation at the elementary school crossing...
Mon Sep 10 14:04:32 2012
ALTER SYSTEM SET log_archive_dest_state_2 = 'activate' SCOPE = BOTH;
From EMN0 background process
Closure of proceedings: in addition to logons disabled
EMN0 started with pid = 159, OS id = 5444040
Mon Sep 10 14:04:37 2012
Filled checkpoint up to RBA [0x4099d.2.10], RCS: 43879290652
Mon Sep 10 14:04:37 2012
Stop background CJQ0 process
Mon Sep 10 14:04:37 2012
Stop background QMNC process
Mon Sep 10 14:04:38 2012
Stop background MMNL process
Mon Sep 10 14:04:39 2012
MMON background process stop
Mon Sep 10 14:04:40 2012
Closure of proceedings (immediate)
License of the high waters = 399
Mon Sep 10 14:04:40 2012
Stop slave queue treatments, flags = 7
Mon Sep 10 14:04:40 2012
OS process ID: 7172580 alive after slaughter
Errors in the /oracle/admin/neonprd/udump/neonprd_ora_6672700.trc file
Mon Sep 10 14:04:44 2012
Complete slaves to queue work queue
Mon Sep 10 14:04:44 2012
Treatment of slave leader arrested projects
Mon Sep 10 14:05:49 2012
Starting ORACLE instance (normal)
Mon Sep 10 14:06:14 2012
Starting ORACLE instance (normal)
Mon Sep 10 14:06:21 2012
Starting ORACLE instance (normal)
Mon Sep 10 14:07:02 2012
Starting ORACLE instance (normal)
Mon Sep 10 14:07:46 2012
Starting ORACLE instance (normal)
Mon Sep 10 14:08:46 2012
Starting ORACLE instance (normal)
Mon Sep 10 14:09:23 2012
Starting ORACLE instance (normal)
Mon Sep 10 14:10:01 2012
Starting ORACLE instance (normal)
Mon Sep 10 14:10:07 2012
Additional checkpoint up to RBA to RBA [0x4099d.62b0c.0] [0x4099d.62afd.0], current journal line
Mon Sep 10 14:15:27 2012
Closure of proceedings
License of the high waters = 399
Instance of stopped by USER, pid = 7000574
Mon Sep 10 14:15:49 2012
Starting ORACLE instance (normal)
Unable to get the name of sskgpgetexecname
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SNA system picked latch-free 3
Autotune undo retention is enabled.
IMODE = BR
ILAT = 242
LICENSE_MAX_USERS = 0
SYS audit is enabled
ksdpec: called to the event 13740 before initialization of the event group
Commissioning ORACLE RDBMS Version: 10.2.0.4.0.
Parameters of the system with default values:
process = 2000
sessions = 2205
SGA_MAX_SIZE = 23622320128
__shared_pool_size = 3674210304
shared_pool_size = 3674210304
__large_pool_size = 16777216
LARGE_POOL_SIZE = 16777216
__java_pool_size = 117440512
JAVA_POOL_SIZE = 50331648
__streams_pool_size = 16777216
STREAMS_POOL_SIZE = 16777216
NLS_DATE_FORMAT = HH24:MI:SS MM-DD-YYYY
nls_length_semantics = BYTE
filesystemio_options = setall
resource_manager_plan =
SGA_TARGET = 22548578304
control_files = oracle/data/neonprd/control01.ctl, oracle/data/neonprd/control02.ctl, /oracle/data/neonprd/control03.ctl
DB_BLOCK_SIZE = 8192
__db_cache_size = 18656264192
db_cache_size = 8002732032
db_writer_processes = 16
compatible = 10.2.0.3.0
Log_archive_dest_1 = rental = use_db_recovery_file_dest
LOG_ARCHIVE_DEST_2 = service = Eve reopen = 120 max_connections = 3
log_archive_dest_state_1 = ENABLE
LOG_ARCHIVE_DEST_STATE_2 = enable
log_archive_max_processes = 10
log_archive_min_succeed_dest = 1
standby_archive_dest =
log_archive_trace = 0
fal_client = PRIMARY
fal_server = STANDBY
log_buffer = 63009792
ARCHIVE_LAG_TARGET = 0
DB_FILES = 200
db_file_multiblock_read_count = 16
db_recovery_file_dest = / oracle/flash_recovery
db_recovery_file_dest_size = 1181116006400
standby_file_management = AUTO
fast_start_mttr_target = 300
log_checkpoints_to_alert = TRUE
UNDO_MANAGEMENT = AUTO
undo_tablespace = UNDOTBS1
UNDO_RETENTION = 3600
Remote_login_passwordfile = EXCLUSIVE lock
audit_sys_operations = TRUE
db_domain = in.startv.com
noms_service = neonprd.in.startv.com
SHARED_SERVERS = 0
JOB_QUEUE_PROCESSES = 10
CURSOR_SHARING = TRUE
PARALLEL_MAX_SERVERS = 0
background_dump_dest = / oracle/admin/neonprd/bdump
user_dump_dest = / oracle/admin/neonprd/udump
core_dump_dest = / oracle/admin/neonprd/cdump
audit_file_dest = / oracle/admin/neonprd/adump
AUDIT_TRAIL = NONE
db_name = neonprd
open_cursors = 1500
parallel_adaptive_multi_user = TRUE
OPTIMIZER_INDEX_COST_ADJ = 25
optimizer_index_caching = 90
query_rewrite_enabled = TRUE
pga_aggregate_target = 6442450944
skip_unusable_indexes = TRUE
allowlevel_without_connect_by = TRUE
aq_tm_processes = 1
AWRflush_threshold_metrics = TRUE
PMON started with pid = 2, OS id = 1204390
PSP0 started with pid = 3, OS id = 966732
MA started with pid = 4, OS id = 1003604
DBW0 started with pid = 5, OS id = 946294
DBW1 started with pid = 6, OS id = 909508
DBW2 started with pid = 7, OS id = 7000332
DBW3 started with pid = 8, OS id = 897104
DBW4 started with pid = 9, OS id = 7233880
DBW5 started with pid = 10, OS id = 5828952
DBW6 started with pid = 11, OS id = 7213314
DBW7 started with pid = 12, OS id = 7139790
DBW8 started with pid = 13, OS id = 6844750
DBW9 started with pid = 14, OS id = 6648146
Csilla started with pid = 15, OS id = 851976
DBWb started with pid = 16, OS id = 872484
DBWc started with pid = 17, OS id = 815254
DBWd started with pid = 18, OS id = 790652
DBWe started with pid = 19, OS id = 774152
DBWf started with pid = 20, OS id = 745636
LGWR started with pid = 21, OS id = 573668
CKPT started with pid = 22, OS id = 1171514
SMON started with pid = 23, OS id = 553024
RECCE has started with pid = 24, OS id = 1159352
CJQ0 started with pid = 25, OS id = 6639948
MMON started with pid = 26, OS id = 6394246
MMNL started with pid = 27, OS id = 1028254
Mon Sep 10 14:15:51 2012
ALTER DATABASE MOUNT
Mon Sep 10 14:15:55 2012
The incarnation of recovery setting target 1
Mon Sep 10 14:15:55 2012
Mount of redo thread 1, with mount id 863646487
Mon Sep 10 14:15:55 2012
Database mounted in exclusive Mode
Completed: ALTER DATABASE MOUNT
Mon Sep 10 14:15:55 2012
ALTER DATABASE OPEN
Mon Sep 10 14:15:56 2012
Beginning of thread 1 crash recovery
parallel recovery installation failure: the use of the serial mode
Mon Sep 10 14:15:56 2012
Scan again started
Mon Sep 10 14:15:56 2012
Complete scan again
0 repeat reading of blocks of data 0 need recovery
Mon Sep 10 14:15:56 2012
Request for reinstatement has started
Thread 1: block the logseq 264605, 404238, RCS 43879394962
Mon Sep 10 14:15:56 2012
Online Redo Log recovery: thread 1 mem Group 5 Seq 264605 reading 0
Mem # 0: /oracle/redolog/neonprd/redo05a.log
MEM # 1: /oracle/redolog02/neonprd/redo05b.log
Mon Sep 10 14:15:56 2012
Completed request
Mon Sep 10 14:15:56 2012
Finished in crash recovery
Thread 1: block the logseq 264605, 404238, RCS 43879414963
redo the 0 data blocks read, 0 0 written data blocks, blocks read
Mon Sep 10 14:15:56 2012
LGWR: FROM PROCESS ARCH
Arc0 started with pid = 29, OS id = 1200370
Arc1 started with pid = 30, OS id = 6341016
ARC2 started with pid = 31, OS id = 6271472
ARC3 started with pid = 32, OS id = 1130568
Arc4 started with pid = 33, OS id = 6234458
ARC5 started with pid = 34, OS id = 1179696
ARC6 started with pid = 35, OS id = 1106070
ARC7 started with pid = 36, OS id = 5890556
ARC8 started with pid = 37, OS id = 1089544
Mon Sep 10 14:15:57 2012
Arc0: Started archiving
Arc1: Started archiving
ARC2: Started archiving
ARC3: Started archiving
Arc4: Started archiving
ARC5: Started archiving
ARC6: Started archiving
ARC7: Started archiving
ARC9 started with pid = 38, OS id = 1036378
Mon Sep 10 14:15:57 2012
ARC8: Started archiving
ARC9: Started archiving
LGWR: FROM PROCESS ARCH COMPLETE
Mon Sep 10 14:15:57 2012
Thread 1 Advanced to record the sequence 264606 (open thread)
Thread 1 is open to the sequence of journal 264606
Currently Journal # 6, seq # 264606 mem # 0: /oracle/redolog/neonprd/redo06a.log
Currently Journal # 6, seq # 264606 member # 1: /oracle/redolog02/neonprd/redo06b.log
Opening of redo thread 1
Mon Sep 10 14:15:57 2012
Arc0: become the "no FAL' ARCH
Arc0: become the "no SRL" ARCH
Mon Sep 10 14:15:57 2012
ARC3: Become the heartbeat ARCH
Mon Sep 10 14:15:57 2012
SMON: enabling cache recovery
Mon Sep 10 14:15:57 2012
1126400 Mo db_recovery_file_dest_size is 4.99% used. It is a
user-specified limit on the amount of space that will be used by the present
for the files related to the recovery of databases and does not reflect the amount of
space available in the underlying file system or ASM diskgroup.
Mon Sep 10 14:15:58 2012
Successfully onlined Undo Tablespace 1.
Mon Sep 10 14:15:58 2012
SMON: enabling the recovery of tx
Mon Sep 10 14:15:58 2012
Database character set is WE8MSWIN1252
Plan internal opening of Resource Manager
where NUMA PG = 1, UC = 28
off replication_dependency_tracking (no replication multimaster async found)
Mon Sep 10 14:16 2012
Additional checkpoint up to RBA to RBA [0x4099e.a3.0] [0x4099e.3.0], current journal line
Mon Sep 10 14:16 2012
From QMNC background process
QMNC started with pid = 40, OS id = 5837066
Mon Sep 10 14:16:02 2012
Completed: ALTER DATABASE OPEN
Mon Sep 10 14:18:57 2012
Immediate Kill Session #: 2016, serial No.: 77
Immediate Kill Session: sess: 70000058f5d0698 OS pid: 6582596
Mon Sep 10 14:18:57 2012
OS process ID: 6582596 alive after slaughter
Errors in the file
Mon Sep 10 14:24:30 2012
Beginning log switch checkpoint up to RBA [0x4099f.2.10], RCS: 43879588218
Mon Sep 10 14:24:30 2012
Thread 1 Advanced to record the sequence 264607 (switch LGWR)
Currently journal # 1, seq # 264607 mem # 0: /oracle/redolog/neonprd/redo01a.log
Currently journal # 1, seq # 264607 member # 1: /oracle/redolog02/neonprd/redo01b.log
Mon Sep 10 14:29:33 2012
Filled checkpoint up to RBA [0x4099f.2.10], RCS: 43879588218
Mon Sep 10 14:32:01, 2012
Beginning log switch checkpoint up to RBA [0x409a0.2.10], RCS: 43879769830
Mon Sep 10 14:32:01, 2012
Thread 1 Advanced to record the sequence 264608 (switch LGWR)
Currently Journal # 2 seq # 264608 mem # 0: /oracle/redolog/neonprd/redo02a.log
Currently Journal # 2 seq # 264608 member # 1: /oracle/redolog02/neonprd/redo02b.logClosure of proceedings (immediate)
I would like to conclude that someone has published
SHUTDOWN IMMEDIATE -
ORA-00481 and Patch 3659289 - how to check if the patch has been applied? --
Dear all,
Currently my client uses the oracle 10.2.0.4.0 database (RAC). However sometimes during treatment (the application attempts to write/change data), they are several ORA-00481 errors and then the database crashed. But I'd say it's an automatic restart sort of as the newspaper has said.
Trying to get on a few articles on this subject and found one saying this is due to internal bugs, and the problem solved with patch 3659289 .
So far, I couldn't find much information about this hotfix (3659289) and I need some help here.
1. I wonder if it is the case of my customer database?
2. how to check if this specific hotfix (3659289) has been applied?
3. be appreciate if you have access to this patch and post the details here.
Advise, Suggestion or jokes will be appreciated. Thanks in advance!
Thank you and best regards,
CT
Some additional information:
1 version of oracle 10.2.0.4.0 database
Connected to:
Oracle Database 10g Release 10.2.0.4.0 - Production 64-bit
With the Real Application Clusters option
2 CARS with two nodes.
3. in the course of running on Solaris 10 sparc infrastructure.
4. what error log says:
Sun Dec 4 00:51:09 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms1_16541.trc file:
Sun Dec 4 00:51:34 2011
Track of dumping performs id = [cdmp_20111204003639]
Sun Dec 4 00:52:03 2011
kkjcre1p: unable to reproduce the jobq slave process
Sun Dec 4 00:52:04 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_cjq0_16598.trc file:
Sun Dec 4 00:54:58 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lmon_16525.trc file:
ORA-29740: expelled by Member 1, group incarnation 74
Sun Dec 4 00:54:59 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_j002_14521.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:54:59 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_j000_29799.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:54:59 2011
WARNING: inbound connections has expired (ORA-3136)
Sun Dec 4 00:54:59 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_j003_15093.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:54:59 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lck0_16841.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:54:59 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_pmon_16519.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:54:59 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms3_16549.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:54:59 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_psp0_16523.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:55:00 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms5_16557.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:55:00 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms4_16553.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:55:01 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lmd0_16527.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:55:01 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms0_16537.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:55:01 2011
Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms1_16541.trc file:
ORA-00481: LMON process ended with the error
Sun Dec 4 00:55:01 2011
RECO: termination litigation because of the error 481
Sun Dec 4 00:55:07 2011
Instance terminated by RECO, pid = 16588
Sun Dec 4 00:55:18 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 bge2 configured 10.0.2.0 from OCR to serve a cluster interconnect
Type 1 202.76.5.0 configured OCR bge0 interface to be used as a public interface
SNA system picked latch-free 3
Autotune undo retention is enabled.
LICENSE_MAX_USERS = 0
SYS audit is disabled
ksdpec: called to the event 13740 before initialization of the event group
Commissioning ORACLE RDBMS Version: 10.2.0.4.0.
Parameters of the system with default values:
process = 300
sessions = 500
SGA_MAX_SIZE = 5368709120
__shared_pool_size = 1879048192
shared_pool_size = 1073741824
__large_pool_size = 16777216
LARGE_POOL_SIZE = 16777216
__java_pool_size = 134217728
JAVA_POOL_SIZE = 134217728
__streams_pool_size = 0
SHARED_POOL_RESERVED_SIZE = 142606336
SPFile = +DATA/xxxxx/spfilexxxxx.ora
SGA_TARGET = 5368709120
control_files = +DATA/xxxxx/controlfile/current.258.702223445
DB_BLOCK_SIZE = 8192
__db_cache_size = 3288334336
db_cache_size = 3221225472
compatible = 10.2.0.1.0
Log_archive_dest = + REDOARCH/xxxxx/archlog
log_buffer = 30543360
db_file_multiblock_read_count = 16
cluster_database = TRUE
cluster_database_instances = 2
db_create_file_dest = + DATA
db_create_online_log_dest_1 = + REDOARCH
db_recovery_file_dest_size = 2147483648
= 1 thread
instance_number = 1
UNDO_MANAGEMENT = AUTO
undo_tablespace = UNDOTBS1
UNDO_RETENTION = 14400
Remote_login_passwordfile = EXCLUSIVE lock
db_domain =
dispatchers = (PROTOCOL = TCP) (SERVICE = xxxxxXDB)
LOCAL_LISTENER = LISTENER_xxxxx1
remote_listener = LISTENERS_xxxxx
session_cached_cursors = 100
JOB_QUEUE_PROCESSES = 10
CURSOR_SHARING = SIMILAR
background_dump_dest = / opt/app/oracle/admin/xxxxx/bdump
user_dump_dest = / opt/app/oracle/admin/xxxxx/udump
core_dump_dest = / opt/app/oracle/admin/xxxxx/cdump
audit_file_dest = / opt/app/oracle/admin/xxxxx/adump
db_name = xxxxx
open_cursors = 500
pga_aggregate_target = 1073741824
Communication of cluster is configured to use the following interfaces for this instance
10.0.2.235
Sun Dec 4 00:55:25 2011
cluster interconnect IPC version: Oracle UDP/IP (generic)
CPI for the seller 1 proto 2
PMON started with pid = 2, OS id = 19662
DIAG started with pid = 3, OS id = 19664
PSP0 started with pid = 4, OS id = 19666
LMON started with pid = 5, OS id = 19668
LMD0 started with pid = 6, OS id = 19670
LMS0 started with pid = 7, OS id = 19672
LMS1 started with pid = 8, OS id = 19676
LMS2 started with pid = 9, OS id = 19688
LMS3 started with pid = 10, OS id = 19692
LMS4 started with pid = 11, OS id = 19696
LMS5 started with pid = 12, OS id = 19700
MA started with pid = 13, OS id = 19704
DBW0 started with pid = 14, OS id = 19706
DBW1 started with pid = 15, OS id = 19708
DBW2 started with pid = 16, OS id = 19718
LGWR started with pid = 17, OS id = 19720
CKPT started with pid = 18, OS id = 19722
SMON started with pid = 19, OS id = 19724
RECCE has started with pid = 20, OS id = 19726
CJQ0 started with pid = 21, OS id = 19728
MMON started with pid = 22, OS id = 19730
Sun Dec 4 00:55:28 2011
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
MMNL started with pid = 23, OS id = 19732
Sun Dec 4 00:55:28 2011
commissioning or shared server 1...
Sun Dec 4 00:55:28 2011
DISM started, OS id = 19746
Sun Dec 4 00:55:52 2011
LMON recorded with NM - 1 instance id (internal mem not 0)
Sun Dec 4 00:55:53 2011
Reconfiguration began (old Inc. 0, Inc. new, 78)
List of nodes:
0 1
Global Resource Directory frozen
allocate domain 0, invalid = TRUE
Restored communication channels
* field validates according to the instance 1 0
* domain 0 valid = 1 according to instance 1
Sun Dec 4 00:55:53 2011
Diffuse master hash resource bitmaps
Blocks of non-local process cleaned
Sun Dec 4 00:55:53 2011
Shadows GCS LMS 0 0: cancelled, 0 closed
Sun Dec 4 00:55:53 2011
Cancelled LMS shadows SCM 4: 0, 0 closed
Sun Dec 4 00:55:53 2011
Cancelled LMS shadows GCS 3: 0, 0 closed
Sun Dec 4 00:55:53 2011
Cancelled LMS shadows GCS 1: 0, 0 closed
Sun Dec 4 00:55:53 2011
Cancelled LMS shadows BSC 5: 0, 0 closed
Sun Dec 4 00:55:53 2011
Cancelled LMS shadows SCM 2: 0, 0 closed
Set of master node info
Subject to all requests for remote enqueue
DWN-cvts replayed, questionable VALBLKs
All enqueues grant awarded
Sun Dec 4 00:55:53 2011
LMS crossed shadows 5: 0, replayed 0 GCS
Sun Dec 4 00:55:53 2011
LMS crossed shadows 3: 0, replayed 0 GCS
Sun Dec 4 00:55:53 2011
Crossed shadows SCM 2: 0, replayed 0 LMS
Sun Dec 4 00:55:53 2011
LMS 0: 0 GCS shadows traveled 0 replayed
Sun Dec 4 00:55:53 2011
Crossed shadows SCM 4: 0, replayed 0 LMS
Sun Dec 4 00:55:53 2011
LMS crossed shadows 1: 0, replayed 0 GCS
Sun Dec 4 00:55:53 2011
Subject to all requests for remote-cache GCS
Post SMON start 1 IR pass
Fix write in SCM resources
Reconfiguration complete
LCK0 started with pid = 26, OS id = 19984
Sun Dec 4 00:55:55 2011
Oracle Data Guard is not available in this edition of Oracle.
Sun Dec 4 00:55:55 2011
ALTER DATABASE MOUNT
Sun Dec 4 00:55:56 2011
From FILIPE background process
FILIPE started with pid = 28, OS id = 19995
From RBAL background process
RBAL started with pid = 29, OS id = 19999
Sun Dec 4 00:55:59 2011
SUCCESS: diskgroup DATA has been mounted
Sun Dec 4 00:56:03 2011
Assessment target incarnation to 7
Sun Dec 4 00:56:04 2011
Mount of redo thread 1, with mount id 3288132717
Sun Dec 4 00:56:04 2011
Database mounted in shared Mode (CLUSTER_DATABASE = TRUE)
Completed: ALTER DATABASE MOUNT
Sun Dec 4 00:56:05 2011
ALTER DATABASE OPEN
Selected broadcast the validation schema to generate notifications SNA
Sun Dec 4 00:56:06 2011
LGWR: FROM PROCESS ARCH
Arc0 started with pid = 33, OS id = 20135
Sun Dec 4 00:56:06 2011
Arc0: Started archiving
Arc1: Started archiving
LGWR: FROM PROCESS ARCH COMPLETE
Arc1 started with pid = 34, OS id = 20137
Sun Dec 4 00:56:06 2011
SUCCESS: diskgroup REDOARCH rose
Thread 1 is open to the sequence of journal 23830
Currently Journal # 3 seq # 23830 mem # 0: +REDOARCH/xxxxx/onlinelog/group_3.261.709928305
Opening of redo thread 1
Sun Dec 4 00:56:07 2011
SMON: enabling cache recovery
Sun Dec 4 00:56:07 2011
Arc0: become the "no FAL' ARCH
Arc0: become the "no SRL" ARCH
Sun Dec 4 00:56:07 2011
Arc1: Become the heartbeat ARCH
Sun Dec 4 00:56:09 2011
Successfully onlined Undo Tablespace 1.
Sun Dec 4 00:56:09 2011
SMON: enabling the recovery of tx
Sun Dec 4 00:56:09 2011
Database charset is UTF8
off replication_dependency_tracking (no replication multimaster async found)
From QMNC background process
QMNC started with pid = 35, OS id = 20185
Sun Dec 4 00:56:15 2011
Errors in the /opt/app/oracle/admin/xxxxx/udump/xxxxx1_ora_20121.trc file:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-12663: Services required by the customer not available on the server
ORA-36961: Oracle OLAP is not available.
ORA-06512: at "SYS." OLAPIHISTORYRETENTION', line 1
ORA-06512: at line 15 level
Sun Dec 4 00:56:15 2011
Completed: ALTER DATABASE OPENHi, Eric.
Sory for these last response time.
If you are looking for a special patch that is exists or not, you must run below
ORACLE_HOME and ORACLE_SID and opatch as mention in my previous post, that it is the value
lsinventory opatch | grep patch_no
If she reports record than his average you past. If its does not provide that the problem is that you do not have this patch
Respect of
HELIOS -
database Upgarde-after upgrade problems
Hello
DB version: 10.2.0.1.0
Windows XP operating system
We are in the process of upgrading the database at 10.2.0.4.0.Applied p6810189_10204_Win32 patch.
correctly applied the fixes.
When I restart the database, I get error below.
SQL > connect / as sysdba
Connect to an instance is idle.
SQL > startup
ORA-32004: outdated and/or obsolete parameters specified
ORACLE instance started.
Total System Global Area 272629760 bytes
Fixed size 1296236 bytes
96471188 variable size bytes
171966464 of database buffers bytes
Redo buffers 2895872 bytes
Mounted database.
ORA-01092: ORACLE instance is complete. Disconnection forced
Can you please help in this matter -
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Journal News Alerts:
Parameters of the obsolete system with the specified values:
log_archive_start
End of the list of obsolete system setting
PMON started with pid = 2, OS id = 3524
PSP0 started with pid = 3, OS id = 4084
MA started with pid = 4, OS id = 3296
DBW0 started with pid = 5, OS id = 1684
LGWR started with pid = 6, OS id = 3612
CKPT started with pid = 7, OS id = 1176
SMON started with pid = 8, OS = 852 id
RECCE has started with pid = 9, OS id = 3508
CJQ0 started with pid = 10, OS id = 2828
MMON started with pid = 11, OS id = 2668
Thu Oct 07 13:33:18 2010
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
MMNL started with pid = 12, id OS = 220
Thu Oct 07 13:33:18 2010
commissioning or shared server 1...
MICHAEL started with pid = 15, OS id = 2980
Thu Oct 07 13:43:50 2010
Closure of proceedings: in addition to logons disabled
Thu Oct 07 13:43:50 2010
Stop background CJQ0 process
Thu Oct 07 13:43:50 2010
Stop background MMNL process
Thu Oct 07 13:43:51 2010
MMON background process stop
Thu Oct 07 13:43:51 2010
Closure of proceedings (immediate)
The high waters = 1 license
Thu Oct 07 13:43:51 2010
Stop slave queue treatments, flags = 7
Thu Oct 07 13:43:51 2010
Treatment of slave leader arrested projects
Waiting for "D000" dispatcher stopped
All dispatchers/dispatchers and shared servers stop
Thu Oct 07 13:43:53 2010
ALTER DATABASE CLOSE NORMAL
ORA-1507 marked during: ALTER DATABASE CLOSE NORMAL...
ARCH: Disabled archives due to the stop: 1089
Stop process to archive
Archiving is disabled
Stopping the process Archive avoided: active 0
Stop the Data Guard Broker process
ARCH: Disabled archives due to the stop: 1089
Stop process to archive
Archiving is disabled
Stopping the process Archive avoided: active 0
Thu Oct 07 13:44:30 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Diagram of SNA picked latch-free 2
Autotune undo retention is enabled.
IMODE = BR
ILAT = 18
LICENSE_MAX_USERS = 0
SYS audit is disabled
ksdpec: called to the event 13740 before initialization of the event group
Commissioning ORACLE RDBMS Version: 10.2.0.4.0.
Parameters of the system with default values:
process = 150
__shared_pool_size = 79691776
__large_pool_size = 4194304
__java_pool_size = 8388608
__streams_pool_size = 4194304
SGA_TARGET = 272629760
control_files = C:\ORACLE_TAN_CONTROL\10.2.0\ORADATA\TAN\CONTROL01. CTL, C:\ORACLE_TAN_CONTROL\10.2.0\ORADATA\TAN\CONTROL02. CTL, C:\ORACLE_TAN_CONTROL\10.2.0\ORADATA\TAN\CONTROL03. CTL
DB_BLOCK_SIZE = 8192
__db_cache_size = 171966464
compatible = 10.2.0.1.0
log_archive_config = dg_config = (venus)
log_archive_start = FALSE
Log_archive_dest =
log_archive_duplex_dest =
Log_archive_dest_1 = rental = "DISABLE" compulsory valid_for = (online_logfile, all_roles)
LOG_ARCHIVE_DEST_2 = service = "(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = tcp)(HOST=INBAAMPC02326) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = venus_XPT)(INSTANCE_NAME=venus) (SERVER = dedicated))) ', delay ARCH SYNC NOAFFIRM = 0 max_failure option = 0 max_connections = 1 reopen = 300 db_unique_name ="venus"registry net_timeout = 180 valid_for = (online_logfile, primary_role)"
log_archive_dest_state_1 = ENABLE
LOG_ARCHIVE_DEST_STATE_2 = ENABLE
log_archive_max_processes = 3
log_archive_min_succeed_dest = 1
standby_archive_dest =
log_archive_trace = 0
log_archive_format = ARC%S_%R.%T
ARCHIVE_LAG_TARGET = 0
db_file_multiblock_read_count = 16
db_recovery_file_dest =
db_recovery_file_dest_size = 2147483648
standby_file_management = MANUAL
UNDO_MANAGEMENT = AUTO
undo_tablespace = UNDOTBS1
REMOTE_OS_AUTHENT = TRUE
Remote_login_passwordfile = EXCLUSIVE lock
db_domain =
dispatchers = (PROTOCOL = TCP) (SERVICE = tanXDB)
JOB_QUEUE_PROCESSES = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\TAN\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\TAN\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\TAN\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\TAN\CDUMP
db_name = light brown
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 89128960
dg_broker_start = TRUE
Parameters of the obsolete system with the specified values:
log_archive_start
End of the list of obsolete system setting
PMON started with pid = 2, OS = 496 id
PSP0 started with pid = 3, OS id = 3948
MA started with pid = 4, OS id = 3416
DBW0 started with pid = 5, OS = 284 id
LGWR started with pid = 6, OS id = 2016
CKPT started with pid = 7, OS id = 1928
SMON started with pid = 8, OS id = 3328
RECCE has started with pid = 9, OS id = 2232
CJQ0 started with pid = 10, OS = 200 id
MMON started with pid = 11, OS = 932 id
Thu Oct 07 13:44:31 2010
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
MMNL started with pid = 12, OS = 604 id
Thu Oct 07 13:44:31 2010
commissioning or shared server 1...
MICHAEL started with pid = 15, OS id = 3104
Thu Oct 07 13:44:31 2010
ALTER DATABASE MOUNT
Thu Oct 07 13:44:35 2010
Definition of embodiment of recovery target 2
Thu Oct 07 13:44:35 2010
Mount of redo thread 1, with mount id 3365616319
Thu Oct 07 13:44:35 2010
Database mounted in exclusive Mode
Completed: ALTER DATABASE MOUNT
Thu Oct 07 13:44:35 2010
ALTER DATABASE OPEN
Thu Oct 07 13:44:39 2010
From Data Guard Broker (MICHAEL)
Thu Oct 07 13:44:39 2010
Beginning of thread 1 crash recovery
Thu Oct 07 13:44:39 2010
Scan again started
Thu Oct 07 13:44:40 2010
Complete scan again
0 repeat reading of blocks of data 0 need recovery
Thu Oct 07 13:44:40 2010
Request for reinstatement has started
Thread 1: logseq 249, block 59510, RCS 8048889
Thu Oct 07 13:44:40 2010
Online Redo Log recovery: thread 1 mem Group 2 Seq 249 reading 0
Mem # 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\TAN\REDO02. JOURNAL
Thu Oct 07 13:44:40 2010
Completed request
Thu Oct 07 13:44:40 2010
Finished in crash recovery
Thread 1: logseq 249, block 59510, RCS 8068890
redo the 0 data blocks read, 0 0 written data blocks, blocks read
Thu Oct 07 13:44:40 2010
LGWR: FROM PROCESS ARCH
Arc0 started with pid = 16, OS id = 3276
Arc1 started with pid = 18, OS id = 3464
ARC2 started with pid = 19, OS id = 3988
Thu Oct 07 13:44:40 2010
Arc0: Started archiving
Arc1: Started archiving
ARC2: Started archiving
LGWR: FROM PROCESS ARCH COMPLETE
Thu Oct 07 13:44:40 2010
Thread 1 Advanced to record the sequence 250 (open thread)
Thread 1 is open to 250 log sequence
Currently Journal # 3 seq # 250 mem # 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\TAN\REDO03. JOURNAL
Opening of redo thread 1
Thu Oct 07 13:44:41 2010
View MTTR is disabled, because FAST_START_MTTR_TARGET is not defined
Thu Oct 07 13:44:41 2010
ARC2: become the "no FAL' ARCH
ARC2: become the "no SRL" ARCH
Thu Oct 07 13:44:41 2010
Arc0: Become the heartbeat ARCH
Thu Oct 07 13:44:41 2010
SMON: enabling cache recovery
Thu Oct 07 13:44:41 2010
Errors in the d:\oracle\product\10.2.0\admin\tan\udump\tan_ora_1532.trc file:
ORA-00704: bootstrap failure process
ORA-39700: database must be opened with the UPGRADE option
Thu Oct 07 13:44:41 2010
Error 704 happened during db open, close the database
USER: termination instance due to error 704
Thu Oct 07 13:44:43 2010
Errors in the d:\oracle\product\10.2.0\admin\tan\bdump\tan_lgwr_2016.trc file:
ORA-00704: bootstrap failure process
Thu Oct 07 13:44:43 2010
Errors in the d:\oracle\product\10.2.0\admin\tan\bdump\tan_dbw0_284.trc file:
ORA-00704: bootstrap failure process
Thu Oct 07 13:44:43 2010
Errors in the d:\oracle\product\10.2.0\admin\tan\bdump\tan_psp0_3948.trc file:
ORA-00704: bootstrap failure process
Thu Oct 07 13:44:43 2010
Errors in the d:\oracle\product\10.2.0\admin\tan\bdump\tan_mman_3416.trc file:
ORA-00704: bootstrap failure process
Thu Oct 07 13:44:43 2010
Errors in the d:\oracle\product\10.2.0\admin\tan\bdump\tan_pmon_496.trc file:
ORA-00704: bootstrap failure process
Thu Oct 07 13:44:43 2010
Errors in the d:\oracle\product\10.2.0\admin\tan\bdump\tan_ckpt_1928.trc file:
ORA-00704: bootstrap failure process
Thu Oct 07 13:44:44 2010
Errors in the d:\oracle\product\10.2.0\admin\tan\bdump\tan_reco_2232.trc file:
ORA-00704: bootstrap failure process
Thu Oct 07 13:44:44 2010
Errors in the d:\oracle\product\10.2.0\admin\tan\bdump\tan_smon_3328.trc file:
ORA-00704: bootstrap failure process
Instance of stopped by USER, pid = 1532
ORA-1092 marked during: ALTER DATABASE OPEN...Hello
You run the scripts. catupgrd. SQL and utlrp.sql. If not, then follow the steps below.
SQL > startup upgrade;
SQL > @? / RDBMS/admin/catupgrd. SQL;
After the completion
SQL > immediate shu;
SQL > startup
SQL > @? / RDBMS/admin/utlrp. SQL;the following steps for the database resides in the oracle home upgrade
HTH
KSG -
Determine the space allocated to the tablespace on disk and the database free summer
Hello
Using oracle 11.2.0.3 and want to determine that some new storage space will be large enough to hold the data that we intend to move in them these is large enough.
When watching in Oracle enterprise manager see tablespaces but all look to have a default value 1024 MB and when run query below don't even see the tablespaces.
Another team created these and advised 4 GB but want to verify this.
How can we be sure that 4 GB was allotted to each of the tablespaces concerned before moving data.
Select df.tablespace_name "Tablespace"
totalusedspace 'Used MB',
(df.totalspace - tu.totalusedspace) "MB free.
DF. TotalSpace 'Total MB. "
round (100 * ((df.totalspace-tu.totalusedspace) / df.totalspace))
"PCT free."
Of
(select nom_tablespace,
Round (Sum (bytes) / 1048576) TotalSpace
from dba_data_files
Group by tablespace_name) df,.
(select round (sum (bytes) /(1024*1024)) totalusedspace, nom_tablespace)
from dba_segments
where nom_tablespace like '% % refund '.
you group by tablespace_name)
where df.tablespace_name = tu.tablespace_name
order by 1
Thank you
Hello
Use this query and display the results:
CLEAR COLUMNS SET LINES 200 COLUMN "Tablespace" FORMAT A34 TRUNC COLUMN "AllocSize (M)" FORMAT 999,990 COLUMN "AllocFree (M)" FORMAT 999,990 COLUMN "AllocUsed (%)" FORMAT A16 COLUMN "MaxSize (M)" FORMAT 999,990 COLUMN "MaxFree (M)" FORMAT 999,990 COLUMN "MaxUsed (%)" FORMAT A16 SELECT /*+choose*/ CASE f.status WHEN 'ONLINE' THEN '+' WHEN 'OFFLINE' THEN '-' ELSE '=' END || '|' || SUBSTR (f.CONTENTS, 1, 1) || '|' || f.tablespace_name "Tablespace", f.nallocsize "AllocSize (M)", f.free "AllocFree (M)", '[' || RPAD (NVL (RPAD ('#', ROUND (f.nusedpct / 10), '#'), '_'), 10, '_') || ']' || LPAD (TO_CHAR (f.nusedpct), 3, ' ') || '%' "AllocUsed (%)", f.nmaxsize "MaxSize (M)", (f.free + f.nmaxsize - f.nallocsize) "MaxFree (M)", '[' || RPAD (NVL (RPAD ('#', ROUND (f.nmaxusedpct / 10), '#'), '_'), 10, '_' ) || ']' || LPAD (TO_CHAR (f.nmaxusedpct), 3, ' ') || '%' "MaxUsed (%)" FROM (SELECT e.status, e.tablespace_name, e.CONTENTS, e.nallocsize, e.free, e.nmaxsize, (CASE nallocsize WHEN 0 THEN 0 ELSE ROUND ((100 - (e.free / e.nallocsize * 100))) END ) nusedpct, (CASE nmaxsize WHEN 0 THEN 0 ELSE ROUND ( 100 - (e.free + e.nmaxsize - e.nallocsize) / e.nmaxsize * 100 ) END ) nmaxusedpct FROM (SELECT d.status, d.tablespace_name, d.CONTENTS, ROUND (a.BYTES / (1024 * 1024)) nallocsize, ROUND (NVL (s.BYTES, 0) / (1024 * 1024)) free, (CASE WHEN NVL (a.maxbytes, 0) < a.BYTES THEN ROUND (a.BYTES / (1024 * 1024)) ELSE ROUND (NVL (a.maxbytes, 0) / (1024 * 1024)) END ) nmaxsize FROM (SELECT status, tablespace_name, CONTENTS FROM dba_tablespaces WHERE CONTENTS != 'TEMPORARY') d, (SELECT tablespace_name, SUM (NVL (BYTES, 0)) BYTES, SUM (CASE WHEN NVL (maxbytes, 0) < NVL (BYTES, 0) THEN NVL (BYTES, 0) ELSE NVL (maxbytes, 0) END ) maxbytes FROM dba_data_files GROUP BY tablespace_name) a, (SELECT tablespace_name, SUM (BYTES) BYTES FROM (SELECT tablespace_name, SUM (BYTES) BYTES FROM dba_free_space GROUP BY tablespace_name ) GROUP BY tablespace_name) s WHERE d.tablespace_name = a.tablespace_name AND d.tablespace_name = s.tablespace_name(+) UNION ALL SELECT d.status, d.tablespace_name, d.CONTENTS, ROUND (a.BYTES / (1024 * 1024)) nallocsize, ROUND (NVL (s.BYTES, 0) / (1024 * 1024)) free, (CASE WHEN NVL (a.maxbytes, 0) < a.BYTES THEN ROUND (a.BYTES / (1024 * 1024)) ELSE ROUND (NVL (a.maxbytes, 0) / (1024 * 1024)) END ) nmaxsize FROM (SELECT status, tablespace_name, CONTENTS FROM dba_tablespaces WHERE CONTENTS = 'TEMPORARY') d, (SELECT tablespace_name, NVL (SUM (BYTES), 0) BYTES, NVL (SUM (maxbytes), 0) maxbytes FROM dba_temp_files GROUP BY tablespace_name) a, (SELECT h.tablespace_name, SUM ( (h.bytes_free + h.bytes_used) - NVL (p.bytes_used, 0) ) BYTES FROM v$temp_space_header h, v$temp_extent_pool p, dba_temp_files f WHERE p.file_id(+) = h.file_id AND p.tablespace_name(+) = h.tablespace_name AND f.file_id = h.file_id AND f.tablespace_name = h.tablespace_name GROUP BY h.tablespace_name) s WHERE d.tablespace_name = a.tablespace_name AND d.tablespace_name = s.tablespace_name(+)) e) f where f.tablespace_name like '%RTRN%' ; PROMPT (+) = ONLINE (P) = PERMANENT PROMPT (=) = READ ONLY (U) = UNDO PROMPT (-) = OFFLINE (T) = TEMPORARY PROMPT
Edit:
Example of output:
Tablespace AllocSize (M) AllocFree (M) AllocUsed (%) MaxSize (M) MaxFree (M) MaxUsed (%) ---------------------------------- ------------- ------------- ---------------- ----------- ----------- ----------------
+| P | XDB 1 374 0 [#] 100% 8 192 6 818 [# _] 17% If the column "MaxFree (M)" you show no space required, then your data files are not configured well. Your DBA must configure the parameters 'CanGrow' and 'maxsize' adequate level data file in each tablespace.
Kind regards
Juan M
-
Hi all;
Hello!
I'm confused about undo tablespace size.
Under query showing my undo tablespace size is 120Mo.
but DBA_TABLESPACE_USAGE_METRICS view showing the undo tablespace size is 4194302
> > Check free space
SQ > select t.tablespace, t.totalspace as ' TOTAL_SPACE (MB).
round ((t.totalspace-fs.freespace), 2) as "USED_SPACE (MB)",
FS. FreeSpace as "FREE_SPACE (MB).
round (((t.totalspace-fs.freespace) /t.totalspace) * 100, 2) like "% used (s),"
round ((fs.freespace/t.totalspace) * 100, 2) as "% free" of
(select round (sum (d.bytes) /(1024 * 1024)) as totalspace,)
tablespace dba_data_files d.tablespace_name d
Group d.tablespace_name) t,.
(select round (sum (f.bytes) /(1024 * 1024)) as freespace,)
tablespace dba_free_space f.tablespace_name f
Group of f.tablespace_name)
FS where t.tablespace = fs.tablespace order of t.tablespace.TABLESPACE TOTAL_SPACE (MB) USED_SPACE (MB) FREE_SPACE (MB) % used free %
------------------------------ --------------- -------------- -------------- ---------- ----------
EXAMPLE 100 68 32 68 32
240 230 10 SYSAUX 95,83 4.17
480 475 5 98.96 SYSTEM 1.04
UNDOTBS1 120 120 0 100 0
1005 75 930 USERS 7.46 92.54
SQL > select * from dba_tablespace_usage_metrics, where nom_tablespace like '% UNDO;
NOM_TABLESPACE USED_SPACE TABLESPACE_SIZE USED_PERCENT
---------------------------- ---------- --------------- ------------
UNDOTBS1 440 4194302 .010490422
This is because:
Tablespace_size in DBA_TABLESPACE_USAGE_METRICS takes the maximum file size for CanGrow tablespace that matches maxblocks in dba_data_files.
This is not the same value you can get from dba_data_files.
DBA_TABLESPACE_USAGE_METRICS shows essentially the maximum size to which a data file can grow. And DBA_DATA_FILES (+ DBA_FREE_SPACE) the current size of the tablespace.
Watch more document MOS (My Oracle Support):
Difference in size of dba_data_files Tablespace and dba_tablespace_usage_metrics/V values $ Filespace_usage (Doc ID 455715.1)
-
Hello
my version of the database is 11.2.0.1.0
My undo tablespace was approximately 36 GB and 4 GB was about free.
But now the size decreases and it is falling fast. What I would do. I increased it by another 2 GB. How to monitor it so that I can capture it without resizing again.
Please guide me.
Thanks in advance.to understand correctly read
http://blog.oracle48.nl/Oracle-database-undo-space-explained/ -
Jobs impdp/imp consumes UNDO tablespace
DB version: 11.2.0.3
Version of the OS: RHEL 5.6
I'm doing an import of single table which is 7.5 GB in size. It takes more than 35 minutes with PARALLEL = 3.
Free space of the tablespace Undo was only 100 MB when I checked. Temporary tablespace had 3 GB of free space.
IMP or impdp process consumes well CANCEL? Impdp no insertions using plain INSERT SQLs internally?Yes, cancellation can be consumed, even more in impdp as IMP. But what really depends on used options, look so _session_wait and events tables of $ v. Some versions (I'm not your) have had problems when there are many objects, dealing with the ddl.
-
Undo Tablespace is not erasing in 11 GR 2 DB
Hello
There are 2 undo tablespace APPS_UNDOTS1 and APPS_UNDOTS2. APPS_UNDOTS2 is not used frequently while APPS_UNDOTS1 is used frequently.
Problem is that these storage spaces are not deleted automatically. We even tried to bounce the database but no help. There are often increase the size of the tablespace by adding the data file.
There is no work around for this problem? What should be the impact if we auto expand on these storage spaces?
Here is the information:
Operating system platform: IBM AIX 6.1.0.0, 64-bit
Product: Oracle E-Business Suite R1212
Database version: 11.2.0.1.0
Is active RAC: Yes
Is active ASM: Yes
Database nodes: 2
SQL > show Cancel parameter;
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
UNDO_MANAGEMENT string AUTO
UNDO_RETENTION integer 900
undo_tablespace string APPS_UNDOTS1
SQL > SELECT DISTINCT STATUS, SUM (BYTES), COUNT (*)
DBA_UNDO_EXTENTS GROUP OF STATUS;
STATUS SUM (BYTES) COUNT (*)
--------- ---------- ----------
EXPIRED 89718784 1294
RUN 3.2242E + 10 17929
1773862912 2261 ASSETS
Cancel the use of TBS:
Nom_tablespace AVAIL USE % FREE opportunity
------------------------------ -------------------------------------
15120 9875 5245 65.31 APPS_UNDOTS2
28432 APPS_UNDOTS1 22823.6875 5608,3125 80.27
Undo retention is dry and there is not sufficient 900 scopes CANCEL remaining, so no idea why Undo SCT is not having erased?
Kind regards
PurnimaNormal and expected - behavior for an explanation see MOS Doc 413732.1 (Full UNDO Tablespace in gr 10, 2)
Srini
-
Hello world!
I used this sql to check the status of my storage space.
It shows that my undo tablespace has only 3% of space left.SELECT /* + RULE */ df.tablespace_name "Tablespace", df.bytes / (1024 * 1024) "Size (MB)", SUM(fs.bytes) / (1024 * 1024) "Free (MB)", Nvl(Round(SUM(fs.bytes) * 100 / df.bytes),1) "% Free", Round((df.bytes - SUM(fs.bytes)) * 100 / df.bytes) "% Used" FROM dba_free_space fs, (SELECT tablespace_name,SUM(bytes) bytes FROM dba_data_files GROUP BY tablespace_name) df WHERE fs.tablespace_name (+) = df.tablespace_name GROUP BY df.tablespace_name,df.bytes UNION ALL SELECT /* + RULE */ df.tablespace_name tspace, fs.bytes / (1024 * 1024), SUM(df.bytes_free) / (1024 * 1024), Nvl(Round((SUM(fs.bytes) - df.bytes_used) * 100 / fs.bytes), 1), Round((SUM(fs.bytes) - df.bytes_free) * 100 / fs.bytes) FROM dba_temp_files fs, (SELECT tablespace_name,bytes_free,bytes_used FROM v$temp_space_header GROUP BY tablespace_name,bytes_free,bytes_used) df WHERE fs.tablespace_name (+) = df.tablespace_name GROUP BY df.tablespace_name,fs.bytes,df.bytes_free,df.bytes_used ORDER BY 4 DESC;
I simply run this SQL command, but the result is always the same.
I mistakenly thought that the size of the existing file is less than 50 M.SQL> alter database datafile 'c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO.DBF' autoextend on maxsize 50M; Database altered.
But then, realized the unused (3%) is 50 M.
How can I increase the size of the file now.
Please guide me.
The command that I published will have a negative impact?
Thanks in advance.
NithHello
What is your current undo tablespace now?
You can use the ALTER DATABASE statement. DATAFILE statement to resize or extend a data file
you issue this:SQL > alter database datafile ' c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO. DBF' autoextend on maxsize 50 M;
If it stops when it reaches 50 m.
You can try below:
SQL > alter database datafile ' c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO. DBF' autoextend on next 1 m maxsize unlimited;
You must set the maxsize value according to your availability of storage.
BR,
mrak -
Undo tablespace unable to grow beyond 31 GB.
Hello
ORACLE 11g
Solaris 10
BS.
Undo tablespace unable to grow beyond 31 GB. It gives the error message below when importing dump file that contain data of 45 GB.
ORA-30036: unable to extend segment by 8 in undo tablespace "UNDOTBS1.
with similar configuration machine, it works fine with the same dump file. is there something that we are missing?CREATE UNDO TABLESPACE undotbs_02 DATAFILE '+DATA/lims/hdb/undotbs02.dbf' SIZE 100M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED; SQL> show parameter undo NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ undo_management string AUTO undo_retention integer 900 undo_tablespace string UNDOTBS_02 % Tablespace Name KBytes Used Free Used ---------------- ------------ ------------ ------------ ------ *UNDOTBS_02 33,546,240 33,546,240 0 100.0 ------------ ------------ ------------ sum 33,546,240 33,546,240 0
concerning
SachinYou came to size max os for your data file. Add more data files to the undo tablespace.
-
recover missing (ORA-01092) UNDO tablespace
I got ORA-01092 when starting the database
SQL > startup
ORACLE instance started.
Total System Global Area 1367343104 bytes
Bytes of size 1292468 fixed
838862668 variable size bytes
520093696 of database buffers bytes
Redo buffers 7094272 bytes
Mounted database.
ORA-01092: ORACLE instance is complete. Disconnection forced
I discovered that the UNDO tablespace is missing
Alerts log shows this:
My Oct 04 13:54:45 2010
Setting the default value of the parameter parallel_max_servers
160-135 because of the value of the process parameters (150)
My Oct 04 13:54:45 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Diagram of SNA picked latch-free 2
With the help of LOG_ARCHIVE_DEST_1 parameter value by default as D:\oracle\product\10.2.0\db_1\RDBMS
Autotune undo retention is enabled.
IMODE = BR
ILAT = 18
LICENSE_MAX_USERS = 0
SYS audit is disabled
ksdpec: called to the event 13740 before initialization of the event group
Commissioning ORACLE RDBMS Version: 10.2.0.3.0.
Parameters of the system with default values:
process = 150
__shared_pool_size = 813694976
__large_pool_size = 8388608
__java_pool_size = 8388608
__streams_pool_size = 8388608
SGA_TARGET = 1367343104
control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\AXPHQ01\CONTROL01. CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\AXPHQ01\CONTROL02. CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\AXPHQ01\CONTROL03. CTL
DB_BLOCK_SIZE = 8192
__db_cache_size = 520093696
compatible = 10.2.0.3.0
db_file_multiblock_read_count = 16
UNDO_MANAGEMENT = AUTO
undo_tablespace = UNDOTBS1
Remote_login_passwordfile = EXCLUSIVE lock
db_domain =
dispatchers = (PROTOCOL = TCP) (SERVICE = AXPHQ01XDB)
JOB_QUEUE_PROCESSES = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\AXPHQ01\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\AXPHQ01\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\AXPHQ01\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\AXPHQ01\CDUMP
db_name = AXPHQ01
open_cursors = 300
pga_aggregate_target = 419430400
optimizerconnect_by_cost_based = FALSE
allowlevel_without_connect_by = TRUE
PMON started with pid = 2, OS id = 7988
PSP0 started with pid = 3, OS id = 7964
MA started with pid = 4, OS id = 6948
DBW0 started with pid = 5, OS id = 7332
LGWR started with pid = 6, OS id = 5128
CKPT started with pid = 7, OS id = 7148
SMON started with pid = 8, OS id = 5804
RECCE has started with pid = 9, OS id = 3604
CJQ0 started with pid = 10, OS id = 7084
MMON started with pid = 11, OS id = 8448
My Oct 04 13:54:46 2010
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
MMNL started with pid = 12, OS id = 4704
My Oct 04 13:54:46 2010
commissioning or shared server 1...
My Oct 04 13:54:47 2010
ALTER DATABASE MOUNT
My Oct 04 13:54:51 2010
Definition of embodiment of recovery target 2
My Oct 04 13:54:51 2010
Mount of redo thread 1, with mount id 4102419559
My Oct 04 13:54:51 2010
Database mounted in exclusive Mode
Completed: ALTER DATABASE MOUNT
My Oct 04 13:54:52 2010
ALTER DATABASE OPEN
My Oct 04 13:54:53 2010
Beginning of thread 1 crash recovery
parallel recovery started with 7 process
My Oct 04 13:54:53 2010
Scan again started
My Oct 04 13:54:53 2010
Complete scan again
1 blocks again read, 0 data blocks need recovery
My Oct 04 13:54:53 2010
Request for reinstatement has started
Thread 1: logseq 10520, block 2, CHN 8758774026015
My Oct 04 13:54:53 2010
Online Redo Log recovery: thread 1 mem Group 11 Seq 10520 reading 0
Mem # 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\AXPHQ01\REDO11. JOURNAL
My Oct 04 13:54:54 2010
Completed request
My Oct 04 13:54:55 2010
Finished in crash recovery
Thread 1: logseq 10520, block 3, RCS 8758774046017
redo the 0 data blocks read, 1 0 written data blocks, blocks read
My Oct 04 13:54:58 2010
Thread 1 Advanced to record the sequence 10521
Thread 1 is open to the sequence of journal 10521
Currently journal # 12 seq # 10521 mem # 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\AXPHQ01\REDO12. JOURNAL
Opening of redo thread 1
My Oct 04 13:54:58 2010
View MTTR is disabled, because FAST_START_MTTR_TARGET is not defined
My Oct 04 13:54:58 2010
SMON: enabling cache recovery
My Oct 04 13:54:58 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\udump\axphq01_ora_1024.trc file:
ORA-30012: undo tablespace "UNDOTBS1" there is not, or of the wrong type
My Oct 04 13:54:58 2010
Error 30012 happened during db open, close the database
USER: termination litigation because of the error 30012
My Oct 04 13:55 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_pmon_7988.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_reco_3604.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_smon_5804.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_ckpt_7148.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_lgwr_5128.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55:01 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_mman_6948.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55:01 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_dbw0_7332.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55:01 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_psp0_7964.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
Instance of stopped by USER, pid = 1024
ORA-1092 marked during: ALTER DATABASE OPEN...Hello
Do as suggested by Chinar or
1. after installation of startup
2. create spfile from pfile;
3. immediate shu
4. startup mount
Then do all the steps as stated in my previous post.
Anand
Maybe you are looking for
-
31.5 does not work for me now
I installed the latest update last night, and now my email does not work. I now get this when I open the app. "Unable to connect". The connection was refused when attempting to contact live.mozillamessaging.com. The site could be temporarily unavaila
-
Remove Awsome bar suggestions / the search history.
I deleted the history but awesome bar remembers beyond research. How to remove these research and keep him from remembering the future research. Also, when I open the history tab, all I get is: all I get are Ctrl + H and Ctrl + Shift + Delete choice.
-
I just download firfox and it makes FF as my default browser, I want to default IE
I just downloaded Firefox and he made it my default browser. I want IE as my default, how to fix
-
Move the files to iCloud and then computer transfer to another user?
My wife is retiring from work in a community college. She used a mac at work. At home, she plans to use an iPad. I already bought an extra storage on ICloud drive. I think I want to transfer some of its files on my drive to iCloud for storing. Then,
-
Wireless Y500 disconnect every 5 min
I've been browsing the forums for about 2 hours have not found a solution that works. The adapter internal wifi (Intel Centrino Wireless - N 2230) has been giving me really spotty connection. I had very minimal connection to the present day problems.