11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 12 ■ DATA WAREHOUSING 549insert into edba_alert_notifications values(9, 'Critical Alert for RACDB1 <strong>Database</strong>: Tablepsace threshold exceeded','rac81.dbaexpert.com', 'RACDB1', 1, 1000,'Resolve space issue on the sales_i tablespace: 96% utilized', '01-OCT-07', user,sysdate, user);insert into edba_alert_notifications values(10, 'Critical Alert for RACDB2 <strong>Database</strong>: Tablepsace threshold exceeded','rac12.dbaexpert.com', 'RACDB2', 1, 1000,'Resolve space issue on the oe_order_headers_d tablespace: 92% utilized', '01-NOV-07', user, sysdate,user);insert into edba_alert_notifications values(<strong>11</strong>, 'Critical Alert for RACDB3 <strong>Database</strong>: Tablepsace threshold exceeded','rac20.dbaexpert.com', 'RACDB3', 1, 1000,'Resolve space issue on the mtl_inventories_d tablespace: 99% utilized', '01-DEC-07', user, sysdate, user);insert into edba_alert_notifications values(12, 'Critical Alert for RACDB4 <strong>Database</strong>: Tablepsace threshold exceeded','rac19.dbaexpert.com', 'RACDB4', 1, 1000,'Resolve space issue on the hr_employees_d tablespace: 97% utilized', '01-JAN-08',user, sysdate, user);As you insert rows into an internal partition, <strong>Oracle</strong> will automatically create and maintainthe range partitions that exceed the high_value of range partitions. You can query USER_TAB_PARTITIONS again and see <strong>Oracle</strong>’s magic at work, as revealed here:SQL> select partition_name, high_value2 from user_tab_partitions3 where table_name='EDBA_ALERT_NOTIFICATIONS'4* order by partition_positionSQL> /PARTITION_NAME HIGH_VALUE--------------- -----------------------------------------------P_JAN2007TO_DATE(' 2007-01-01 00:00:00', 'SYYYY-MM-DDHH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')SYS_P41SYS_P42SYS_P43TO_DATE(' 2007-03-01 00:00:00', 'SYYYY-MM-DDHH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')TO_DATE(' 2007-04-01 00:00:00', 'SYYYY-MM-DDHH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')TO_DATE(' 2007-05-01 00:00:00', 'SYYYY-MM-DDHH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!