ndb_size.pl report for database foodmart (21 tables)

Connected to: DBI:mysql:database=foodmart;host=localhost

Including information for versions: 4.1, 5.0, 5.1

Table List

account

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
account_parentsmallint(6)MUL444
account_descriptionvarchar(30)Y323216*
account_rollupvarchar(30)Y32324*
HIDDEN_NDB_PKEYbigintPRI888
account_typevarchar(30)Y32328*
account_idsmallint(6)UNI444
custom_membersvarchar(255)Y256256120*
Fixed Size Columns DM/Row36836816
Varsize Columns DM/Row00148

DataMemory for Indexes

Index NameType4.15.05.1
i_account_parentBTREE161616
i_account_idBTREEN/AN/AN/A
PRIMARYBTREE161616
Total Index DM/Row323232

Supporting Tables DataMemory/Row

Table4.15.05.1
account_account_id$unique242432
This DataMemory/Row41641668
Total DM/Row (inludes DM in other tables)440440100

IndexMemory for Indexes

Index Name4.15.05.1
i_account_parentN/AN/AN/A
PRIMARY331616
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

account_account_id$unique291616
Total Suppt IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)41641668

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row00160

Memory Calculations

No. Rows111111
Rows/32kb DM Page7878480
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page00204
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

account_account_id$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
HIDDEN_NDB_PKEYbigintPRI888
account_idsmallint(6)UNI444
Fixed Size Columns DM/Row121212
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY291616
Indexes IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)242432

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows111111
Rows/32kb DM Page136013601020
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page282512512
IndexMemory (KB)888

category

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
category_idvarchar(30)PRI323232
category_parentvarchar(30)MUL323232
HIDDEN_NDB_PKEYbigintPRI888
category_descriptionvarchar(30)Y323224*
category_rollupvarchar(255)Y2562564*
Fixed Size Columns DM/Row36036072
Varsize Columns DM/Row0028

DataMemory for Indexes

Index NameType4.15.05.1
i_category_parentBTREE161616
i_category_idBTREEN/AN/AN/A
PRIMARYBTREE161616
Total Index DM/Row323232

Supporting Tables DataMemory/Row

Table4.15.05.1
category_category_id$unique525260
This DataMemory/Row408408124
Total DM/Row (inludes DM in other tables)460460184

IndexMemory for Indexes

Index Name4.15.05.1
i_category_parentN/AN/AN/A
PRIMARY331616
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

category_category_id$unique571616
Total Suppt IM/Row571616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)408408124

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row0040

Memory Calculations

No. Rows444
Rows/32kb DM Page8080263
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page00816
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

category_category_id$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
category_idvarchar(30)PRI323232
HIDDEN_NDB_PKEYbigintPRI888
Fixed Size Columns DM/Row404040
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY571616
Indexes IM/Row571616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)525260

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows444
Rows/32kb DM Page627627544
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page143512512
IndexMemory (KB)888

currency

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
currencyvarchar(30)Y323212*
currency_idsmallint(6)MUL444
datedate444
HIDDEN_NDB_PKEYbigintPRI888
conversion_ratiodecimal(10,2)N/AN/AN/A
Fixed Size Columns DM/Row484816
Varsize Columns DM/Row0012

DataMemory for Indexes

Index NameType4.15.05.1
i_currencyBTREEN/AN/AN/A
PRIMARYBTREE161616
Total Index DM/Row161616

Supporting Tables DataMemory/Row

Table4.15.05.1
currency_currency_id_date$unique282836
This DataMemory/Row808052
Total DM/Row (inludes DM in other tables)10810888

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

currency_currency_id_date$unique331616
Total Suppt IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)808052

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row0020

Memory Calculations

No. Rows727272
Rows/32kb DM Page408408627
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page001632
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

currency_currency_id_date$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
currency_idsmallint(6)MUL444
datedate444
HIDDEN_NDB_PKEYbigintPRI888
Fixed Size Columns DM/Row161616
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)282836

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows727272
Rows/32kb DM Page11651165906
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page248512512
IndexMemory (KB)888

