Interstage Shunsaku Data Manager Operator's Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Appendix D Estimating Resources> D.5 Estimating Resources for Searcher

D.5.3 Memory Requirements for Searchers

This section explains the formulas for estimating how much memory searchers will use.

mark1Shared Memory

The shared memory requirement is shown below.

Definition unit

Variable elements

Size (bytes)

The area for storing command information

Fixed

1,000,000

mark1Local Memory

The formulas for estimating local memory are shown below.

Definition unit

Variable elements

Size (bytes)

Fixed memory

None

14,000,000

Memory allocated for real data

Average record size

Number of records allocated to the searcher (*1)

(Average record size + 30) x number of records allocated to the searcher

The area for storing search requests (*2)

Average number of bytes in a keyword (*3)

The maximum number of search requests that can be received at the same time (*4)

(Average number of bytes in a keyword x 1,152) x the maximum number of search requests that can be received simultaneously

The area for storing update requests

Average record size

Average number of update records within a transaction (*5)

Maximum number of transactions (*6)

((Average record size + 50) x average number of update records within a transaction + 1600) x maximum number of transactions

The area for storing hit results

Number of records allocated to the searcher (*1)

The maximum number of search requests that can be received at the same time (*4)

(Number of records allocated to the searcher + 10) x the maximum number of search requests that can be received at the same time

*1) Specify the number of records of search data allocated to the searcher.

*2) Note the following three points:

*3) Specify the average number of bytes in keywords specified in search expressions. If more than one keyword is specified in a search expression, specify the average number of total bytes of these keywords.

*4) This is specified in the MultiMax parameter in the director environment file.

*5) Specify the average number of records to be updated per transaction.

*6) Specify the maximum number of transactions to be executed simultaneously.

Example Calculation

An example calculation for local memory is shown below.

If the variable elements are as follows:

Memory allocated for real data

(4,000 + 30) x 10,000 = 40,300,000 bytes (approx. 40MB)

The area for storing search requests

(80 x 1,152) x 100 = 9,216,000 bytes (approx. 8.8 MB) ->10MB

The area for storing update requests

((4,000 + 50) x 10 + 1,600) x 100 = 4,210,000 bytes (approx. 4.2 MB)

The area for storing hit results

(10,000 + 10) x 100 = 1,001,000 bytes (approx. 1 MB)

Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2006