Tuesday, November 8, 2011

ASM

v$asm_diskgroup
v$asm_disk


create tablespace tbsname datafile size 10m autoextend on maxsize 10g;

alter tablespace tbsname add datafile size 10m autoectend on maxsize 10g;

View Description

V$ASM_ALIAS


In an ASM instance, contains one row for every alias present in every disk group mounted by the ASM instance.

In a DB instance, contains no rows.

V$ASM_ATTRIBUTE


Displays one row for each attribute defined. In addition to attributes specified by CREATE DISKGROUP and ALTER DISKGROUP statements, the view may show other attributes that are created automatically. Note that attributes are only displayed for disk groups where COMPATIBLE.ASM is set to 11.1 or higher.

V$ASM_CLIENT


In an ASM instance, identifies databases using disk groups managed by the ASM instance.

In a DB instance, contains information about the ASM instance if the database has any open ASM files.

V$ASM_DISK


In an ASM instance, contains one row for every disk discovered by the ASM instance, including disks that are not part of any disk group.

In a DB instance, contains rows only for disks in the disk groups in use by that DB instance.

This view performs disk discovery every time it is queried.

V$ASM_DISK_IOSTAT


Displays information about disk I/O statistics for each ASM client.

In a DB instance, only the rows for that instance are shown.

V$ASM_DISK_STAT


In an ASM instance, contains the same columns as V$ASM_DISK, but to reduce overhead, does not perform a discovery when it is queried. It does not return information about any disks that are new to the storage system. For the most accurate data, use V$ASM_DISK instead.

V$ASM_DISKGROUP


In an ASM instance, describes a disk group (number, name, size related info, state, and redundancy type).

In a DB instance, contains one row for every ASM disk group mounted by the local ASM instance.

This view performs disk discovery every time it is queried.

V$ASM_DISKGROUP_STAT


In an ASM instance, contains the same columns as V$ASM_DISKGROUP, but to reduce overhead, does not perform a discovery when it is queried. It does not return information about any disks that are new to the storage system. For the most accurate data, use V$ASM_DISKGROUP instead.

V$ASM_FILE


In an ASM instance, contains one row for every ASM file in every disk group mounted by the ASM instance.

In a DB instance, contains no rows.

V$ASM_OPERATION


In an ASM instance, contains one row for every active ASM long running operation executing in the ASM instance.

In a DB instance, contains no rows.

V$ASM_TEMPLATE


In an ASM or DB instance, contains one row for every template present in every disk group mounted by the ASM instance.

4 comments:

  1. startup ASM

    export ORACLE_SID=+ASM

    sqlplus / as sysdba/sysasm

    if find error
    SQL> startup
    ORA-01078: failure in processing system parameters
    ORA-29701: unable to connect to Cluster Synchronization Service

    check crs service: ora.cssd should be online.

    crs_stat –t

    crsctl start resource ora.cssd

    reference:
    http://heliosguneserol.wordpress.com/2011/04/13/ora-01078-ora-29701-error-during-startup-asm/

    ReplyDelete
  2. if you has error

    /u01/app/oracle/product/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory

    install package compat-libcap1.i686 0:1.10-1
    yum install compat-libcap1

    run '/u01/app/oracle/product/11.2.0/grid/crs/install/roothas.pl -deconfig'
    to configure existing failed configuration and then rerun root.sh
    /u01/app/oracle/product/11.2.0/grid/perl/bin/perl -I/u01/app/oracle/product/11.2.0/grid/perl/lib -I/u01/app/oracle/product/11.2.0/grid/crs/install /u01/app/oracle/product/11.2.0/grid/crs/install/roothas.pl

    reference:
    http://surachartopun.com/2011/09/just-test-install-oracle-gi-stand-alone.html
    http://www.ora600.be/news/install-grid-infra-clscfgbin-error-while-loading-shared-libraries-libcapso1-cannot-open-shared-
    https://forums.oracle.com/forums/thread.jspa?threadID=1111406
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=1111406&start=15&tstart=44

    ReplyDelete
  3. hostname change will cause problem.

    reference:
    http://surachartopun.com/2011/11/fun-changed-hostname-on-gi-standalone.html

    ReplyDelete