customer

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
customer_region_idint(11)MUL444
address3varchar(30)Y32324*
marital_statusvarchar(30)Y32324*
date_accnt_openeddate444
num_cars_ownedint(11)444
fnamevarchar(30)MUL323232
total_childrensmallint(6)444
ordinalint(11)444
cityvarchar(30)Y323212*
customer_idint(11)PRI444
postal_codevarchar(30)MUL323232
num_children_at_homesmallint(6)MUL444
HIDDEN_NDB_PKEYbigintPRI888
mivarchar(30)Y32324*
gendervarchar(30)Y32324*
houseownervarchar(30)Y32324*
countryvarchar(30)Y32328*
address4varchar(30)Y32324*
educationvarchar(30)Y323220*
birthdatedate444
member_cardvarchar(30)Y32328*
occupationvarchar(30)Y323212*
address2varchar(30)Y32328*
account_numbigint(20)MUL888
yearly_incomevarchar(30)Y323216*
phone1varchar(30)Y323216*
lnamevarchar(30)MUL323232
state_provincevarchar(30)Y32324*
address1varchar(30)Y323220*
phone2varchar(30)Y323216*
Fixed Size Columns DM/Row688688144
Varsize Columns DM/Row00164

DataMemory for Indexes

Index NameType4.15.05.1
i_customer_children_at_homeBTREE161616
i_customer_idBTREEN/AN/AN/A
i_customer_region_idBTREE161616
i_customer_postal_codeBTREE161616
i_account_numBTREE161616
PRIMARYBTREE161616
i_customer_lnameBTREE161616
i_customer_fnameBTREE161616
Total Index DM/Row112112112

Supporting Tables DataMemory/Row

Table4.15.05.1
customer_customer_id$unique242432
This DataMemory/Row816816276
Total DM/Row (inludes DM in other tables)840840308

IndexMemory for Indexes

Index Name4.15.05.1
i_customer_children_at_homeN/AN/AN/A
i_customer_region_idN/AN/AN/A
i_customer_postal_codeN/AN/AN/A
i_account_numN/AN/AN/A
PRIMARY331616
i_customer_lnameN/AN/AN/A
i_customer_fnameN/AN/AN/A
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

customer_customer_id$unique291616
Total Suppt IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)816816276

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row00176

Memory Calculations

No. Rows102811028110281
Rows/32kb DM Page4040118
Fixedsize DataMemory (KB)825682562816
Rows/32kb Varsize DM Page00185
Varsize DataMemory (KB)001792
Rows/8kb IM Page248512512
IndexMemory (KB)336168168

customer_customer_id$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
customer_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
Fixed Size Columns DM/Row121212
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY291616
Indexes IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)242432

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows102811028110281
Rows/32kb DM Page136013601020
Fixedsize DataMemory (KB)256256352
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page282512512
IndexMemory (KB)296168168

days

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
week_dayvarchar(30)Y323212*
dayint(11)444
HIDDEN_NDB_PKEYbigintPRI888
Fixed Size Columns DM/Row444412
Varsize Columns DM/Row0012

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREE161616
Total Index DM/Row161616

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)727244

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row0020

Memory Calculations

No. Rows777
Rows/32kb DM Page453453741
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page001632
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

department

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
HIDDEN_NDB_PKEYbigintPRI888
department_idint(11)PRI444
department_descriptionvarchar(30)Y323224*
Fixed Size Columns DM/Row444412
Varsize Columns DM/Row0024

DataMemory for Indexes

Index NameType4.15.05.1
i_department_idBTREEN/AN/AN/A
PRIMARYBTREE161616
Total Index DM/Row161616

Supporting Tables DataMemory/Row

Table4.15.05.1
department_department_id$unique242432
This DataMemory/Row727244
Total DM/Row (inludes DM in other tables)969676

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

department_department_id$unique291616
Total Suppt IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)727244

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row0032

Memory Calculations

