Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Accessing a database [Table of Contents] Configuring tablespace and storage

WarehouseArchitect - User's Guide

[-] Part 3 WarehouseArchitect Model
[-] Chapter 22: Database Creation and Modification
[-] Computing database size

Computing database size

You can compute the estimated size in kilobytes (Kb) of the following:

Basis of calculationYou compute database size based on the following:


Records in tables

You must indicate an estimated number of records in each table in your global model or submodel.


ColumnsThe estimated database size for a column is based on the following:

IndexesYou compute database size for all indexes including primary key indexes, foreign key indexes, and alternate key indexes.

Generation parameters determine the indexes that are used to compute database size. You need verify which generation parameters are selected before you compute database size.


Automatic index constraints

The automatic indexing of keys is DBMS specific. If the target database supports the automatic indexing of keys, the resulting database size estimation includes these indexes.


Tablespace sizeThe estimated size of a tablespace associated with a table is computed by default, and is displayed as a total of the following:

For more information on how to associate a tablespace with an index or table, see the section Defining tablespace and storage.

Storage options

Data storage options are DBMS specific. You define data storage options supported by the target database. These are included in the estimate of database size.

Indicating the number of records in a table

Before you compute database size, you indicate the number of records in each table that you generate.

Indicating average data type length

You can indicate the estimated average data type length for variable length data types. This average length value is then used instead of the maximum data type length when you compute database size.

Computing database size of a global model

You can compute database size based on all objects in the global model or a selection of objects in the global model (submodel).

Computing database size of a submodel

You can compute database size based on all objects in a submodel.


Accessing a database [Table of Contents] Configuring tablespace and storage