# Managed Object - ResourcePlanningManager(vim.ResourcePlanningManager)

See also
  DatabaseSizeEstimate, DatabaseSizeParam
Since
  vSphere API 4.0

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
EstimateDatabaseSize

# EstimateDatabaseSize(estimateDatabaseSize)

Estimates the database size required to store VirtualCenter data.

Required Privileges
  System.Read

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ResourcePlanningManager used to make the method call.
dbSizeParam | DatabaseSizeParam | DatabaseSizeParam Contains the summary of an inventory for which the database size requirements are to be computed. It also contains the historic interval setting for which the database computations are to be done. This is an optional parameter and the current virtual center historical settings are used by default. There are many other optional fields in the dbSizeParam structure that are appropriately filled up based on some heuristics.

Return Value

Type | Description
--- | ---
DatabaseSizeEstimate | DatabaseSizeEstimate Returns the size required in MB of the database and the number of database rows.

Faults

Type | Description
--- | ---
InvalidArgument | Thrown if the set of arguments passed to the function is not specified correctly.
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="EstimateDatabaseSize" type="vim25:EstimateDatabaseSizeRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="EstimateDatabaseSizeResponse"> <complexType> <sequence> <element name="returnval" type="vim25:DatabaseSizeEstimate"/> </sequence> </complexType> </element>