No. Rows121212
Rows/32kb DM Page453453741
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page001020
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

department_department_id$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
department_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
Fixed Size Columns DM/Row121212
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY291616
Indexes IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)242432

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows121212
Rows/32kb DM Page136013601020
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page282512512
IndexMemory (KB)888

employee

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
store_idint(11)MUL444
marital_statusvarchar(30)Y32324*
position_idint(11)444
last_namevarchar(30)Y32328*
education_levelvarchar(30)Y323220*
supervisor_idint(11)MUL444
hire_datetimestamp444
employee_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
department_idint(11)MUL444
gendervarchar(30)Y32324*
management_rolevarchar(255)Y25625620*
full_namevarchar(30)Y323216*
birth_datedate444
salarydecimal(10,2)N/AN/AN/A
position_titlevarchar(30)Y323224*
end_datetimestamp444
first_namevarchar(30)Y32328*
Fixed Size Columns DM/Row52052040
Varsize Columns DM/Row00104

DataMemory for Indexes

Index NameType4.15.05.1
i_employee_store_idBTREE161616
PRIMARYBTREE161616
i_employee_idBTREEN/AN/AN/A
i_employee_department_idBTREE161616
i_employee_supervisor_idBTREE161616
Total Index DM/Row646464

Supporting Tables DataMemory/Row

Table4.15.05.1
employee_employee_id$unique242432
This DataMemory/Row600600124
Total DM/Row (inludes DM in other tables)624624156

IndexMemory for Indexes

Index Name4.15.05.1
i_employee_store_idN/AN/AN/A
PRIMARY331616
i_employee_department_idN/AN/AN/A
i_employee_supervisor_idN/AN/AN/A
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

employee_employee_id$unique291616
Total Suppt IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)600600124

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row00116

Memory Calculations

No. Rows115511551155
Rows/32kb DM Page5454263
Fixedsize DataMemory (KB)704704160
Rows/32kb Varsize DM Page00281
Varsize DataMemory (KB)00160
Rows/8kb IM Page248512512
IndexMemory (KB)402424

employee_employee_id$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
employee_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
Fixed Size Columns DM/Row121212
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY291616
Indexes IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)242432

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows115511551155
Rows/32kb DM Page136013601020
Fixedsize DataMemory (KB)323264
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page282512512
IndexMemory (KB)402424

expense_fact

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
time_idint(11)MUL444
store_idint(11)MUL444
category_idvarchar(30)Y32328*
currency_idint(11)444
amountdecimal(10,2)N/AN/AN/A
exp_datedate444
HIDDEN_NDB_PKEYbigintPRI888
account_idint(11)MUL444
Fixed Size Columns DM/Row606028
Varsize Columns DM/Row008

DataMemory for Indexes

Index NameType4.15.05.1
i_expense_time_idBTREE161616
i_expense_account_idBTREE161616
i_expense_store_idBTREE161616
PRIMARYBTREE161616
Total Index DM/Row646464

IndexMemory for Indexes

Index Name4.15.05.1
i_expense_time_idN/AN/AN/A
i_expense_account_idN/AN/AN/A
i_expense_store_idN/AN/AN/A
PRIMARY331616
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)136136108

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row0016

Memory Calculations

No. Rows240024002400
Rows/32kb DM Page240240302
Fixedsize DataMemory (KB)320320256
Rows/32kb Varsize DM Page002040
Varsize DataMemory (KB)0064
Rows/8kb IM Page248512512
IndexMemory (KB)804040

inventory_fact

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
store_idint(11)MUL444
units_shippedint(11)444
supply_timesmallint(6)444
store_invoicedecimal(10,4)N/AN/AN/A
time_idint(11)MUL444
warehouse_costdecimal(10,4)N/AN/AN/A
warehouse_idint(11)MUL444
units_orderedint(11)444
product_idint(11)MUL444
HIDDEN_NDB_PKEYbigintPRI888
warehouse_salesdecimal(10,4)N/AN/AN/A
Fixed Size Columns DM/Row363636
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
i_inv_1997_warehouse_idBTREE161616
i_inv_1997_store_idBTREE161616
i_inv_1997_product_idBTREE161616
i_inv_1997_time_idBTREE161616
PRIMARYBTREE161616
Total Index DM/Row808080

