# | BOOT_VOLUME_NAME | IMAGE_NAME | IS_H | SIZE_IN_GBS | SIZE_IN_MBS | VPUS_PER_GB | TIME_CREATED | COMPARTMENT_NAME | S | S | LIFECYCLE_STATE | VOLU | AVAILABILITY_DOMAIN | POLICY_N | ID |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | oci360comp (Boot Volume) | Oracle-Linux-7.8-2020.04.17-0 | true | 47 | 47694 | 10 | 2020-05-20T14:54:10.816000+00:00 | compt_dev_app | AVAILABLE | CYtq:US-ASHBURN-AD-3 | ocid1.bootvolume.oc1.iad.000000000000000000000000000000000000000000000000000000000204 |
#: click on a column heading to sort on it
Name Null? Type
----------------------------------------------------------------------------------- -------- --------------------------------------------------------
ID VARCHAR2(128)
IMAGE_ID VARCHAR2(128)
KMS_KEY_ID VARCHAR2(4)
IS_HYDRATED VARCHAR2(4)
SIZE_IN_GBS NUMBER
SIZE_IN_MBS NUMBER
SYSTEM_TAGS$ORCL_CLOUD$FREE_TIER_RETAINED VARCHAR2(4)
VPUS_PER_GB NUMBER
DEFINED_TAGS$ORACLE_TAGS$CREATEDBY VARCHAR2(64)
DEFINED_TAGS$ORACLE_TAGS$CREATEDON VARCHAR2(32)
DISPLAY_NAME VARCHAR2(32)
TIME_CREATED VARCHAR2(32)
COMPARTMENT_ID VARCHAR2(128)
LIFECYCLE_STATE VARCHAR2(16)
VOLUME_GROUP_ID VARCHAR2(4)
AVAILABILITY_DOMAIN VARCHAR2(32)
SOURCE_DETAILS$ID VARCHAR2(1)
SOURCE_DETAILS$TYPE VARCHAR2(1)
SELECT tb.DISPLAY_NAME BOOT_VOLUME_NAME,
timg.DISPLAY_NAME IMAGE_NAME,
tb.IS_HYDRATED,
tb.SIZE_IN_GBS,
tb.SIZE_IN_MBS,
tb.VPUS_PER_GB,
tb.TIME_CREATED,
tcomp.NAME COMPARTMENT_NAME,
tb."SOURCE_DETAILS$ID",
tb."SOURCE_DETAILS$TYPE",
tb.LIFECYCLE_STATE,
tb.VOLUME_GROUP_ID,
tb.AVAILABILITY_DOMAIN,
tbkppol.POLICY_NAME,
tb.ID
FROM OCI360_BVOLUMES tb,
OCI360_COMPARTMENTS tcomp,
OCI360_IMAGES timg,
OCI360_BKP_POLICY_ASSIGN tbkppolassign,
(select distinct id, display_name policy_name from OCI360_BKP_POLICY) tbkppol
WHERE tb.COMPARTMENT_ID = tcomp.ID
AND tb.IMAGE_ID = timg.ID (+)
AND tb.ID = tbkppolassign.ASSET_ID (+)
AND tbkppolassign.POLICY_ID = tbkppol.ID (+)
ORDER BY COMPARTMENT_NAME, tb.TIME_CREATED DESC;
1 rows selected.