Oracle ASM slower?

I setup two databases on the same server one configured to use Oracle ASM and the other just sitting on top of an LVM2 volume using the same set of disks. They are both configured exactly the same, but on the ASM database it takes 7 minutes to run a simple count on a large table and 2 minutes on the other. I noticed that when running the query on the ASM db the CPU usage stays very low, but on the other it goes to 100%. Is there some sort of tuning I need to do on the ASM side?

Am using ASM extensively.. and no, it is not slower. If it seems to be, you need to pop the hood, inspect the setup and configuration and implementation - as it is likely flawed.
On Linux, if you want to use ASM properly, then assign block devices directly to ASM. Do not put LVMs and cooked file systems and other software layers in between.
From a Linux perspective: the only software layer that, IMO, can be below ASM is multipath. And if you're not using HBAs and external storage, or srp devices and Infiniband storage, then multipath is not needed and ASM should deal directly with the disks as block devices.

Similar Messages

  • Oracle ASM Configuration on Solaris Cluster - Oracle 11.2.0.3

    Hi,
    I want some clarifications!
    I need to set Active and Passive Cluster settup on Solaris 10 SPARC Operating System, the HA software is Solaris Cluster and Oracle 11.2.0.3.
    1) I understand "Single instance Oracle ASM is not supported with Oracle 11g release 2" so we need to go for Clustered ASM - is it required to use RAC framework in this case?
    2) When i use the RAC framework, do i need to have license for RAC?
    Am new to Oracle, any help is appreciated.
    Regards,
    Shashank

    Hi,
    I want some clarifications!
    I need to set Active and Passive Cluster settup on Solaris 10 SPARC Operating System, the HA software is Solaris Cluster and Oracle 11.2.0.3.
    1) I understand "Single instance Oracle ASM is not supported with Oracle 11g release 2" so we need to go for Clustered ASM - is it required to use RAC framework in this case?
    2) When i use the RAC framework, do i need to have license for RAC?
    Am new to Oracle, any help is appreciated.
    Regards,
    Shashank

  • Oracle ASM  installation in Solaris Cluster

    hello Experts,
    Could someone please tell me how to install Oracle ASM in Solaris Cluster and how to integrate it into the cluster resources.
    Details,
    2 Nodes (Pri & Sec) solaris 10 SPARC 64 bit OS
    solaris cluster 3.3 u5/11
    Thanks & Regards

    hi,
    pls take a look at tihs doc
    http://docs.oracle.com/cd/E18728_01/html/821-2678/gjcwv.html
    regards,

  • ORACLE ASM OR ZFS IN SOLARIS 11

    ORACLE DBA EXPERTS
    What kind of storage technology is recommended in order to implement an Oracle 11gr2 database in a Solaris 11 OS?
    -Oracle ASM or the Solaris 11 ZFS filesystem.
    Its any difference between the performance of both storage technologies?
    Thanks for answer my questions and i wish to yours a very "Happy Hollydays".
    Sincerely,
    JOHN JAIRO GOMEZ LAVERDE

    From what I understand Oracle recommends ASM. You cannot directly compare ASM with ZFS. ASM is a storage solution providing data management, availability and redundancy specific to Oracle. ZFS is an advanced file system. Whether you choose one over the other will depend on your storage requirements and knowledge.

  • Strange issue in Oracle ASM on Two node RAC where in one ASM node shows all diskgroup while other node shows  missing node.

    We have Oracle datbase 11gR1 in RAC node with Oracle ASM.Recently our database server got crashed and we are trying to restore back services.
    Using Snapshot technologyBusiness copy we had synced all our disk on storage level. Post this when we are trying to start ASM instance on node 1 it is coming and showing all diskgroups but on other node it is throwing errot with missing e diskgroup.
    ORA-15032: not all alterations performed
    ORA-15040: diskgroup is incomplete
    ORA-15042: ASM disk "5" is missing
    Expert please share your views.
    Thanks,
    Tushar

    The I/O fabric layer on the other node failed to mount all storage LUNs - resulting in ASM being unable to mount a diskgroup as there are missing disks in that group.
    Rebooting is exactly what could be needed to reset the h/w and infrastructure used by that node, in order for it to see all the storage disks again. As node 1 sees all storage disks (and is working), the disk itself on the storage system is intact and usable.
    What is the o/s? What is the fabric layer? What is used on o/s for dealing with the I/O fabric layer?

  • Oracle ASM disk group

    Hi,
    Having a multiple Oracle ASM disk group is more beneficial for Oracle database? if no why? if yes why?
    Any metalink note if have.
    thanks

    Any metalink note do you refer?What is your database version?
    Please see these docs.
    11g ASM New Feature [ID 429098.1]
    ASM 11g New Features - How ASM Disk Resync Works. [ID 466326.1]
    Thanks,
    Hussein

  • How to Install Oracle ASM 11gR2 In Oracle Linux 6.5

    Hi
    I want to install oracle ASM in oracle linux 6.5 .
    Can any one helps me to find a paper with above subject?
    Thanks

    Theses steps only if You want to use ISCSI. This is fine to get the howto:
    If You ar running in VM Ware Boxes:
    Add the following to the *.vmx file for the virtual machine:
    disk.EnableUUID = "TRUE"
    Restart the vm machine and the /dev/disk/by-id/scsi**** should be visible.
    That's a nasty one - without this ISCSI just doesn't work
    chkconfig iscsi on
    iscsiadm -m discovery -t st -p 192.168.146.100
    iscsiadm -m node -T iqn.1991-05.com.microsoft:iscsi-asm-target   -p 192.168.146.100 -l
    192.168.146.100 <=== IP Number of ISCSI Host
    iqn.1991-05.com.microsoft:iscsi-asm-target <== Name of ISCSI Server, you get this as output from discovery command
    Now, you must make sure that the devices belong to oracle.
    Take a look at this link:
    http://www.oracle-base.com/articles/linux/udev-scsi-rules-configuration-in-oracle-linux-5-and-6.php#make_scsi_devices_trusted
    Add the following to the "/etc/scsi_id.config" file to configure SCSI devices as trusted. Create the file if it doesn't already exist.
    options=-g
    /sbin/scsi_id -g -u -s /block/sdc <== for all ISCSI devives
    vi /etc/udev/rules.d/99-oracle-asmdevices.rules
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1a9a1ce9b75e35f63", NAME="asm1-disk1", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18af9aa132d316eca", NAME="asm1-disk2", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b5bd65a6089784ae", NAME="asm1-disk3", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b0098f974c463139", NAME="asm1-disk4", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18b94be6b8e64ae1a", NAME="asm2-disk1", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1ba97827387889d2f", NAME="asm2-disk2", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c19344e120143d71a6", NAME="asm2-disk3", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b088599c1a9a0a7f", NAME="asm2-disk4", OWNER="asm", GROUP="dba", MODE="0660"
    RESULT=="360003fff419213c1b088599c1a9a0a7f" <=== That is returned by /sbin/scsi_id -g -u -s
    Reload:
    /sbin/udevcontrol reload_rules
    /sbin/start_udev
    Now you have your devices read, belonging to oracle:
    ls -al /dev/asm*
    Next go to oracle download click on list all and get:
    Oracle Grid Infrastructure 11g Release 2 (11.2.0.1.0) for Linux x86-64
    After extracting this you are ready to go.
    When starting the install process you get an option to "change path", here select /dev.
    In my test systems I use to set "external" for dataprotection.
    Regards
    Christian

  • Configuring Oracle ASM 11gR2 to use ASMM

    Hello,
    Kernel hugepages under Oracle Linux is incompatible with Oracle AMM. The Oracle ASM instance under 11g uses AMM by default. So in order to configure Oracle ASM to use ASMM, what are the recommended settings please?
    I reviewed http://docs.oracle.com/cd/E18283_01/server.112/e16102/asminst.htm#CHDBBIBF which outlines some information about various pool size parameters required for ASMM, depending on the size of the datafiles that will used.
    But what about typical ASMM parametes like sga_target and pga_aggregate_target, or are these not used in an ASM instance?
    How have you configred ASMM for Oracle ASM 11gR2?
    Thanks!

    The minimum MEMORY_TARGET requirment for Oracle ASM is 256 MB. which we have set in ASM.
    But what about typical ASMM parametes like sga_target and pga_aggregate_target, or are these not used in an ASM instance? yes ,they will be used ,below snap from aix 6.1 OS
    SQL> sho parameter memory
    NAME                                 TYPE        VALUE
    memory_max_target                    big integer 272M
    memory_target                        big integer 272M
    SQL> r
      1* select * from V$MEMORY_DYNAMIC_COMPONENTS
    COMPONENT                         CURRENT_SIZE   MIN_SIZE   MAX_SIZE USER_SPECIFIED_SIZE OPER_COUNT LAST_OPER_TYP LAST_OPER LAST_OPER GRANULE_SIZE
    shared pool                          201326592  201326592  201326592                   0          0 STATIC                                 4194304
    large pool                            20971520   12582912   20971520            12582912          2 GROW          IMMEDIATE 04-JUN-12      4194304
    java pool                                    0          0          0                   0          0 STATIC                                 4194304
    streams pool                                 0          0          0                   0          0 STATIC                                 4194304
    SGA Target                           264241152  255852544  264241152                   0          2 GROW          IMMEDIATE 04-JUN-12      4194304
    DEFAULT buffer cache                         0          0          0                   0          0 STATIC                                 4194304
    KEEP buffer cache                            0          0          0                   0          0 STATIC                                 4194304
    RECYCLE buffer cache                         0          0          0                   0          0 STATIC                                 4194304
    DEFAULT 2K buffer cache                      0          0          0                   0          0 STATIC                                 4194304
    DEFAULT 4K buffer cache                      0          0          0                   0          0 STATIC                                 4194304
    DEFAULT 8K buffer cache                      0          0          0                   0          0 STATIC                                 4194304
    COMPONENT                         CURRENT_SIZE   MIN_SIZE   MAX_SIZE USER_SPECIFIED_SIZE OPER_COUNT LAST_OPER_TYP LAST_OPER LAST_OPER GRANULE_SIZE
    DEFAULT 16K buffer cache                     0          0          0                   0          0 STATIC                                 4194304
    DEFAULT 32K buffer cache                     0          0          0                   0          0 STATIC                                 4194304
    Shared IO Pool                               0          0          0                   0          0 STATIC                                 4194304
    PGA Target                            20971520   20971520   29360128                   0          2 SHRINK        IMMEDIATE 04-JUN-12      4194304
    ASM Buffer Cache                      25165824   25165824   25165824                   0          0 STATIC                                 4194304
    16 rows selected.Edited by: Kuljeet Pal Singh on Jun 27, 2012 6:59 PM

  • Need help in Oracle ASM

    Hello Experts,
    My name is Rohan and I'm working as Oracle DBA now I came accross the ASM and I want to learn it.
    I have basic knowledge of Oracle ASM and I have also configured/created an instance with the help of DBCA.
    Now for the better understandings I want to create the same with Command line.
    Will anybody please give me the proper tutorial for the same?????
    I am using oracle 11.2.0.3 on windows.
    Thanks in advance.

    Hello,
    Need your help again.
    I have successfully created the diskgroup and mounted
    please find the logs below:
    asmtool -list
    NTFS                             \Device\Harddisk0\Partition1              100M
    NTFS                             \Device\Harddisk0\Partition2            99900M
    NTFS                             \Device\Harddisk0\Partition3           376938M
    ORCLDISKDATA                     \Device\Harddisk1\Partition1             1022M
    ORCLDISKDATA1                    \Device\Harddisk2\Partition1             1022M
    C:\Windows\system32>sqlplus / as sysasm
    SQL> select DISK_NUMBER,path from v$asm_disk;
    DISK_NUMBER PATH
              1 \\.\ORCLDISKDATA
              0 \\.\ORCLDISKDATA1
    SQL> select NAME,STATE,TYPE,TOTAL_MB,FREE_MB from v$asm_diskgroup;
    NAME                           STATE       TYPE     TOTAL_MB    FREE_MB
    DATA                           MOUNTED     NORMAL       2044       1942
    Now I am connected to sysdba and firing the command to create database it's showing me the following error :
    create database testdb
    ERROR at line 1:
    ORA-15000: command disallowed by current instance type
    How to troubleshot this problem?
    PFB the create database script :
    create database rohan
      logfile   group 1 ('+DATA\disk1\redo1.log') size 10M,
                group 2 ('+DATA\disk1\redo2.log') size 10M,
                group 3 ('+DATA\disk1\redo3.log') size 10M
      character set          WE8ISO8859P1
      national character set utf8
      datafile '+DATA\disk1\system.dbf'
                size 50M
                autoextend on
                next 10M maxsize unlimited
                extent management local
      sysaux datafile '+DATA\disk1\sysaux.dbf'
                size 10M
                autoextend on
                next 10M
                maxsize unlimited
      undo tablespace undoTBS
                datafile '+DATA\disk1\undo.dbf'
                size 10M
      default temporary tablespace temp
                tempfile '+DATA\disk1\temp.dbf'
                size 10M;

  • Oracle ASM and iscsi?

    We are looking for a low cost solution for some qa databases and I am trying to find out if you can use iscsi storage for running multiple instances using Oracle ASM?
    Is this supported and is this a good idea?
    Thx.

    Such a configuration works,but neither supported nor recommended for production environments:
    http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html
    Werner

  • Oracle ASM rebalancing does change rowid??

    Hi, all.
    The db is 11.2.0.3 on a linux machine.
    I use ASM for storage management.
    When oracle ASM rebalancing occurs, does the rowid of rows change?
    In my production environment, some application modules depend on rowid of rows.
    Have a wonderful day.
    Best Regards.

    Hi
    When oracle ASM rebalancing occurs, does the rowid of rows change?No, the load balancing is doie by moving ASM allocation units i.e datafiles extents (synonymous to OS blocks) to other physical volumns within same diskgroup to make data spread across all volumes in a balanced way. It has nothing to do with rowids and you should not worry about it.
    Salman

  • Oracle ASM on RAID 5

    This is more of a planning side question. My company need to install oracle ASM 10G R2 with 10.2.3 patchset on a 32bit linux machine. I am comparatively new to this so doesn't have a thorough understanding.
    The hardware configuration I am going to have is 6 x 300GB 15K RPM SAS 3Gb/s Drives in a RAID5 to create a single logical drive. Is this a good configuration to install ASM? I can change the hardware configuration as per the requirement.
    I heard that ASM requires two logical drives. If so, do I need to make this into two logical drives? If I am making into 2 logical drives, I will loose 300G for parity drive and I must avoid that. Is there any other raid combination which is good for ASM?
    RAID5 provides the striping feature that takes care of contiguous data stored in different disks. Does ASM do the same thing? What additional benefits I will get from ASM? I have done some googling but I couldn't understand most of them. Can anybody help?

    Read this first :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/storeman.htm
    and then post if you have questions left .

  • Oracle ASM - Adding did devices

    So I am trying to follow the instructions found here: [http://wikis.sun.com/display/SunCluster/Oracle+ASM+With+Sun+Cluster+Support+for+Oracle+RAC|http://wikis.sun.com/display/SunCluster/Oracle+ASM+With+Sun+Cluster+Support+for+Oracle+RAC]
    When I perform the dd command, I am treated with the following output:
    bash-3.00# dd if=/dev/zero of=/dev/did/rdsk/d12s6 bs=1024k count=200
    dd: /dev/did/rdsk/d12s6: open: No such device or addressOracle cannot see these devices and utilize them for ASM. Any thoughts?

    I've tried a bunch of different formats.. The latest, is per the book "Oracle Storage Management: Under-the-hood & Practical Deployment Guide".
    partition> print
    Current partition table (unnamed):
    Total disk cylinders available: 32766 + 2 (reserved cylinders)
    Part      Tag    Flag     Cylinders         Size            Blocks
      0 unassigned    wm       0                0         (0/0/0)            0
      1 unassigned    wm       0                0         (0/0/0)            0
      2     backup    wu       0 - 32765       40.00GB    (32766/0/0) 83880960
      3 unassigned    wm       0 -     2        3.75MB    (3/0/0)         7680
      4 unassigned    wm       4 - 32765       39.99GB    (32762/0/0) 83870720
      5 unassigned    wm       0                0         (0/0/0)            0
      6 unassigned    wm       0                0         (0/0/0)            0
      7 unassigned    wm       0                0         (0/0/0)            0Still, no go... I am choosing the SMI option when labeling.

  • Oracle ASM on top of ZFS volumes

    What kind of overhead is involved if we configure Oracle ASM on top of ZFS volumes? Has anyone performed benchmarks using this scheme?

    I've not done it personally with DNFS but I have created a multitude of clusters with NetApp on their NFS file system without ever having an issue other than saving a lot of money.

  • Oracle ASM Disks Question

    Hi,
    We have two Linux hosts accessing EMC SAN LUNs and we have Oracle ASM Disks created on those devices. Both the Linux Hosts (server1/2)are in once Dell Blade Chassis1 and one of the Server we are planning to move to a different Dell Chassis(2) to have redundency in case of Chassis1 faliure. But if we move one server2 to Chassis2 the HBA WWN Number for the host on the new Dell Chassis2 will change ( WWNs are assigned by Chassis on Dell) and the server2 will loose all the SAN LUNs from EMC Array. I will have to rezone the new server WWNs to storage and pesent the same disks again and rescan the disks which will take couple of reboots. During this period EMC LUNs will not be visible to server2 and I would like to what will happen to ASM disks on the server2 and how to I accomlish this goal? Any detailed steps please? This is a production system with oracle 11g running.
    This is the output of emc powerpath devices (LUNs) which is same on both the hosts.
    [root@server2 ~]# powermt display dev=all | grep emc
    Pseudo name=emcpowerl
    Pseudo name=emcpowerj
    Pseudo name=emcpowerf
    Pseudo name=emcpowerk
    Pseudo name=emcpowerg
    Pseudo name=emcpowerh
    Pseudo name=emcpowerm
    Pseudo name=emcpoweri
    [root@server2 ~]#
    This are the ASM disks on both the hosts:
    [root@server2 ~]# oracleasm listdisks
    DATA01_F1
    DATA01_G1
    DATA01_H1
    DATA01_I1
    FRA01_L1
    LOG01_J1
    LOG01_K1
    [root@server2 ~]#
    Thanks in advance.

    808306 wrote:
    But if we move one server2 to Chassis2 the HBA WWN Number for the host on the new Dell Chassis2 will change ( WWNs are assigned by Chassis on Dell) and the server2 will loose all the SAN LUNs from EMC Array.This does not sound correct to me. WWNs are global - not local. If the WWN is foo123 on server1 for EMC LUN1, why would it not also be foo123 on server2 for EMC LUN1? When you move to server3 or install server3, why would EMC LUN1 not have a WWN of foo123 on server3?
    I will have to rezone the new server WWNs to storage and pesent the same disks again and rescan the disks which will take couple of reboots. Using Powerpath perhaps - using multipath, not. New devices (LUNs) can be made visible by the kernel my refreshing multipath - no reboot required. If existing LUNs are going to be changed - yes, a single reboot will be needed. But not multiple (unless you have a driver issue with stale connections not being reset on the storage server side).
    This is the output of emc powerpath devices (LUNs) which is same on both the hosts.We dropped Powerpath a long time ago. There were compatibility issues between it and AsmLib kernel drivers. Powerpath taints the Linux kernel and limits kernel upgrade flexibility. I refuse to run it on our new clusters. I use multipath instead - the very same s/w used by some of the largest clusters (with Pentabyte storage) in the world. The comfort factor using Open Source drivers (and certified for that kernel version) is significantly higher than installing 3rd party kernel driver binaries - and having to deal with a 2nd party when it comes to o/s and kernel support.

Maybe you are looking for

  • ITunes forgets media folder is on external hard drive

    Hi I have recently started using a Time Capsule with an external hard drive attached. I have moved my music and video to the external hard drive to free up space on my MacBook Pro hard drive. I have set up iTunes to play from the external hard drive

  • How can I revert to a previous version and stop firefox from automatically updating?

    I'd like to have the ability to deny an update, some kind of dialogue box. It just went to 9.0.1 with no approval whatsoever. The reason why is that FF main appeal is the range of extensions, having over half of them non-functional because developers

  • Connecting Ipad 2 to time capsule

    Hi there... I've just purchased a Time Capsule 3TB. I have an Ipad 2 which is using the network that I have setup via the Time Machine. Is there anyway I can access files - music, films etc from the time capsule directly from the ipad ? Many thanks i

  • The Dvorak keyboard doesn't work

    I set my setting as dvorak but it doesn't work, the keyboard is still normal.

  • Local help content adobe premiere and elements 10

    I usually check for adobe help updates (local content) once a week! There was an update to adobe premiere elements 10 this week. However, when I clicked update, it did something but instead of saying current, it said intergration pending. Nomatter wh