IndexMemory for Indexes

Index Name4.15.05.1
i_inv_1997_warehouse_idN/AN/AN/A
i_inv_1997_store_idN/AN/AN/A
i_inv_1997_product_idN/AN/AN/A
i_inv_1997_time_idN/AN/AN/A
PRIMARY331616
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)132132136

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows113521135211352
Rows/32kb DM Page247247240
Fixedsize DataMemory (KB)147214721536
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page248512512
IndexMemory (KB)368184184

position

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
position_titlevarchar(30)Y323224*
max_scaledecimal(10,2)N/AN/AN/A
pay_typevarchar(30)Y32328*
min_scaledecimal(10,2)N/AN/AN/A
position_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
management_rolevarchar(30)Y323220*
Fixed Size Columns DM/Row10810812
Varsize Columns DM/Row0052

DataMemory for Indexes

Index NameType4.15.05.1
i_position_idBTREEN/AN/AN/A
PRIMARYBTREE161616
Total Index DM/Row161616

Supporting Tables DataMemory/Row

Table4.15.05.1
position_position_id$unique242432
This DataMemory/Row13613644
Total DM/Row (inludes DM in other tables)16016076

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

position_position_id$unique291616
Total Suppt IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)13613644

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row0060

Memory Calculations

No. Rows181818
Rows/32kb DM Page240240741
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page00544
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

position_position_id$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
position_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
Fixed Size Columns DM/Row121212
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY291616
Indexes IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)242432

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows181818
Rows/32kb DM Page136013601020
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page282512512
IndexMemory (KB)888

product

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
SRPdecimal(10,2)N/AN/AN/A
product_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
low_fatchar(1)444
shelf_depthdouble888
recyclable_packagechar(1)444
cases_per_palletsmallint(6)444
gross_weightdouble888
product_class_idint(11)MUL444
brand_namevarchar(60)MUL646464
shelf_widthdouble888
units_per_casesmallint(6)444
shelf_heightdouble888
net_weightdouble888
product_namevarchar(60)MUL646464
SKUbigint(20)MUL888
Fixed Size Columns DM/Row208208208
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
i_inv_1998_brand_nameBTREE161616
PRIMARYBTREE161616
i_product_SKUBTREE161616
i_product_nameBTREE161616
i_product_class_idBTREE161616
i_product_idBTREEN/AN/AN/A
Total Index DM/Row808080

Supporting Tables DataMemory/Row

Table4.15.05.1
product_product_id$unique242432
This DataMemory/Row304304308
Total DM/Row (inludes DM in other tables)328328340

IndexMemory for Indexes

Index Name4.15.05.1
i_inv_1998_brand_nameN/AN/AN/A
PRIMARY331616
i_product_SKUN/AN/AN/A
i_product_nameN/AN/AN/A
i_product_class_idN/AN/AN/A
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

product_product_id$unique291616
Total Suppt IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)304304308

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows156015601560
Rows/32kb DM Page107107105
Fixedsize DataMemory (KB)480480480
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page248512512
IndexMemory (KB)563232

product_class

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
product_class_idint(11)444
product_departmentvarchar(30)Y323212*
product_familyvarchar(30)Y323212*
product_categoryvarchar(30)Y323216*
HIDDEN_NDB_PKEYbigintPRI888
product_subcategoryvarchar(30)Y323212*
Fixed Size Columns DM/Row14014012
Varsize Columns DM/Row0052

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREE161616
Total Index DM/Row161616

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row440
DataMemory/Row (incl overhead, bitmap, indexes)17217244

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row0064

Memory Calculations

No. Rows110110110
Rows/32kb DM Page189189741
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page00510
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

