ORA-01502 error in the case of a unique index unusable and dml in bulk
Hi all.The BP is 11.2.0.3 on a linux machine.
I did a unique index unusable and issued a dml on the table.
Howerver, oracle gave me the error ORA-01502.
In order to avoid the ORA-01502 error, should I drop the unique index and bulk make dml and rebuild the index?
Or is there another solution without recreating the unique index?
create table hoho.abcde as
select level col1 from dual connect by level <=1000
10:09:55 HOHO@PD1MGD>create unique index hoho.abcde_dx1 on hoho.abcde (col1);
Index created.
10:10:23 HOHO@PD1MGD>alter index hoho.abcde_dx1 unusable;
Index altered.
Elapsed: 00:00:00.03
10:11:27 HOHO@PD1MGD>delete from hoho.abcde where rownum < 11;
delete from hoho.abcde where rownum < 11
*
ERROR at line 1:
ORA-01502: index 'HOHO.ABCDE_DX1' or partition of such index is in unusable state
Thanks in advance.Best regards.
Do I have to accept the unique index maintenance workload(undo generation/redo for undo generation)
when doing bulk dml?
I think so.
The amount of data you load compared to existing data in the table?
If say for example, you add 20%, and then to compare the retention of 20% adds data during the major part collect to create all of the index after insertion so
you choose the drop/recreate the unique index
Best regards
Mohamed Houri
www.hourim.WordPress.com
Tags: Database
Similar Questions
-
DB not starting not due ORA-00205: error in the identification of 11GRAC control file
Hello
I have it configured in the OEL5 11 g RAC (11.2.0.1.0). When I tried to start the database using the command srvctl or by manually I get the below error. \
RPRC-1079: failed to start of ora.rac.db resources
ORA-00205: error in the identification of control files, see log alerts for more information
CRS-2674: beginning of 'ora.rac.db', 'ractwo' failed
CRS-2632: there is no more servers to try to place the "ora.rac.db" resource on which will achieve its investment policy
ORA-00205: error in the identification of control files, see log alerts for more information
CRS-2674: beginning of 'ora.rac.db', 'racone' failed
The content of the alert below log.
ORA-00210: could not open the specified control file
ORA-00202: control file: "+ RACDG/rac/controlfiles/control02.ctl".
ORA-17503: ksfdopn:2 could not open the file +RACDG/rac/controlfiles/control02.ctl
ORA-15001: diskgroup 'RACDG' does not exist or is not mounted
ORA-15055: unable to connect to the ASM instance
ORA-27140: attach to post/wait installation failed
ORA-27300: OS dependent operating system: invalid_egid failed with status: 1
ORA-27301: OS Error Message: operation not permitted
ORA-27302: an error occurred at: skgpwinit6
ORA-27303: additional information: current startup egid = 500 (oinstall), egid = 503 (asmadmin)
ORA-00210: could not open the specified control file
ORA-00202: control file: "+ RACDG/rac/controlfiles/control01.ctl".
ORA-17503: ksfdopn:2 could not open the file +RACDG/rac/controlfiles/control01.ctl
ORA-15001: diskgroup 'RACDG' does not exist or is not mounted
ORA-15055: unable to connect to the ASM instance
ORA-27140: attach to post/wait installation failed
ORA-27300: OS dependent operating system: invalid_egid failed with status: 1
ORA-27301: OS Error Message: operation not permitted
ORA-27302: an error occurred at: skgpwinit6
ORA-27303: additional information: current startup egid = 500 (oinstall), egid = 503 (asmadmin)
But my ASM instance is running and I am able to see the controlfiles.
State Type sector Rebal to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files name of the block
EXTERN MOUNTED N 512 4096 1048576 20472 13772 0 13772 0 N RACDG.
I don't know is there any problem of perission. Oracle cluster and DB is running as user 'oracle '.
Nobody does face this problem before? Let me know where to check this error.
Kind regards
007
Hello
Check "the correct permission must be" - rwsr - s - x '.»»»
Stop the CRS.
Change the permissions of the file to GI_HOME/bin/oracle for "- rwsr - s - x":$su - grid
$cd GI_HOME/bin
$chmod 6751 oracle
Oracle-l $lsStart the /CRS.
Start your database.
Thank you
Sundar
-
Hello
I'm putting it on oracle 11.2.0.1 to 11.2.0.3 DB level but during DBUA, I got error
"ORA-00205: error in the identification of control files, check the log of alerts for more information.
I have check the alerts log in E:\app\kmahalingam\diag\rdbms\orcl\orcl\trace\alert_orcl.txt
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SNA system picked latch-free 3
With the help of LOG_ARCHIVE_DEST_1 parameter value by default as USE_DB_RECOVERY_FILE_DEST
Autotune undo retention is enabled.
IMODE = BR
ILAT = 51
LICENSE_MAX_USERS = 0
SYS audit is disabled
Commissioning:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With the options of partitioning, OLAP, Data Mining and Real Application Testing.
Windows NT Version V6.1 Service Pack 1
UC: 8 - type 8664, 8 physical cores
Process affinity: 0 x 0 x 0000000000000000
Memory (success/Total): Ph: 3241 M / 16383 M, Ph + FCP: 16565 M / 32765 M
Using parameters in spfile E:\APP\KMAHALINGAM\PRODUCT\11.2.0\DBHOME_2\DATABASE\SPFILEORCL server-side. ORA
Parameters of the system with default values:
process = 300
sessions = 472
memory_target = 3280M
control_files = 'E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL.
control_files = 'E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL.
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
db_recovery_file_dest = 'E:\app\kmahalingam\flash_recovery_area. '
db_recovery_file_dest_size = 3912M
undo_tablespace = 'UNDOTBS1.
Remote_login_passwordfile = "EXCLUSIVE."
db_domain = "cpg.com."
dispatchers = "(PROTOCOL=TCP) (SERVICE = orclXDB)" "
audit_file_dest = "E:\APP\KMAHALINGAM\ADMIN\ORCL\ADUMP".
AUDIT_TRAIL = 'NONE '.
db_name = "orcl".
open_cursors = 300
star_transformation_enabled = 'TRUE '.
diagnostic_dest = "E:\APP\KMAHALINGAM".
Fri Mar 07 00:33:15 2014
PMON started with pid = 2, OS id = 25072
Fri Mar 07 00:33:15 2014
PSP0 started with pid = 3, OS id = 25688
Fri Mar 07 00:33:16 2014
VKTM started with pid = 4, OS id = 27608 high priority
VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms
Fri Mar 07 00:33:16 2014
GEN0 started with pid = 5, OS id = 11484
Fri Mar 07 00:33:16 2014
DIAG started with pid = 6, OS id = 16980
Fri Mar 07 00:33:16 2014
DBRM started with pid = 7, OS id = 2200
Fri Mar 07 00:33:16 2014
DIA0 started with pid = 8, OS id = 8024
Fri Mar 07 00:33:16 2014
MA started with pid = 9, OS id = 15688
Fri Mar 07 00:33:16 2014
DBW0 started with pid = 10, OS id = 19908
Fri Mar 07 00:33:16 2014
LGWR started with pid = 11, OS id = 22616
Fri Mar 07 00:33:16 2014
CKPT started with pid = 12, OS id = 12828
Fri Mar 07 00:33:16 2014
SMON started with pid = 13, OS id = 10184
Fri Mar 07 00:33:16 2014
RECCE has started with pid = 14, OS id = 28984
Fri Mar 07 00:33:16 2014
MMON started with pid = 15, OS id = 22288
Fri Mar 07 00:33:16 2014
MMNL started with pid = 16, OS id = 12072
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
commissioning or shared server 1...
Environment ORACLE_BASE = E:\app\kmahalingam
Fri Mar 07 00:33:16 2014
ALTER DATABASE MOUNT
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA - 205 marked during: ALTER DATABASE MOUNT...
Fri Mar 07 00:34:46 2014
ALTER DATABASE MOUNT
Fri Mar 07 00:34:46 2014
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA - 205 marked during: ALTER DATABASE MOUNT...
Fri Mar 07 00:45:51 2014
change the database editing
Fri Mar 07 00:45:51 2014
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA - 205 scored at the course: change the editing of the database...
Fri Mar 07 00:48:13 2014
change the database editing
Fri Mar 07 00:48:13 2014
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-00210: could not open the specified control file
ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA - 205 scored at the course: change the editing of the database...
Fri Mar 07 00:52:34 2014
Derives from detected time. Check the file path VKTM for more details.
Fri Mar 07 00:53:46 2014
Closure of proceedings (immediate)
Closure of proceedings: in addition to logons disabled
Stop background MMNL process
MMON background process stop
The high waters = 1 license
All dispatchers/dispatchers and shared servers stop
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
ARCH: Disabled archives due to the stop: 1089
Stop process to archive
Archiving is disabled
Fri Mar 07 00:53:49 2014
Stop background VKTM process
Fri Mar 07 00:53:51 2014
Instance shutdown complete
Fri Mar 07 00:54:01, 2014
Setting the default value of the parameter parallel_max_servers
320 to 285 because of the value of the process parameters (300)
Help, please
Thank you
According to spfile.
control_files = 'E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL.
control_files = 'E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL.
You mentioned
Davinapochon wrote:
E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL02. CTL file is there but there is no CONTROL01. CTL file.
So little confused here.
E:\APP\KMAHALINGAM\ORADATA\ORCL\--> must contain CONTROL01. CTL
E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\--> must contain CONTROL02. CTL
What is it now?
Anand
-
all the site went "not found HTTP 404 error. The requested resource is not found. "and the"Firefox cannot load Web sites but other programs can"page is not help somehow
One possible cause is security software (firewall, antivirus) that prevents or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.
Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.
See:
You can try to reset (power off / on) of the router.
-
Original title: backup Windows found errors on the media during a backup.
original title: backup errors
Whenever I try to do my monthly backup I get the following messages
Backup Windows found errors on the media during a backup on it and can not use it for additional backups.
Pleas write the following label on a blank media and insert it into D: /.
I did and then he asked me to get in shape, I say OK and I get the same message on the media errors and I put another disc and get the same problems again. I can't find out what the problem is, what can I do to fix this problem and get a new backup?
I now have an error 0 x 81000019
Hello
You did changes to the computer before the show?
Method 1: Check if the shadow copy volume is running
(a) click Start.
(b) in the search box, type Services.msc.
shadow copy Volume c) right-click and go to properties.
(d) select Auto (Delayed) in the start menu type in the menu drop-down.Method 2: Clean boot
When the computer starts to boot, programs non-Microsoft will not be started and would avoid any interruption of their share.How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.microsoft.com/kb/929135.Note: Once you are done with the boot, follow step 7 of article to reset your computer to normal startup.
Method 3:
Check all your drives to NTFS.
This problem may occur if the drive is not NTFS format.
Please follow the steps mentioned below to convert the reader:
Using the Convert command
1. click on the "Start" button, click "all programs" and click on "Accessories".
2. right click on "command prompt" and click "run as administrator".
3. in the window "Administrator: command prompt", type the following command and press ENTER.
CONVERT %Drive% letter: / FS: NTFS
letter of %Drive% is the driver that you want to convert. For example, type the following command to convert drive F to NTFS:
CONVERT F:/FS: NTFS
4. when the following message appears in the command prompt window, type the volume label of the drive that you are converting, and then press ENTER:
The type of the file system is FAT.
Enter the name of the current volume of reader letter %Drive%:
Type any string of characters for the Volume name. If you simply press ENTER, it will affect 'Local disk' as the default Volume name.
5. when the conversion to NTFS is complete, the following line appears in the command prompt window:
"Complete conversion".
6. restart the computer and check the result.
Hope this information is useful.
-
Get ORA-00942 error with the clause, but not when the user sys.
Hello
About 3 weeks ago we increased our memary to PGA_aggregate_target = 60 GB, SGA_target = 58 GB Oracle instance. About 1 week ago our cognos user started having errors ORA-00942 for these queries generated with clause, with the same authorization. i.e.
with 'aBmtQuerySubject4' as
(select "BANK_NOTE_ADI_INFO_T". ' ' PRINT_BATCH_ID ' 'PRINT_BATCH_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
'BANK_NOTE_ADI_INFO_T '. ' ' RDP_ID ' 'RDP_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' FI_ID ' 'FI_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' DEPOSIT_NB ' 'DEPOSIT_NB '.
'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_MACHINE_ID ' 'PROCESS_MACHINE_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' OUTPUT_STACKER_TYPE_CE ' 'OUTPUT_STACKER_TYPE_CE '.
'BANK_NOTE_ADI_INFO_T '. ' ' PARTITION_KEY ' 'PARTITION_KEY '.
'BANK_NOTE_ADI_INFO_T '. ' ' LOAD_ID ' 'LOAD_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' SERIAL_NUMBER_ID ' 'SERIAL_NUMBER_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' SHIFT_NB ' 'SHIFT_NB '.
'BANK_NOTE_ADI_INFO_T '. ' ' BANK_NOTE_COUNT_NB ' 'BANK_NOTE_COUNT_NB '.
of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
)
'CountResultQuery5' as
(select count ("aBmtQuerySubject4". "BANK_NOTE_COUNT_NB") 'C_1' "
, count (1) 'C_2' of 'aBmtQuerySubject4 '.
After having count (*) > 0)
Select 'CountResultQuery5 '. "' C_2 ' 'Count1.
of 'CountResultQuery5 '.
;
with 'aBmtQuerySubject4' as
(select "BANK_NOTE_ADI_INFO_T". ' ' LOAD_ID ' 'LOAD_ID '.
of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
)
'CountResultQuery5' as
(select count ("aBmtQuerySubject4". "LOAD_ID") 'C_1' "
, count (1) 'C_2 '.
of 'aBmtQuerySubject4' having count (*) > 0
)
Select 'CountResultQuery5 '. "' C_2 ' 'Count1' of 'CountResultQuery5 '.
;-output like:
'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
*
ERROR at line 3:
ORA-00942: table or view does not exist
of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
*
ERROR at line 3:
ORA-00942: table or view does not existSince 2 days ago, we get ORA-0403.
One thing I noticed that the coguser can run above queries correctly after they are run by a user sys...
Could you please help me on how I can resolve ORA-00942 error?
Thank you very much, much in advance for all your help and your advice! :-)
Jihong.
"One thing I've noticed the coguser can run over queries correctly after they are run by a user sys... »
Jihong,
Do you mean that queries can be run successfully as a sys user, or as long as once a sys cognos user user has run the query at least once?
Gerard
-
ORA-12545 error when the connection to the remote server
Hello
Env: Oracle 11 2 Client (11.2.0.1) on Oracle Linux 5.8 GR 64 bit
DB server: Oracle 11 g 2 (11.2.0.3.6) on Oracle Linux 6.2 64bits
I have installed Oracle 11 GR 2 client on a server and created the tnsnames.ora with required entry.
When I try to connect to the databases on the server of remote database using the suite in two ways, one of them give me error "ORA-12545". Do not know why.
[oracle@server ~] $ sqlplus scott/tiger@proddb01
SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:24:58 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@server ~] $ sqlplus
SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:25:04 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter the user name: scott
Enter the password:
ERROR:
ORA-12545: Connect failed because target host or object does not exist
Enter the user name:
Here's my env:
[oracle@server ~] $ echo $ORACLE_SID
PRODRD01
[oracle@server ~] $ echo $ORACLE_HOME
/opt/Oracle/app/product/11.2.0/Client_1
[oracle@server ~] $
Input TNS is:
PRODRD01 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server.whatever.com) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PRODRD01)
)
)
I tried to replace the host name and IP address, I still got the same error. The host name of the server database and IP entry does not exist in the file "/ etc/hosts. Could this be the cause? I can't edit the file "/ etc/hosts" and I couldn't convince the sys-admin to add the hostname of Server DB and IP entry to this file.
Clues please?
Best regards
user130038 wrote:
Hello
Env: Oracle 11 2 Client (11.2.0.1) on Oracle Linux 5.8 GR 64 bit
DB server: Oracle 11 g 2 (11.2.0.3.6) on Oracle Linux 6.2 64bits
I have installed Oracle 11 GR 2 client on a server and created the tnsnames.ora with required entry.
When I try to connect to the databases on the server of remote database using the suite in two ways, one of them give me error "ORA-12545". Do not know why.
[oracle@server ~] $ sqlplus scott/tiger@proddb01
SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:24:58 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@server ~] $ sqlplus
SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:25:04 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter the user name: scott
Enter the password:
ERROR:
ORA-12545: Connect failed because target host or object does not exist
Enter the user name:
Here's my env:
[oracle@server ~] $ echo $ORACLE_SID
PRODRD01
[oracle@server ~] $ echo $ORACLE_HOME
/opt/Oracle/app/product/11.2.0/Client_1
[oracle@server ~] $
Input TNS is:
PRODRD01 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server.whatever.com) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PRODRD01)
)
)
I tried to replace the host name and IP address, I still got the same error. The host name of the server database and IP entry does not exist in the file "/ etc/hosts. Could this be the cause? I can't edit the file "/ etc/hosts" and I couldn't convince the sys-admin to add the hostname of Server DB and IP entry to this file.
Clues please?
Best regards
When '@proddb01' is not used, then sqlplus can only connect to a local database, & there is no local database on the client system
-
upgrading startup ORA-00205: error in the identification of control files
Hello
I do a manual upgrade of 10.2.04 to 11.2.03.
I installed 11.2.0.3.
Ran utlu112i.sql
Copied TNSNAMES and LISTENER.ora, init.ora of 10g of House to the respective directories in 11g.
A commented all the dump_dest paramteres in init.ora 11g and added the diagnostic_dest parameter
exports all varaiables as follows.
Export ORACLE_HOME = / oracle/ora11203
export PATH = $ORACLE_HOME/bin: $PATH
export ORACLE_SID = OMIGTEST
Export TNS_ADMIN = $ORACLE_HOME/network/admin
export ORACLE_BASE = / oracle/ora11203/app/ora11203
Now when I try to start DB of the unix session where all above variables are defined, I get after publication.
In init.ora 11 g (which is copied from 10 g), I commented on our path of control file entry.SQL> startup upgrade ORACLE instance started. Total System Global Area 1636892672 bytes Fixed Size 2183056 bytes Variable Size 1090519152 bytes Database Buffers 536870912 bytes Redo Buffers 7319552 bytes ORA-00205: error in identifying control file, check alert log for more info Alert log says as below. ORACLE_BASE from environment = /oracle/ora11203/app/ora11203 Thu Aug 23 15:03:36 2012 ALTER DATABASE MOUNT ORA-00210: cannot open the specified control file ORA-00202: control file: '/oracle/ora11203/dbs/cntrlOMIGTEST.dbf' ORA-27037: unable to obtain file status HPUX-ia64 Error: 2: No such file or directory Additional information: 3 ORA-205 signalled during: ALTER DATABASE MOUNT...
Well want to help me because I do the upgrade for the first time.
Thank you
Published by: user10698496 on August 24, 2012 02:47Yes.
BR,
Pinela. -
error with the case statement use what void const query
Hi all.
I have found the error in the result set, and then use subqueries and cases of declaration.
Preparation for example.
2 examples of tables creation.
This statement returns NULL in subqueryCREATE TABLE T1 AS ( SELECT 1 ID , 1 F1 FROM DUAL UNION SELECT 2 ID , 1 F1 FROM DUAL UNION SELECT 3 ID , 1 F1 FROM DUAL ) ; CREATE TABLE T2 AS ( SELECT 2 ID FROM DUAL UNION SELECT 3 ID FROM DUAL ) ;
But this statement (with operator CASE) does NOT return null in subquerySELECT T1.ID, TT2.ID , TT2.ISBUG AS NO_BUG FROM T1 LEFT JOIN ( SELECT ID , -1 ISBUG FROM T2 )TT2 ON T1.ID = TT2.ID WHERE TT2.ID IS NULL
Why?SELECT CASE WHEN 1 = 1 THEN 1 END AS C1, T1.ID, TT2.ID , TT2.ISBUG FROM T1 LEFT JOIN ( SELECT ID , -1 ISBUG FROM T2 )TT2 ON T1.ID = TT2.ID WHERE TT2.ID IS NULL
Oracle 11.2.0.2.0
Published by: 927438 on 13.04.2012 03:27
Published by: 927438 on 13.04.2012 03:31Maybe it is related to this one
outer join of 11g with case - strange results statement.
seems to be a bug
-
View materialized, ORA-12008: error in the path of refresh materialized view
I want to refresh a materialized view, but I get an error ORA-12008.
Does anyone have an idea? I can't find any errors in my update statement.
CREATE MATERIALIZED VIEW scott.dummy_mv TABLESPACE test BUILD IMMEDIATE USING INDEX TABLESPACE idx_test REFRESH START WITH sysdate NEXT ROUND(SYSDATE)+5/24 WITH PRIMARY KEY ENABLE QUERY REWRITE AS SELECT KM.ID ID ,KM.USERNAME USERNAME ,KM.ABTID ABTID FROM my_table KM / scott@orcl>desc dummy_mv Name Null? Typ ----------------------------------------- -------- ---------------------------- ID NOT NULL NUMBER(4) USERNAME NOT NULL VARCHAR2(30) ABTID NOT NULL NUMBER(4) scott@orcl> BEGIN SYS.DBMS_JOB.REMOVE(6579); COMMIT; END; / DECLARE X NUMBER; BEGIN SYS.DBMS_JOB.SUBMIT ( job => X ,what => 'dbms_refresh.refresh(''"scott"."dummy_mv"'');' ,next_date => to_date('07.01.2009 05:00:00','dd/mm/yyyy hh24:mi:ss') ,interval => 'ROUND(SYSDATE)+5/24 ' ,no_parse => FALSE ); SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x)); COMMIT; END; / scott@orcl>exec dbms_refresh.refresh('dummy_mv'); BEGIN dbms_refresh.refresh('dummy_mv'); END; * FEHLER in Zeile 1: ORA-12008: error in materialized view refresh path ORA-00947: not enough values ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 820 ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 877 ORA-06512: in "SYS.DBMS_IREFRESH", Zeile 683 ORA-06512: in "SYS.DBMS_REFRESH", Zeile 195 ORA-06512: in Zeile 1 scott@orcl>
dealer says:
I get the same error:scott@orcl>exec dbms_mview.refresh('dummy_mv','c'); BEGIN dbms_mview.refresh('dummy_mv','c'); END; * FEHLER in Zeile 1: ORA-12008: error in materialized view refresh path ORA-00947: not enough values ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 820 ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 877 ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 858 ORA-06512: in Zeile 1
I would first check "request" from the view of the DBA_SNAPSHOTS/DBA_MVIEWS dictionary information, if it reveals something obvious.
But it looks more like an internal error when processing the update. You can get more information on the follow-up to the session error. "Alter session set sql_trace = true;" before running the update should be sufficient. Then unplug and check the trace file generated error using "tkprof" and check the output or by searching manually "err =" in the trace file.
What 4 numbers of Oracle version do you use?
Kind regards
RandolfOracle related blog stuff:
http://Oracle-Randolf.blogspot.com/SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676 /.
http://sourceforge.NET/projects/SQLT-pp/ -
Windows Update error
Hello Sir Edward Parker,
Thank you for using answers.microsoft.com
Follow these steps to solve the problem.
-->> Go to Windows Update and search for an update marked "Failed".
-->> Click on "View Update History".
-->> When you see the update history, click the link as if you were going to download the update.
-->> Do not download, but instead, click 'Run' and run the update.
-->> During the update, you will get errors - JUST click ON 'Ignore' and go through the errors.
-->> The update complete, although history will show always 'Impossible' for once.
-->> Next time Windows Update is run, she sees that the update takes place and mark the update given as a 'success'That should solve the problem for you.
Thank you.UDAY $012 please let me know that whether the solution worked or not, I thank you and appreciate your comments. URGO
-
Hi gurus
I'm putting a case statement but no luck. Here is my script:
--------------------
Examples of data
create table test2
(
GRP varchar2 (10),
class_dtl varchar2 (10)
);
Insert into test2
Select '300', ' class 54' from dual;
------------
My query
with DataUn as
(
Select 'Bank', '100' grp of all union double
Select 'Home', '200' of any double union
Select 'TV', '300' of the double
)
Select the code,
(case when code = 'Bank' and then 'A'
case when there are
(select 1 from test2
where test2.grp = dataa.grp
) then
(select class_dtl
from test2)
end
end
on the other
code
end)
of DataUn;
Error message
ORA-00905: lack of keyword
00905 00000 - 'lack the key word'
--------
Help, please
with
like test11
(
Select 'I' of the market, grp ' 2000', 'A' all double union class_code
Select 'G', '2000', 'B' clas_code from dual union all
Select "G", "3000", 'C' clas_code from dual union all
Select 'V', '4000', to ' the double clas_code
),
test22 as
(
Select grp '3000', 'class 22' class_dtl of the double '.
)
Select grp,
When case market = 'I '.
then "first".
When there are (Select 1
of test22 one
where a.grp = test11.grp
)
then (select class_dtl
the b test22
where b.grp = test11.grp
)
of another class_code
end class_modified
of test11
GRP CLASS_MODIFIED 2000 first 2000 B 3000 Class 22 4000 D Concerning
Etbin
-
' RMAN: ORA-19502: error on the write file.
Hi all
I have an oracle 9.2.0.6, I take primary database backup, my DB is on Sun box and the data file are raw file systems...
But while taking backup I get an error...
I checked on the internet and I got to know that the error occurred because of the space as such catalogue is on win 2003 oracle db catalog House is having 20 GB of space, while I take backup H:\ here I'm not having more than 100 GB of space...
Please help me solve this problem...
RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure of backup command on ch1 channel at 05/11/2009 13:00:19 ORA-19502: write error on file "H:\mainbackup\bk_inc0_65_1", blockno 269825 (blo cksize=8192) ORA-27063: skgfospo: number of bytes read/written is incorrect Additional information: 131072 Additional information: 1048576
The catalog database can be "everywhere". Logically, it makes sense that it is NOT on the same server as the database target.
However, the server on the target database process is one that reads the database files. The server process must connect AS SYSDBA.
See
http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14192/setup003.htm#sthref211See MetaLink Note # 145843.1 which explains how an RMAN backup of a database on the TARGET computer can write to a drive mounted shared on the network. This is the TARGET database server that must be able to 'see' the shared drive. (The Note covers installation of Windows privileges).
The RMAN Script must specify the mapping that the TARGET server uses for the drive shared as destination drive BackupSet. For example, a database on a Windows Server can write to a drive that is mapped from another Windows Server.For the database on the Solaris server to write to your disk in Windows, you must use NFS, such as Windows 'export' the reader and Solaris Server "monte" drive with a name of 'local' mapping (for example/MNT) and not a name of windows.
-
ORA-12096 error in the log of the materialized on %s view. %s
Hello
I confronted the message special error 'error ORA-12096 in materialized view to connect... ". "When you try to insert it into a table. But... There is not a newspaper of view materialized (none in the current schema or the schema of other users).
Note: I use OraDB10g v2
Thank you.. .to much
SIMSIM,
There should be a mview newspaper that would create this error. This first success looking on google,
http://www.orafaq.com/Forum/t/66160/0/
Check 3 queries mentioned in there with mview and post comments. I hope that we would get little lead.
See you soon
Aman... -
I received the following message when you try to update CS6 PS and PS CS6 (64-bit). Does anyone know how correct it if so the update will install? Thank you.
Adobe Photoshop 13.0.1.2
There was an error of installation of this update. Quit and try again later. Error code: U44M1I210See the following documents of the possible solutions to help:
http://helpx.Adobe.com/Creative-Suite/KB/error-u44m1i210-installing-up dates-HYPERLINK
http://helpx.Adobe.com/Photoshop/KB/Photoshop-CS6-updates-Don ' t - install.html
Maybe you are looking for
-
Satellite A100-062 psaane: can not get the card reader to work
Hiya... Please can someone help? I try to use my card reader with a Pro duo stick.I put it in the Pro duo adapter and when I put the card in the slot of the card reader that nothing happens... Thank you in advance if you can help. cordially imalive
-
You can back up your computer once you have restored it?
You can back up your computer once you have restored it?
-
What is the normal temperature for AMD Turion 64 X 2 Mobile TL - 60 Tyker 65nm technology?
now, just after I turn on my laptop (HP Pavilion dv9533eg, bought in September 2007) the chip temperature is around 60 c. When I then my two browser (Chrome and Firefox), the temperature goes up to more than 70 C, sometimes 76 C! I use my laptop in b
-
I have been using hotmail since last 4-5 years account. All my data and all the important things was that. No one else has his password. He was temporarily blocked I don't know why, and now the problem is that they don't ask me for a secret question
-
How to discover what you run IE
How to discover what you run IE