Redologs on ASM but not archivelogs
Hello,
for the same database, is correct to have redolog on ASM when Archivelogs still on filesystem ?
Thank you.
Hello,
There is no correct answer to this problem. It depends on your strategy. The main advantages of ASM are simplicity and unbuffered I/O so make use of them.
Redo log need both write and read operations aside from archiving (bulk read). On the other side Archived Redo rarely need read operations after its initial bulk write, unless you do frequent recovery. So, you don't want to buffer archived redo logs.
Both can take advantage of ASM feature, so you can put both on ASM.
Later on, if are not satisfy with its performance, you can add more disks to ASM. It is easier to manage than putting archived redo logs on file system and the rest on ASM.
In my opinion it is more important to define strategy of storage tiers within the ASM itself. You can then map each tier to ASM disk group. For example for fast read/normal write you can create tier1 with RAID 1 or RAID 10 and map this tier to ASM disk group. You can then put OLTP/DSS data files into this tier (because they requires fast read). You can create other tiers according to your need based on this example.
clydie.com
Similar Messages
-
Hello,
Our company is planning to migrate from Oracle 9.2 to 10.2 and we will be moving from Solaris OS to RH Linux. We also want to go from single-instance to RAC. Of the 3 storage solutions ASM, OCFS, or NFS, which is most recommended????
Thanks for any feedback.We recently migrated our server from OCFS2 to ASM, though ASM adds an overhead but in long term is a better storage management tool. ASM provides better I/O is by evenly distributing the data across disk groups, with ASM in addition handling disk mirroring and the creation of mirror groups and failure groups is easier. But you can also use NFS/OCFS2 in conjuction to ASM. OCFS2/NFS for oracle software and RAC software, ASM for datafiles and archivelogs. Though you will lose visibility from UNIX prespective and no more cd to directory and accidently running rm, ( you can do that in asm but not obvious have to login using asmcmd).
Here is useful link for several whitepaper on ASM by oracle (you might already know this but anyway)
http://www.oracle.com/technology/products/database/asm/index.html -
Timestamp for the redologs belong to that instance is changing but not for
redo logs on
Group Member THREAD# Archived Status ( MB)
00 /mount1/dbname/mount1_a.mount 1 NO CURRENT 100
01 /mount2/dbname/mount1_b.mount 1 YES INACTIVE 100
02 /mount1/dbname/mount2_a.mount 2 NO CURRENT 100
03 /mount2/dbname/mount2_b.mount 2 YES INACTIVE 100
04 /mount1/dbname/mount3_a.mount 3 NO CURRENT 100
05 /mount2/dbname/mount3_b.mount 3 YES INACTIVE 100
06 /mount1/dbname/mount4_a.mount 4 YES INACTIVE 100
07 /mount2/dbname/mount4_b.mount 4 NO CURRENT 100
Timestamp for the redologs belong to that instance is changing but not for the otherinstances on a commom storage area..
Like on node1
00 /mount1/dbname/mount1_a.mount 1 NO CURRENT 100
01 /mount2/dbname/mount1_b.mount 1 YES INACTIVE 100
Time stamp is changing on node 1 for redologs belong to group 10 and 11 but not for others .same thing on other nodes groups which belong to that node(thread ) are changing.
On node1.
[node51-dbname1] ls -ltr /mount*/dbname/mount*
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount2/dbname/mount3_b.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount2/dbname/mount2_b.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount1/dbname/mount3_a.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount1/dbname/mount2_a.mount
-rw-r----- 1 oracle dba 104858112 Feb 5 21:12 /mount2/dbname/mount4_b.mount
-rw-r----- 1 oracle dba 104858112 Feb 5 23:07 /mount1/dbname/mount4_a.mount
-rw-r----- 1 oracle dba 104858112 Feb 6 10:54 /mount2/dbname/mount1_b.mount
-rw-r----- 1 oracle dba 104858112 Feb 6 12:06 /mount1/dbname/mount1_a.mount
On node2:
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount2/dbname/mount3_b.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount1/dbname/mount3_a.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:10 /mount2/dbname/mount1_b.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:15 /mount1/dbname/mount1_a.mount
-rw-r----- 1 oracle dba 104858112 Feb 5 21:12 /mount2/dbname/mount4_b.mount
-rw-r----- 1 oracle dba 104858112 Feb 5 23:07 /mount1/dbname/mount4_a.mount
-rw-r----- 1 oracle dba 104858112 Feb 6 10:54 /mount2/dbname/mount2_b.mount
-rw-r----- 1 oracle dba 104858112 Feb 6 12:06 /mount1/dbname/mount2_a.mount
On node3:
ls -ltr /mount*/dbname/mount*
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount2/dbname/mount2_b.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount1/dbname/mount2_a.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:10 /mount2/dbname/mount1_b.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:15 /mount1/dbname/mount1_a.mount
-rw-r----- 1 oracle dba 104858112 Feb 5 21:12 /mount2/dbname/mount4_b.mount
-rw-r----- 1 oracle dba 104858112 Feb 5 23:07 /mount1/dbname/mount4_a.mount
-rw-r----- 1 oracle dba 104858112 Feb 6 09:13 /mount2/dbname/mount3_b.mount
-rw-r----- 1 oracle dba 104858112 Feb 6 12:06 /mount1/dbname/mount3_a.mount
On node4:
ls -ltr /mount*/dbname/mount*
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount2/dbname/mount3_b.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount2/dbname/mount2_b.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount1/dbname/mount3_a.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:09 /mount1/dbname/mount2_a.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:10 /mount2/dbname/mount1_b.mount
-rw-r----- 1 oracle dba 104858112 Jan 23 01:15 /mount1/dbname/mount1_a.mount
-rw-r----- 1 oracle dba 104858112 Feb 6 06:07 /mount1/dbname/mount4_a.mount
-rw-r----- 1 oracle dba 104858112 Feb 6 12:06 /mount2/dbname/mount4_b.mountIf there is a question here, and a version number here, I can't find either one.
Please return to your first post, use the edit button, and format your listing use the tags show in the FAQ so what you post can be read.
Thank you. -
I can only backup the datafiles but not the control files and SPFiles
Hello, all,
I am using the Oracle 10g on a linux server which runs redhat 9. I want to backup the whole database to the disk, but not the flash recovery area. It is /rawdata. I will show how I configure the backup part in EM. Is there anything wrong?
1. the ARCHIVELOG is on
2. under Administration, in the All Initialization Parameters, I remove the string value of “log_archive_dest_1”. After that, I go to the SPFile and remove the string value of “log_archive_dest_1”
3. configure backup settings and policies. The Disk Backup Location field is set to /rawdata. Select Image Copy for Disk Backup type. Test Disk backup is successful.
4. go to Policy page. Select “Automatically backup the control file and server parameter file (SPFile) with every backup and database structural change.) input /rawdata into the filed: Autobackup Disk Location
Select “Optimize the whole database backup by skipping unchanged files such as read-only and offline datafiles that have been backed up”
Select “Retain backups that are necessary for a recovery to any time whin the specified number of days (point-in-time recovery)
Accept the default of 31days
5. go to Schedul Backup
6. select customized from the backup Strategy drop-down menu. Select the Whole Database
7. in the Options page, select “Full backup” in the Backup Type section. Select “Online Backup” in the Backup Mode section. Select “back up all archived logs on disk” in the Advanced section.
8. in the Setting page, select “Disk”
9. in the Schedule page, accept the default job name and description. Select Immediately to execute the job immediately.
10. just submit the job.
After several minutes, the job is failed while the Prebackup and Postbackup are succeeded. The log says:
Recovery Manager: Release 10.1.0.2.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN>
connected to target database: ORCL10G (DBID=770753237)
using target database controlfile instead of recovery catalog
RMAN>
Starting backup at 11-OCT-06
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=268 devtype=DISK
channel ORA_DISK_1: starting datafile copy
input datafile fno=00001 name=+DATADG/orcl10g/system01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSTEM_FNO-1_68hvin50 tag=BACKUP_ORCL10G_000_101106111844 recid=108 stamp=603544772
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting datafile copy
input datafile fno=00003 name=+DATADG/orcl10g/sysaux01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSAUX_FNO-3_69hvin6d tag=BACKUP_ORCL10G_000_101106111844 recid=109 stamp=603544813
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:35
channel ORA_DISK_1: starting datafile copy
input datafile fno=00005 name=+DATADG/orcl10g/example01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-EXAMPLE_FNO-5_6ahvin7g tag=BACKUP_ORCL10G_000_101106111844 recid=110 stamp=603544829
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15
channel ORA_DISK_1: starting datafile copy
input datafile fno=00002 name=+DATADG/orcl10g/undotbs01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-UNDOTBS1_FNO-2_6bhvin7v tag=BACKUP_ORCL10G_000_101106111844 recid=111 stamp=603544835
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:08
channel ORA_DISK_1: starting datafile copy
input datafile fno=00004 name=+DATADG/orcl10g/users01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-USERS_FNO-4_6chvin87 tag=BACKUP_ORCL10G_000_101106111844 recid=112 stamp=603544841
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
Finished backup at 11-OCT-06
Starting Control File and SPFILE Autobackup at 11-OCT-06
piece handle=/rawdata/c-770753237-20061011-05 comment=NONE
Finished Control File and SPFILE Autobackup at 11-OCT-06
RMAN>
Starting backup at 11-OCT-06
current log archived
using channel ORA_DISK_1
archived log /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_cqhvf270 not found or out of sync with catalog
trying alternate file for archivelog thread 1, sequence 1062
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 10/11/2006 11:20:54
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_puhkv41f
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
RMAN>
Recovery Manager complete.
It seems the system tries to find a file “arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_cqhvf270” in /rawdata. I just can not understand.
What should I do? Any advice is highly appreciated!
Qianthe string value in the field of 'log_archive_dest_1" under "All Initialization parameters" is "LOCATION=+DATADG/orcl10g/". The same value was in the field under SPFile.
I reset these values and tried to backup the whole database. The same error appeared. The log says:
Recovery Manager: Release 10.1.0.2.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN>
connected to target database: ORCL10G (DBID=770753237)
using target database controlfile instead of recovery catalog
RMAN>
Starting backup at 11-OCT-06
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=245 devtype=DISK
channel ORA_DISK_1: starting datafile copy
input datafile fno=00001 name=+DATADG/orcl10g/system01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSTEM_FNO-1_6ghvj9rd tag=BACKUP_ORCL10G_000_101106043753 recid=114 stamp=603563922
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting datafile copy
input datafile fno=00003 name=+DATADG/orcl10g/sysaux01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSAUX_FNO-3_6hhvj9sq tag=BACKUP_ORCL10G_000_101106043753 recid=115 stamp=603563963
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:35
channel ORA_DISK_1: starting datafile copy
input datafile fno=00005 name=+DATADG/orcl10g/example01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-EXAMPLE_FNO-5_6ihvj9tu tag=BACKUP_ORCL10G_000_101106043753 recid=116 stamp=603563977
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15
channel ORA_DISK_1: starting datafile copy
input datafile fno=00002 name=+DATADG/orcl10g/undotbs01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-UNDOTBS1_FNO-2_6jhvj9ud tag=BACKUP_ORCL10G_000_101106043753 recid=117 stamp=603563984
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile fno=00004 name=+DATADG/orcl10g/users01.dbf
output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-USERS_FNO-4_6khvj9uk tag=BACKUP_ORCL10G_000_101106043753 recid=118 stamp=603563990
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
Finished backup at 11-OCT-06
Starting Control File and SPFILE Autobackup at 11-OCT-06
piece handle=/rawdata/c-770753237-20061011-07 comment=NONE
Finished Control File and SPFILE Autobackup at 11-OCT-06
RMAN>
Starting backup at 11-OCT-06
current log archived
using channel ORA_DISK_1
archived log /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_cqhvf270 not found or out of sync with catalog
trying alternate file for archivelog thread 1, sequence 1062
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 10/11/2006 16:40:05
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_puhkv41f
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
RMAN>
Recovery Manager complete.
Why the system keeps trying to find files under /rawdata? It is the destination, not the source.
Any help is appreciated!
Qian
Message was edited by:
QianChen -
Oracle 10g DB connecting for sys,system but not for other users
Hi,
I have oracle 10g in Windows XP. I am able to connect to database using sys/pwd@db as sysdba. All SYSDBA users able to connect DB.
When I try to connect using user, Its not throwing any error but not connecting. Just the cursor is blinking...
How to fix this issue.
Thanks in advance
-ManiHi,
I didnt see any error message in alert log. Its not logging any message while connecting DB using SYSDBA.
My DB is in NOARCHIVELOG mode.
Sill non DBA users are not able to login.
what could be the reason for this issue?
Any help....
Below is my alert log......
Dump file d:\oracle\product\10.1.0\admin\orcl10g\bdump\alert_orcl10g.log
Sat Apr 26 13:51:24 2008
ORACLE V10.1.0.2.0 - Production vsnsta=0
vsnsql=13 vsnxtr=3
Windows XP Version V5.1 Service Pack 2
CPU : 2 - type 586
Process Affinity: 0x00000000
Memory (A/P) : PH:270M/1014M, PG:852M/2441M, VA:1959M/2047M
Sat Apr 26 13:51:24 2008
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
KCCDEBUG_LEVEL = 0
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
Dynamic strands is set to TRUE
Running with 2 shared and 18 private strand(s). Zero-copy redo is FALSE
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 10.1.0.2.0.
System parameters with non-default values:
processes = 150
shared_pool_size = 83886080
large_pool_size = 8388608
java_pool_size = 50331648
resource_manager_plan = INTERNAL_QUIESCE
control_files = D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL10G\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL10G\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL10G\CONTROL03.CTL
db_block_size = 8192
db_cache_size = 25165824
compatible = 10.1.0.2.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orcl10gXDB)
job_queue_processes = 10
background_dump_dest = D:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL10G\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL10G\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL10G\CDUMP
sort_area_size = 65536
db_name = orcl10g
open_cursors = 300
pga_aggregate_target = 25165824
PMON started with pid=2, OS id=1840
MMAN started with pid=3, OS id=4044
DBW0 started with pid=4, OS id=2324
LGWR started with pid=5, OS id=3460
CKPT started with pid=6, OS id=720
SMON started with pid=7, OS id=964
RECO started with pid=8, OS id=1780
Sat Apr 26 13:51:24 2008
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
CJQ0 started with pid=9, OS id=232
Sat Apr 26 13:51:24 2008
starting up 1 shared server(s) ...
Sat Apr 26 13:51:25 2008
alter database mount exclusive
Sat Apr 26 13:51:25 2008
Controlfile identified with block size 16384
Sat Apr 26 13:51:29 2008
Setting recovery target incarnation to 2
Sat Apr 26 13:51:29 2008
Successful mount of redo thread 1, with mount id 837414429
Sat Apr 26 13:51:29 2008
Database mounted in Exclusive Mode.
Completed: alter database mount exclusive
Sat Apr 26 13:51:29 2008
alter database open
Sat Apr 26 13:51:29 2008
Beginning crash recovery of 1 threads
attempting to start a parallel recovery with 2 processes
parallel recovery started with 2 processes
Sat Apr 26 13:51:30 2008
Started first pass scan
Sat Apr 26 13:51:30 2008
Completed first pass scan
2 redo blocks read, 3 data blocks need recovery
Sat Apr 26 13:51:30 2008
Started redo application at
Thread 1: logseq 199, block 6043, scn 0.0
Recovery of Online Redo Log: Thread 1 Group 3 Seq 199 Reading mem 0
Mem# 0 errs 0: D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL10G\REDO03.LOG
Sat Apr 26 13:51:30 2008
Completed redo application
Sat Apr 26 13:51:30 2008
Completed crash recovery at
Thread 1: logseq 199, block 6045, scn 0.1325285
3 data blocks read, 3 data blocks written, 2 redo blocks read
Sat Apr 26 13:51:31 2008
Thread 1 advanced to log sequence 200
Maximum redo generation record size = 120832 bytes
Maximum redo generation change vector size = 116476 bytes
Private_strands 7 at log switch
Thread 1 opened at log sequence 200
Current log# 1 seq# 200 mem# 0: D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL10G\REDO01.LOG
Successful open of redo thread 1
Sat Apr 26 13:51:31 2008
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Sat Apr 26 13:51:31 2008
SMON: enabling cache recovery
Sat Apr 26 13:51:32 2008
Successfully onlined Undo Tablespace 1.
Sat Apr 26 13:51:32 2008
SMON: enabling tx recovery
Sat Apr 26 13:51:32 2008
Database Characterset is WE8MSWIN1252
Sat Apr 26 13:51:32 2008
Published database character set on system events channel
Sat Apr 26 13:51:33 2008
All processes have switched to database character set
Sat Apr 26 13:51:35 2008
Starting background process QMNC
QMNC started with pid=15, OS id=2160
Sat Apr 26 13:51:37 2008
replication_dependency_tracking turned off (no async multimaster replication found)
Sat Apr 26 13:51:38 2008
Starting background process MMON
Starting background process MMNL
MMON started with pid=16, OS id=3952
MMNL started with pid=17, OS id=3960
Sat Apr 26 13:51:39 2008
Completed: alter database open
Sat Apr 26 13:51:43 2008
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup. -
Weird - can connect to both instances - but not to main SID
As a newbie to RAC I got stuck...
after installation of grid, db SW and a sample DB "QRC" with dbca I can connect to both instances QRC1 and QRC2,
but not to QRC - here sqlplus tells me "connected to an idle instance"
What did I mix up??
rac11a ~ RDBMS > srvctl start database -d QRC -o open
PRCR-1004 : Resource ora.qrc.db is already running
rac11a ~ RDBMS >
[root@rac11a ~]# crsctl status res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.LISTENER.lsnr
ONLINE ONLINE rac11a
ONLINE ONLINE rac11b
ora.asm
OFFLINE OFFLINE rac11a
OFFLINE OFFLINE rac11b
ora.eons
ONLINE ONLINE rac11a
ONLINE ONLINE rac11b
ora.gsd
OFFLINE OFFLINE rac11a
OFFLINE OFFLINE rac11b
ora.net1.network
ONLINE ONLINE rac11a
ONLINE ONLINE rac11b
ora.ons
ONLINE ONLINE rac11a
ONLINE ONLINE rac11b
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac11b
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE rac11a
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE rac11a
ora.oc4j
1 OFFLINE OFFLINE
ora.qrc.db
1 ONLINE ONLINE rac11a Open
2 ONLINE ONLINE rac11b Open
ora.rac11a.vip
1 ONLINE ONLINE rac11a
ora.rac11b.vip
1 ONLINE ONLINE rac11b
ora.scan1.vip
1 ONLINE ONLINE rac11b
ora.scan2.vip
1 ONLINE ONLINE rac11a
ora.scan3.vip
1 ONLINE ONLINE rac11a
[root@rac11a ~]#
rac11a ~ RDBMS > tnsping qrc
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2012 09:20:54
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = qrcscan.ddnett.de)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = QRC.ditanett)))
OK (40 msec)
rac11a ~ RDBMS > env | grep ORA
dbms_type=ORA
ORACLE_SID=QRC
ORACLE_BASE=/oracle/QRC
ORACLE_HOME=/oracle/QRC/11202
rac11a ~ RDBMS >
rac11a ~ RDBMS > sqlplus " / as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 2 09:21:04 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL>
rac11a ~ RDBMS > lsnrctl status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 02-FEB-2012 08:23:25
Uptime 0 days 1 hr. 16 min. 21 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/LOCAL/GRID/11202/network/admin/listener.ora
Listener Log File /oracle/LOCAL/BASE/diag/tnslsnr/rac11a/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.141)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.241)(PORT=1521)))
Services Summary...
Service "QRC.ditanett" has 1 instance(s).
Instance "QRC1", status READY, has 1 handler(s) for this service...
Service "QRCXDB.ditanett" has 1 instance(s).
Instance "QRC1", status READY, has 1 handler(s) for this service...
The command completed successfully
rac11a ~ RDBMS >
rac11b ~ RDBMS > lsnrctl status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 02-FEB-2012 08:24:02
Uptime 0 days 1 hr. 17 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/LOCAL/GRID/11202/network/admin/listener.ora
Listener Log File /oracle/LOCAL/BASE/diag/tnslsnr/rac11b/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.142)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.242)(PORT=1521)))
Services Summary...
Service "QRC.ditanett" has 1 instance(s).
Instance "QRC2", status READY, has 1 handler(s) for this service...
Service "QRCXDB.ditanett" has 1 instance(s).
Instance "QRC2", status READY, has 1 handler(s) for this service...
The command completed successfully
rac11b ~ RDBMS >Hi,
after installation of grid, db SW and a sample DB "QRC" with dbca I can connect to both instances QRC1 and QRC2,
rac11a $ env | grep ORA
dbms_type=ORA
ORACLE_SID=QRC
ORACLE_BASE=/oracle/QRC
ORACLE_HOME=/oracle/QRC/11202
rac11a ~ RDBMS >
rac11a $ sqlplus " / as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 2 09:21:04 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL>
The Oracle System ID (SID) is used to uniquely identify a particular database on a system. For this reason, one cannot have more than one database with the same SID on a host.
When using RAC, all instances belonging to the same database must have unique SID's even using different hosts.
So, you must set ORACLE_SID to QRC1 where Instance 1 is running or QRC2 where Instance 2 is running.
To know where instance number is running you can get this info following steps below:
$GRID_HOME/bin/olsnodes -n
lnxora01 1
lnxora02 2In example above all instance created by DBCA on lnxora01 will have prefix 1 (e.g db QRC will have QRC1) and on lnxora02 will have prefix 2. (it's not a rule, because I can set manually the number of instance as I wish)
Or exists another way to find it: (on local node)
ps -ef |grep pmon
ora_pmon_QRC1 So, to connect just set right ORACLE_SID
eg:
export ORACLE_SID=QRC1
sqlplus / as sysdbaRegards,
Levi Pereira -
Hi Experts,
I would like to know the best storage configuration for redologs. My OS is RHEL 6.3 and database release is 11.2.0.4 2-node RAC.
1. Is it good and recommended practice to place the redologs on ASM?
or
2. RAID 10 is the best for redologs in terms of performance?
Thanks, SuveshPerformance generally depends on your configuration, for instance, how many devices are involved during a read and write operation.
Other factors that have a great influence are data caching. If your RAID 10 configuration provides better caching or striping performance than ASM, you could configure ASM disk groups with external redundancy comprising of devices using a hardware RAID solution for best performance. I would however not recommend or split a database between using ASM for some and a regular filesystem using a RAID configuration for other database files.
Performance depends on your hardware and setup, which is unknown and therefore your question cannot be answered. However, since ASM is the recommended solution anyway for all database files, I would consider RAID an optional solution that can add performance on top of your ASM configuration. -
11g on Win2k8R2 - ORA-12560 - Database up but not reachable
Hello,
i've got a serious issue with a production database which affects about 500 users. I already created a SR but by now i got no answer and i thought maybe someone here got an idea.
What i did:
- Installed Windows Updates via WSUS Offline
- Rebooted the machine
What works:
- Database can be opened without a problem via sqlplus or "oradim -startup -sid xxx"
- "tnsping xxx" works
- listener can be started via "lsnrctl start" and shows a handler for xxx
What does not work:
- listener can NOT alternativel be started via "srvctl start listener" (PRCR-1079: Ressource ora.LISTENER.lsnr could not be started, CRS-5016, CRS-2674
- database is not reachable via sql developer - not from my work client and not locally from the server itself
- enterprise manager is extremely slow and gets timeouts (i can't login) when the database is open, when i shutdown the db em is really fast
- alertlog is full of "Fatal NI connect error 12560 [...] opiodr aborting proccess unknown ospid (6696) as a result of ORA-609)
What i tried to resolve the issue:
- Uninstalled all Windows Updates which i installed -> no effect
- rebooted the machine -> no effect
- tried to start listener before the database or database before listener -> no effect
- checked local_listener parameter which is automatically set by system when starting the database, also set by myself -> no effect
- disabled windows firewall and antivirus -> no effect
The thing is, that i just rebooted the machine and the database is perfectly up but not reachable. I really don't know if it's a good idea to change tns files etc. because it worked before the reboot.
Anyone got an idea?
Thank you very much!which OS user owns the grid software?
which OS user owns the asm software?
which OS user owns the Oracle DB software?
Do you mean the windows service? I installed the database and grid software with the user oracle (with administrator privileges).
The services are all owned by "local system", besides OracleOraCrs11g_home1TNSListener and OracleServiceSID (they are owned by ./oracle)
which %ORACLE_HOME% is being used to start the listener?
ORACLE_HOME=C:\app\oracle\product\11.2.0\grid
what does %PATH% contain when invoking lsnrctl & similar utilities?
Path=c:\app\oracle\product\11.2.0\dbname_1\bin;C:\app\oracle\product\11.2.0\grid\bin;[other windows paths]
which OS user is logged onto the DB trying to start the listener & such?
user "oracle" with administrative privileges, i used a command line started as administrator -
SPARC:
installed 11g clusterware using crs user, oinstall and dba group,
then install 11g ASM using oracle user, but it does not show RAC option.
ASM install not RAC aware if not use same user?
Thanks.I'm not sure if you're talking about creating an ASM instance? The ASM software install is the same as the Database install. Oracle recommends running ASM from a separate Home which would require a separate Oracle database install.
-
How to check where DB uses ASM or not.
I do not know customer Oracle DB environment well.
Customer uses oracle 11g on win2008R2 and OEM is not installed.
How could I know whether that DB uses ASM or not ?Hi
Thanks for reply.
There is no record in rpd in cache manger.
But I run the report(my cache is enable)
still I have no record in my cache.
so how i know..
1. my cache having the data.
2. Query is going to cache/db
3. cache is purged. -
Hi all!
I know that ASM is a mature product, features rich and much appreciated by DBAs.
I understand that for best throughput, one would be better to use ASM...
(I also understant that raw device mapping is the best configuration for performance - BUT I definitely would not recommend using RDM for the management complexity it adds..).
It does NOT seems simple to implement ASM here because of responsabilities (sysadmins vs dba).
So my question are (not RAC related):
1- Does anybody actually measured the difference in performance (between using ASM and NOT using ASM, i.e. using O/S filesystem)?
2- I know it is adviced as a best practices (for best throughput) to separate online redo logs and data files - but is realy that bad NOT to do it?
Otherwise said, how detrimental is it to merge logs with datafiles.
Any thoughts/references are welcome...
JocelynHi ,
ASM has few more additional feature which make it better than rest and available in 12C,
+ Priority rebalance --->> Now ASM will do rebalance depending on file type ,rather file number
+ Failgroup_repair_time -->> Similar to disk_repair_time ,it is failgroup
+ In true sense,disk online replace without impacting normal operation -->> Disk get replace on same slot of that diskgroup ,not on n+1th slot
+ Even read -->> Read will happen from any allocation
+ backing up additional blocks at ASM level. -->> backing up more asm metadata blocks of each disk which is in use in ASM within that disk.
+ scrubbing --->> Automatically detects logical corruption and try to fix it depending of few things at ASM level.
Even with same characteristics disks ,under different disk controller ,with stripping will have better performance comparing filesystem.
though ,it is not an apple to apple comparison.
With Priority rebalance ,your online redo logfile will be rebalance earlier that datafiles and availability will be faster .
--- These make ASM a better choice ..
Regards,
Aritra -
Can you check for data in one table or another but not both in one query?
I have a situation where I need to link two tables together but the data may be in another (archive) table or different records are in both but I want the latest record from either table:
ACCOUNT
AccountID Name
123 John Doe
124 Jane Donaldson
125 Harold Douglas
MARKETER_ACCOUNT
Key AccountID Marketer StartDate EndDate
1001 123 10526 8/3/2008 9/27/2009
1017 123 10987 9/28/2009 12/31/4712 (high date ~ which means currently with this marketer)
1023 124 10541 12/03/2010 12/31/4712
ARCHIVE
Key AccountID Marketer StartDate EndDate
1015 124 10526 8/3/2008 12/02/2010
1033 125 10987 01/01/2011 01/31/2012
So my query needs to return the following:
123 John Doe 10526 8/3/2008 9/27/2009
124 Jane Donaldson 10541 12/03/2010 12/31/4712 (this is the later of the two records for this account between archive and marketer_account tables)
125 Harold Douglas 10987 01/01/2011 01/31/2012 (he is only in archive, so get this record)
I'm unsure how to proceed in one query. Note that I am reading in possibly multiple accounts at a time and returning a collection back to .net
open CURSOR_ACCT
select AccountID
from
ACCOUNT A,
MARKETER_ACCOUNT M,
ARCHIVE R
where A.AccountID = nvl((select max(M.EndDate) from Marketer_account M2
where M2.AccountID = A.AccountID),
(select max(R.EndDate) from Archive R2
where R2.AccountID = A.AccountID)
and upper(A.Name) like parameter || '%'
<can you do a NVL like this? probably not... I want to be able to get the MAX record for that account off the MarketerACcount table OR the max record for that account off the Archive table, but not both>
(parameter could be "DO", so I return all names starting with DO...)if I understand your description I would assume that for John Dow we would expect the second row from marketer_account ("high date ~ which means currently with this marketer"). Here is a solution with analytic functions:
drop table account;
drop table marketer_account;
drop table marketer_account_archive;
create table account (
id number
, name varchar2(20)
insert into account values (123, 'John Doe');
insert into account values (124, 'Jane Donaldson');
insert into account values (125, 'Harold Douglas');
create table marketer_account (
key number
, AccountId number
, MktKey number
, FromDt date
, ToDate date
insert into marketer_account values (1001, 123, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('27.09.2009', 'dd.mm.yyyy'));
insert into marketer_account values (1017, 123, 10987, to_date('28.09.2009', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
insert into marketer_account values (1023, 124, 10541, to_date('03.12.2010', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
create table marketer_account_archive (
key number
, AccountId number
, MktKey number
, FromDt date
, ToDate date
insert into marketer_account_archive values (1015, 124, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('02.12.2010', 'dd.mm.yyyy'));
insert into marketer_account_archive values (1033, 125, 10987, to_date('01.01.2011', 'dd.mm.yyyy'), to_date('31.01.2012', 'dd.mm.yyyy'));
select key, AccountId, MktKey, FromDt, ToDate
, max(FromDt) over(partition by AccountId) max_FromDt
from marketer_account
union all
select key, AccountId, MktKey, FromDt, ToDate
, max(FromDt) over(partition by AccountId) max_FromDt
from marketer_account_archive;
with
basedata as (
select key, AccountId, MktKey, FromDt, ToDate
from marketer_account
union all
select key, AccountId, MktKey, FromDt, ToDate
from marketer_account_archive
basedata_with_max_intervals as (
select key, AccountId, MktKey, FromDt, ToDate
, row_number() over(partition by AccountId order by FromDt desc) FromDt_Rank
from basedata
filtered_basedata as (
select key, AccountId, MktKey, FromDt, ToDate from basedata_with_max_intervals where FromDt_Rank = 1
select a.id
, a.name
, b.MktKey
, b.FromDt
, b.ToDate
from account a
join filtered_basedata b
on (a.id = b.AccountId)
ID NAME MKTKEY FROMDT TODATE
123 John Doe 10987 28.09.2009 31.12.4712
124 Jane Donaldson 10541 03.12.2010 31.12.4712
125 Harold Douglas 10987 01.01.2011 31.01.2012
If your tables are big it could be necessary to do the filtering (according to your condition) in an early step (the first CTE).
Regards
Martin -
I have an itunes account and an ipod, and when I purchased 2 albums on the computer they synced straight to the ipod. I bought an iphone and used the usb cord from the computer to it to sync the itunes albums to the new phone. Everything transfered, and those were albums I had uploaded (not purchased from the itunes store), except the two albmus I just purchased from the itunes store. They appear on my itunes on the computer and ipod, but not on the iphone. What did I fail to do or did I do incorrectly?
This might sound weird, but here's an idea which worked for me re music that was newly added to itunes and showed up in my ipod but wouldn't play - I simply played the tracks in itunes first, just a second of time or so will do it, not the whole track, then connect the ipod and sync again and this time they played - hope this helps.
-
Sharepoint Foundation - search working for some users (or computers), but not others
Hi all,
We have doozy of a search problem with SharePoint Foundation 2010 that I'm hoping someone can help with.
We have an application that is listening on port 14197 and search is working just fine, but only for one or two users.
If I do a search while logged in using the account we set the application up with then the search works fine and it returns records as expected.
If I use a different account - one that has full control over the app, then the exact same search fails with the following message:
We did not find any results for 06BSL.
Suggestions:
Ensure words are spelled correctly.
Try using synonyms or related searches.
Try broadening your search by searching from a different site.
Additional resources:
Get additional search tips by visiting Search Help
If you cannot find a page that you know exists, contact your administrator.
We've done everything we can think of, including several procedures to create new search accounts, replace databases, etc.
Nothing has helped and all of the info we can find online is in relation to getting search working when it doesn't work at all. In our case it is working, but only for some users. We thought it might have been a permissions issue, but not matter
what permissions we seem to give to test accounts they still don't work. We've set up a test account, for example, that is a member of the 'application owners' group, but cannot produce any search results with it.
The SharePoint Foundation server is running on Windows 2008 Server Foundation, with a separate SBS 2003 DC.
Any help most appreciated.Hi Alex, thanks for your response and apologies about the late reply - didn't realise someone had responded until now!
Agreed that this looks like a permissions issue, but we're stumped as to what it could be. The 'test' account displays this problem - if we try and search on 06BSL
we get no results, but it does appear that this account has full control over this document (see below).
Note that the 'Manage Permissions' page presents a comment 'This list item inherits permissions from its parent. (Customer QA & Product Management)' which is what we're
expecting.
The indexing schedule is set to 5 minutes.
Appreciate your help with this, as we've spent a huge amount of time on this problem but don't seem to be any closer to a resolution.
Cheers,
Damian
Check permissions result (this result is the same for the list or for the document itself):
Permission levels given to test (DOMAIN\test)
Full Control
Given through the "QA Application Owners" group.
Design, Contribute, Read
Given through the "QA Application Members" group. -
Why does GarageBand audio work for guest user but not my account?
Hello, I have a 15-inch MacBook Pro (2.2 GHz Intel Core i7, 4GB 1333 MHz DDR3) from late 2011 that I bought brand new in 2012. I'm running OS X Mavericks 10.9.4 and my MacBook has 500 GB of storage.
About a month or two ago I tried to download the new GarageBand (10.0.2) but I had trouble completing the loops download. The download would stop halfway through because of a network error. So last week I decided to try to download it again, and I was able to do so after reading some discussions about the issue. I successfully completed the download in safety mode and then I restarted my MacBook. At this point I was able to open GarageBand 10.0.2 and create a new project. Unfortunately, there was no audio coming through the output and sound bar for the various audio components in GarageBand. I had no audio when previewing the loops or playing it back in an audio track. I didn't really test anything else out because I figured I needed to fix this problem first. I have read many discussion boards about audio problems with GarageBand. I have already made sure everything is set properly in the GarageBand preferences and the audio preferences in system preferences. I've tried restarting GarageBand and restarting the computer.
This evening I found a discussion from the username icewhatice and they seemed to have had my exact problem. I'm not sure that I found the answer on this discussion though. For reference, this is what icewhatice posted: "I have no audio coming from Garageband 10.0.2. Downloaded it on Saturday and have spent the last two days trying to figure out why it won't work. I'm using a macbook pro with an Alesis QX49. GB registers keyboard when I plug it in but no sound whatsoever, not even from the onscreen keyboard. It seems to read the keyboard as if I play a C chord, it appears in the display. I've done all the obvious stuff like check preferences, restart, I've deleted and downloaded new GB several times and always with same result. Actually, it took me about four attempts to download it in the first place as I was getting an internet connection error message right at the end of the download, and I see others have had that problem. Managed to solve that by downloading in safe mode but now the no sound thing is driving me absolutely crazy because I can't play my keyboard!!!!! Also, worth noting that there is no audio level being read anywhere, I believe in the new version this appears in the volume control at the top. I've also looked into it potentially being a problem with my keyboard and it possibly needing an update but can't find any difinitive answer for that anywhere. I've stopped looking into that because the on screen keyboard doesn't even work - if that worked then I would know at least GB works and it's something to do with the keyboard. So, I am at a complete loss. If anyone has any ideas about why this is happening or what I could do to solve then I would be very grateful."
After reading this, I realized that I am unable to create new tracks, and I realized that I have the same problems with old projects saved from the last version of GarageBand I had. I have not tried to download GarageBand again since it did not work for icewhatice. léonie ended this post by saying: "Something is certainly wrong - either the current project, some settings in your user account, or the downloaded GarageBand version. Or incompatible software may be interfering. If a new project does not work, try to test by logging into a different user account, for example the "Guest User" account. Create a new project using this account. Does GarageBand work better from this account? Then we will need to troubleshoot your preferences."
I have tried this and started a new GarageBand project in the "Guest User" account. GarageBand was working fine in the "Guest User" account and all of the audio was working properly. Does anyone know how I should troubleshoot my preferences?If an application is working in a different account, but not in your regular account,try t find out, what you configured differently in your own account, for example start-up items or preference panes you are using, applications and other helper tools, that are only installed for your regular account. As a first guess, remove GarageBands preference files from the user library in your Home folder.
But you will have to reset all settings you did in the GarageBand preferences dialog. And GarageBand will not remember the last project. You'll have to find the file manually.
Remove these files from your User Library to a folder on your Desktop:
~/Library/Containers/com.apple.garageband10/
~/Library/Preferences/com.apple.garageband.plist
~/Library/Caches/garageband
Quit GarageBand, then remove the files to a folder on the Desktop and restart the computer, before trying again to open GarageBand.
You user library may still be hidden, as is the default in Mavericks: To open your hidden user library:
Select the "Home" folder icon (the little house) in the Finder's sidebar and press the key combination ⌘J to open the "view options".
Enable "Show Library Folder".
Then open the Home folder and open the Library folder inside and navigate to the Preferences, Caches, or Containers folder. Remove these folders completely - don't leave anything inside: ~/Library/Containers/com.apple.garageband10/,
~/Library/Caches/garageband .
Maybe you are looking for
-
Can we edit Gross Price field in Sales Order
Hi experts, According Help document (help - under Sales A/R/Sales Order-Sales document content tab ) as follows, userwe should be able to edit gross price field in Sales order Enter in this field the unit price including tax. SAP Business One calcula
-
Help! CS3 has stopped working
I get an error message from windows vista premiumm home. It just says: Adobe Photoshop CS3 has stopped working correctly. Windows will close the program and notify you if a solution is available. The only option is a box that says "close program". On
-
what is the easiest way to make a dvd from a vhs tape movie that I copied to my mini dv camcorder? the movie is about two hours long. I did not do a continuous copy, but paused every 10 minutes so I could get clips. I know this is a lot of work. Can
-
NetMsmqActivator and NetPipeActivator Services
Hi fellow Server Managers I have searched for endless hours about this, and all i find is developer related articles. The two services mentioned in the subject has stopped, and when i try to start them manually, Visual Studio wants to debug them. I a
-
2 computers, 1 express? or is it just me??
i have an airport express hooked up to my cable modem to wirelessly connect to internet/itunes. this has worked fine with my ibook... however, now i am trying to add a desktop running windows xp to this. on the windows machine, with the help of a tut