product_product_id$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
product_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
Fixed Size Columns DM/Row121212
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY291616
Indexes IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)242432

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows156015601560
Rows/32kb DM Page136013601020
Fixedsize DataMemory (KB)646464
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page282512512
IndexMemory (KB)483232

promotion

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
costdouble888
promotion_district_idint(11)MUL444
end_datedate444
promotion_namevarchar(30)Y323216*
media_typevarchar(30)Y323216*
start_datedate444
HIDDEN_NDB_PKEYbigintPRI888
promotion_idint(11)PRI444
Fixed Size Columns DM/Row969632
Varsize Columns DM/Row0032

DataMemory for Indexes

Index NameType4.15.05.1
i_promotion_idBTREEN/AN/AN/A
i_promotion_district_idBTREE161616
PRIMARYBTREE161616
Total Index DM/Row323232

Supporting Tables DataMemory/Row

Table4.15.05.1
promotion_promotion_id$unique242432
This DataMemory/Row14414484
Total DM/Row (inludes DM in other tables)168168116

IndexMemory for Indexes

Index Name4.15.05.1
i_promotion_district_idN/AN/AN/A
PRIMARY331616
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

promotion_promotion_id$unique291616
Total Suppt IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)14414484

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row0044

Memory Calculations

No. Rows186418641864
Rows/32kb DM Page226226388
Fixedsize DataMemory (KB)288288160
Rows/32kb Varsize DM Page00741
Varsize DataMemory (KB)0096
Rows/8kb IM Page248512512
IndexMemory (KB)643232

promotion_promotion_id$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
HIDDEN_NDB_PKEYbigintPRI888
promotion_idint(11)PRI444
Fixed Size Columns DM/Row121212
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY291616
Indexes IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)242432

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows186418641864
Rows/32kb DM Page136013601020
Fixedsize DataMemory (KB)646464
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page282512512
IndexMemory (KB)563232

region

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
sales_district_idint(11)444
sales_state_provincevarchar(30)Y32324*
sales_regionvarchar(30)Y323212*
region_idint(11)444
sales_countryvarchar(30)Y32328*
sales_districtvarchar(30)Y323212*
HIDDEN_NDB_PKEYbigintPRI888
sales_cityvarchar(30)Y323212*
Fixed Size Columns DM/Row17617616
Varsize Columns DM/Row0048

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREE161616
Total Index DM/Row161616

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)20820852

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row0060

Memory Calculations

No. Rows110110110
Rows/32kb DM Page156156627
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page00544
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

reserve_employee

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
store_idint(11)MUL444
marital_statusvarchar(30)Y32324*
position_idint(11)444
last_namevarchar(30)Y32328*
education_levelvarchar(30)Y323220*
supervisor_idint(11)MUL444
hire_datetimestamp444
employee_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
department_idint(11)MUL444
gendervarchar(30)Y32324*
full_namevarchar(30)Y323216*
birth_datedate444
salarydecimal(10,2)N/AN/AN/A
position_titlevarchar(30)Y32324*
end_datetimestamp444
first_namevarchar(30)Y32328*
Fixed Size Columns DM/Row26426440
Varsize Columns DM/Row0064

DataMemory for Indexes

Index NameType4.15.05.1
i_reserve_employee_idBTREEN/AN/AN/A
i_reserve_employee_super_idBTREE161616
i_reserve_employee_dept_idBTREE161616
PRIMARYBTREE161616
i_reserve_employee_store_idBTREE161616
Total Index DM/Row646464

Supporting Tables DataMemory/Row

Table4.15.05.1
reserve_employee_employee_id$unique242432
This DataMemory/Row344344124
Total DM/Row (inludes DM in other tables)368368156

IndexMemory for Indexes

Index Name4.15.05.1
i_reserve_employee_super_idN/AN/AN/A
i_reserve_employee_dept_idN/AN/AN/A
PRIMARY331616
i_reserve_employee_store_idN/AN/AN/A
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

reserve_employee_employee_id$unique291616
Total Suppt IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)344344124

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row0076

Memory Calculations

