Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Asm DBA Stuff

Asm DBA Stuff

Ratings: (0)|Views: 7 |Likes:
Published by dbareddy
ASM
ASM

More info:

Categories:Types, Reviews
Published by: dbareddy on Jun 04, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

08/10/2014

pdf

text

original

 
T3 is an optimized protocol used to transport data between WebLogic Server and other Java programs,including clients and other WebLogic Servers. WebLogic Serverkeeps track of every Java VirtualMachine (JVM) with which it connects, and creates a single T3 connection to carry all traffic for a JVM.For example, if a Java client accesses an enterprise bean and a JDBC connectionpool on WebLogic Server, a single network connection is established betweenthe WebLogic Server JVM and the client JVM.Oracle Support NOTE 1465038.1,
Calculating Usable Space in Exadata Cell
[grid@dodpdb04 ~]$ asmcmd -p (shows present working directory)ASMCMD [+] > lsdgState Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free _MB Usable_file_MB Offline_disks Voting_files NameMOUNTED NORMAL N 512 4096 4194304 36384768 15924908 3307706 6308601 0 N DATA_DODP/MOUNTED NORMAL N 512 4096 4194304 2087680 303648 257400 23124 0 Y DBFS_DG/MOUNTED NORMAL N 512 4096 4194304 9090816 6850084 826437 3011823 0 N RECO_DODP/ASMCMD [+] > du DATA_DODP/Used_MB Mirror_used_MB10228996 20458476So the disk redundancy is normal... in DATA_DODP[grid@dodpdb04 ~]$ echo "36384768-20458476" |bc15926292which is pretty close with Free_MBThe free MB divided by 2 (normal redundancy)[grid@dodpdb04 ~]$ echo "15926292/2"|bc7963146which close to Usable_file_MB , the space available new files[grid@dodpdb04 ~]$ asmcmd du DATA_DODP/ ( asm commands non-interactive mode)Used_MB Mirror_used_MB10228996 20458476ASMCMD is very slow. How can I speed it up?The asmcmd utility appears to be very slow. This slowness is a result of queriesagainst the v$asm_diskgroup view. To solve this problem edit the $ORACLE_HOME/bin/asmcmdcore script and change all v$asm_diskgroup references to v$asm_diskgroup_stat.V$asm_diskgroup and v$asm_diskgroup_stat provides exactly the same information,but the %_stat view operates from cache, while v$asm_diskgroup rescans all diskheaders. This method is also used by Oracle in their Enterprise Manager product.What is SYSASM role?Starting from Oracle 11g, SYSASM role can be used to administer the ASM instances. You can continue using SYSDBA role to connect to ASM but it will generate following warning messages at time of startup/shutdown, create Diskgroup/add disk,
 
etcAlert entryWARNING: Deprecated privilege SYSDBA for command 'STARTUP'How can we copy the files from/to ASM?You can use RMAN or DBMS_FILE_TRANSFER.COPY_FILE procedure to copy the files to/from ASM from/to Filesystem.Same size disk for Failuregroups in Normal/High redundancy will prevent issues like ORA-15041 as the file extents needs to be mirrored across the disksI have created Oracle database using DBCA and having a different home for ASM and Oracle Database. I see that listener is running from ASM_HOME. Is it correct?This is fine. When using different home for ASM, you need to run the listener from ASM_HOME instead of ORACLE_HOME.How does one create a database directly on ASM?The trick is to create an SPFILE and restart the instance before issuing the CREATE DATABASE statement:Code:STARTUP NOMOUNT PFILE=initorcl_0.oraCREATE SPFILE FROM pfile='initorcl_0.ora';SHUTDOWN IMMEDIATESTARTUP NOMOUNTPoint all OMF files into ASM:Code:ALTER SYSTEM SET db_create_file_dest = '+DATA';ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_SIZE = 134G;ALTER SYSTEM SET db_recovery_file_dest = '+RECOVER';Issue the create database command:Code:CREATE DATABASE orclUNDO TABLESPACE undotsDEFAULT TEMPORARY TABLESPACE tempcharacter set "WE8ISO8859P1"national character set "AL16UTF16";ASM Instance not recognized by DBCA ,why?I had the same error and the way I fixed is by changing TNS_ADMIN value in .bash _profile.Old ValueTNS_ADMIN=$ORACLE_HOME/network/adminNew ValueTNS_ADMIN=$ASM_HOME/network/adminMy ORACLE_HOME=/d01/app/oracle/product/10.2.0/db_1
 
My ASM_HOME=/d01/app/oracle/product/10.2.0/*asm*Once this is done, I re-executed my .bash_profile and started dbca and the errorwent away.Also, after you create your databse, you might have to set your TNS_ADMIN env insrvctl to start database . Wrong TNS_ADMIN setting might cause the following errors during the start of database using srvctl but not sqlplus.$ srvctl start database -d ProdDbPRKP-1001 : Error starting instance ProdDb on node node1CRS-0215: Could not start resource 'ora.ProdDb.ProdDb1.inst'.PRKP-1001 : Error starting instance ProdDb2 on node node2CRS-0215: Could not start resource 'ora.ProdDb.ProdDb2.inst'.For example:srvctl setenv database -d ProdDb -T TNS_ADMIN='/d01/app/oracle/product/10.2.0/asm/network/admin'Which shows you that all you need is an +ASM entry in the tnsnames.ora file under /d01/app/oracle/product/10.2.0/db_1/network/admin.Bigfile vs standard db filesThe performance of database opens, checkpoints, and DBWR processes should improve if data is stored in bigfile tablespaces instead of traditional tablespaces. However, increasing the datafile size might increase the time to restore a corrupted file or create a new datafile.in oracle 11g release 2, instances register with SCAN listeners only as remote listeners. In your case it should beREMOTE_LISTENER=<scan-name>:<port>That is the purpose of REMOTE_LISTENERExplaination about each parameter in Data Guard1.LOG_ARCHIVE_CONFIG ={[ SEND | NOSEND ][ RECEIVE | NORECEIVE ][ DG_CONFIG=(remote_db_unique_name1 [, ... remote_db_unique_name9) | NODG_CONFIG ] SEND -log filesRECEIVE =log filedatabase that are part of data guard configuration2.Do not use the default value, VALID_FOR=(ALL LOGFILES, ALL_ROLES), for logical standby databases.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->