spaceCalculator

The space calculator checks the disk usage of Oracle SES storage areas to ensure they do not exceed the current space quotas. When a storage area approaches its quota, the space calculator signals a warning. When a storage area exceeds its quota, the space calculator signals an alert. You can configure how frequently the space calculator runs, or you can start it manually.

See Also: "Disk Space Management: Quotas and Alerts"

Object Type

Universal

State Properties

Property Value
endTime Date and time the space calculator completed its assessment of disk usage
error Error numbers and messages when the space calculator did not run successfully
startTime Date and time the space calculator last began its assessment of disk usage
status EXECUTING, FAILED, PARTIALLY_FAILED, SCHEDULED, or SUCCESS

Supported Operations

activate
deactivate
export
getState
start
update

Administration GUI Page

None

XML Description

The <search:spaceCalculator element configures the space calculator:

<search:spaceCalculator>
   <search:frequency>
<!-- For hourly calculations -->
      <search:hourly>
         <search:hoursBtwnLaunches>
<!-- For daily calculations -->
      <search:daily>
         <search:daysBtwnLaunches>
         <search:startHour>
<!-- For weekly calculations -->
      <search:weekly>
         <search:weeksBtwnLaunches>
         <search:startDayOfWeek>
         <search:startHour>
<!-- For monthly calculations -->
      <search:monthly>
         <search:monthsBtwnLaunches>
         <search:startDayOfMonth>
         <search:startHour>

Element Descriptions 

<search:spaceCalculator>

Contains a <search:frequency> element.

<search:frequency>

Describes the space calculator schedule. It contains one of these elements:

<search:hourly>
<search:daily>
<search:weekly>
<search:monthly>
<search:hourly>

Describes an hourly schedule. It contains a <search:hoursBtwnLaunches> element.

<search:hoursBtwnLaunches>

The number of hours between optimizations.

<search:daily>

Describes a daily schedule. It contains these elements:

<search:daysBtwnLaunches>
<search:startHour>
<search:daysBtwnLaunches>

The number of days between space calculations.

<search:startHour>

The time the crawl begins using a 24-hour clock, such as 9 for 9:00 a.m. or 23 for 11:00 p.m.

<search:weekly>

Describes a weekly schedule. It contains these elements:

<search:weeksBtwnLaunches>
<search:startDayOfWeek>
<search:startHour>
<search:weeksBtwnLaunches>

The number of weeks between space calculations.

<search:startDayOfWeek>

The day of the week that the crawl begins, such as MONDAY or TUESDAY.

<search:monthly>

Describes a monthly schedule. It contains these elements:

<search:monthsBtwnLaunches>
<search:startDayOfMonth>
<search:startHour>
<search:monthsBtwnLaunches>

The number of time periods between starting a calculation.

<search:startDayOfMonth>

An integer value for the day of the month that the calculation begins, such as 1 or 15.

Example

This example updates the space calculator to a weekly schedule:

<?xml version="1.0" encoding="UTF-8"?>
<search:config productVersion="11.1.2.0.0" xmlns:search="http://xmlns.oracle.com/search">
   <search:spaceCalculator>
      <search:frequency>
         <search:weekly>
            <search:weeksBtwnLaunches>1</search:weeksBtwnLaunches>
            <search:startDayOfWeek>THURSDAY</search:startDayOfWeek>
            <search:startHour>3</search:startHour>
         </search:weekly>
      </search:frequency>
   </search:spaceCalculator>
</search:config>