No. Rows143143143
Rows/32kb DM Page9494263
Fixedsize DataMemory (KB)646432
Rows/32kb Varsize DM Page00429
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

reserve_employee_employee_id$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
employee_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
Fixed Size Columns DM/Row121212
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY291616
Indexes IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)242432

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows143143143
Rows/32kb DM Page136013601020
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page282512512
IndexMemory (KB)888

salary

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
vacation_usedint(11)444
currency_idint(11)444
employee_idint(11)444
pay_datedate444
vacation_accruedint(11)444
salary_paiddecimal(10,4)N/AN/AN/A
HIDDEN_NDB_PKEYbigintPRI888
overtime_paiddecimal(10,4)N/AN/AN/A
department_idint(11)444
Fixed Size Columns DM/Row323232
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREE161616
Total Index DM/Row161616

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)606064

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows212522125221252
Rows/32kb DM Page544544510
Fixedsize DataMemory (KB)128012801344
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page248512512
IndexMemory (KB)688336336

sales_fact

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
time_idint(11)MUL444
store_idint(11)MUL444
unit_salesint(11)444
customer_idint(11)MUL444
product_idint(11)MUL444
store_costdecimal(10,4)N/AN/AN/A
HIDDEN_NDB_PKEYbigintPRI888
store_salesdecimal(10,2)N/AN/AN/A
promotion_idint(11)MUL444
Fixed Size Columns DM/Row323232
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
i_sales_1997_product_idBTREE161616
i_sales_1997_time_idBTREE161616
i_sales_1997_store_idBTREE161616
i_sales_1997_promotion_idBTREE161616
PRIMARYBTREE161616
i_sales_1997_customer_idBTREE161616
Total Index DM/Row969696

IndexMemory for Indexes

Index Name4.15.05.1
i_sales_1997_product_idN/AN/AN/A
i_sales_1997_time_idN/AN/AN/A
i_sales_1997_store_idN/AN/AN/A
i_sales_1997_promotion_idN/AN/AN/A
PRIMARY331616
i_sales_1997_customer_idN/AN/AN/A
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)140140144

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows269720269720269720
Rows/32kb DM Page233233226
Fixedsize DataMemory (KB)370563705638208
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page248512512
IndexMemory (KB)870442164216

store

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
meat_sqftdouble888
store_idint(11)PRI444
store_faxvarchar(30)Y323216*
last_remodel_datedate444
coffee_barchar(1)444
store_typevarchar(30)Y323216*
floristchar(1)444
region_idint(11)MUL444
store_namevarchar(30)Y323212*
store_phonevarchar(30)Y323216*
HIDDEN_NDB_PKEYbigintPRI888
store_cityvarchar(30)Y323212*
store_street_addressvarchar(30)Y323220*
store_postal_codevarchar(30)Y32328*
store_sqftdouble888
grocery_sqftdouble888
store_managervarchar(30)Y32328*
store_statevarchar(30)Y32328*
frozen_sqftdouble888
store_numberint(11)444
video_storechar(1)444
salad_barchar(1)444
first_opened_datedate444
prepared_foodchar(1)444
store_countryvarchar(30)Y32328*
Fixed Size Columns DM/Row40040080
Varsize Columns DM/Row00124

DataMemory for Indexes

Index NameType4.15.05.1
i_store_region_idBTREE161616
i_store_idBTREEN/AN/AN/A
PRIMARYBTREE161616
Total Index DM/Row323232

Supporting Tables DataMemory/Row

Table4.15.05.1
store_store_id$unique242432
This DataMemory/Row448448132
Total DM/Row (inludes DM in other tables)472472164

IndexMemory for Indexes

Index Name4.15.05.1
i_store_region_idN/AN/AN/A
PRIMARY331616
Indexes IM/Row331616

Supporting Tables IndexMemory/Row

store_store_id$unique291616
Total Suppt IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)448448132

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row00136

Memory Calculations

No. Rows252525
Rows/32kb DM Page7272247
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page00240
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

store_store_id$unique

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
store_idint(11)PRI444
HIDDEN_NDB_PKEYbigintPRI888
Fixed Size Columns DM/Row121212
Varsize Columns DM/Row000

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREEN/AN/AN/A
Total Index DM/Row000

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY291616
Indexes IM/Row291616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121220
NULL Bytes/Row000
DataMemory/Row (incl overhead, bitmap, indexes)242432

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row000
Avg Varside DM/Row000

Memory Calculations

No. Rows252525
Rows/32kb DM Page136013601020
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page000
Varsize DataMemory (KB)000
Rows/8kb IM Page282512512
IndexMemory (KB)888

time_by_day

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
the_dayvarchar(30)Y323212*
month_of_yearsmallint(6)444
the_monthvarchar(30)Y32328*
the_datedate444
week_of_yearint(11)444
quartervarchar(30)Y32324*
the_yearsmallint(6)444
time_idint(11)444
fiscal_periodvarchar(30)Y32324*
HIDDEN_NDB_PKEYbigintPRI888
day_of_monthsmallint(6)444
Fixed Size Columns DM/Row16016032
Varsize Columns DM/Row0028

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREE161616
Total Index DM/Row161616

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)19219268

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row0040

Memory Calculations

No. Rows730730730
Rows/32kb DM Page170170480
Fixedsize DataMemory (KB)16016064
Rows/32kb Varsize DM Page00816
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)241616

warehouse

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
wa_address3varchar(30)Y32324*
warehouse_phonevarchar(30)Y323216*
warehouse_idint(11)444
warehouse_postal_codevarchar(30)Y32328*
warehouse_owner_namevarchar(30)Y32324*
HIDDEN_NDB_PKEYbigintPRI888
warehouse_cityvarchar(30)Y323212*
wa_address4varchar(30)Y32324*
wa_address1varchar(30)Y323220*
warehouse_namevarchar(60)Y646424*
warehouse_state_provincevarchar(30)Y32328*
warehouse_class_idint(11)444
stores_idint(11)444
warehouse_faxvarchar(30)Y323216*
warehouse_countryvarchar(30)Y32328*
wa_address2varchar(30)Y32324*
Fixed Size Columns DM/Row43643620
Varsize Columns DM/Row00128

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREE161616
Total Index DM/Row161616

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row444
DataMemory/Row (incl overhead, bitmap, indexes)46846856

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row00140

Memory Calculations

No. Rows242424
Rows/32kb DM Page6969582
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page00233
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

warehouse_class

DataMemory for Columns


* means varsized DataMemory

Column NameTypeVarsizedKey4.15.05.1
HIDDEN_NDB_PKEYbigintPRI888
descriptionvarchar(30)Y323216*
warehouse_class_idint(11)444
Fixed Size Columns DM/Row444412
Varsize Columns DM/Row0016

DataMemory for Indexes

Index NameType4.15.05.1
PRIMARYBTREE161616
Total Index DM/Row161616

IndexMemory for Indexes

Index Name4.15.05.1
PRIMARY331616
Indexes IM/Row331616

Summary (for THIS table)

Fixed Sized Part

4.15.05.1
Fixed Overhead DM/Row121216
NULL Bytes/Row440
DataMemory/Row (incl overhead, bitmap, indexes)767644

Variable Sized Part

Varsize Overhead DM/Row008
Varsize NULL Bytes/Row004
Avg Varside DM/Row0028

Memory Calculations

No. Rows666
Rows/32kb DM Page429429741
Fixedsize DataMemory (KB)323232
Rows/32kb Varsize DM Page001165
Varsize DataMemory (KB)0032
Rows/8kb IM Page248512512
IndexMemory (KB)888

Parameter Minimum Requirements


* indicates greater than default

ParameterDefault4.15.05.1
DataMemory (KB)81920510725107248704
NoOfOrderedIndexes128646464
NoOfTables128323232
IndexMemory (KB)184321095254565456
NoOfUniqueHashIndexes64111111
NoOfAttributes1000248248248
NoOfTriggers768225225225
tags: