20.02.2013 Views

A Practical Hardware Sizing Guide for Sybase IQ

A Practical Hardware Sizing Guide for Sybase IQ

A Practical Hardware Sizing Guide for Sybase IQ

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CPUs<br />

CPUs <strong>for</strong> queries 0.1-1.5 CPUs per query<br />

CPUs <strong>for</strong> loads 0.05-0.5 CPUs per index and column,<br />

though the HG, WD, and TEXT indexes<br />

are fully parallel and can consume all<br />

CPUs on a system<br />

Memory<br />

Total <strong>IQ</strong> memory <strong>for</strong> all operations Total RAM less 10-20% <strong>for</strong> the OS<br />

Main and temporary cache during<br />

queries<br />

Final<br />

40% main cache, 60% temporary cache<br />

of remaining RAM<br />

Main cache during loads 5-10 pages per index and column<br />

Temporary cache during loads Each HG: (8 + sizeof( datatype )) *<br />

numberRowsBeingLoaded<br />

Each WD: (8 + sizeof( datatype )) *<br />

numberRowsBeingLoaded * numberTokens<br />

(rounded to next highest page boundary)<br />

Load Memory binaryTableWidth * 10,000 * 45 / 1024 /<br />

1024<br />

Bitmap memory during loads 8,192 bytes per distinct value loaded into<br />

each LF, HNG, DTTM, DATE, TIME, and<br />

CMP index<br />

Backup memory TmpVal = max(2 * numberOfCpus,<br />

8 * numberOfMainLocalSpaces )<br />

Memory = (TmpVal * 20 ) * ( block factor *<br />

block_size )<br />

Catalog Cache (-c or -cl/-ch) 2-16x the size of the catalog (.db) file<br />

Storage and I/O<br />

Required I/O bandwidth per CPU core 20-40 MB/sec<br />

Total bandwidth per server #cores * 20-30 MB/s<br />

Minimum number of physical fiber 0.3-1 drives per core<br />

channel disk drives per CPU core Calculate separately <strong>for</strong> main and <strong>for</strong> temp<br />

Minimum number of physical SAS disk 0.5-3 drives per core<br />

drives per CPU core<br />

Calculate separately <strong>for</strong> main and <strong>for</strong> temp<br />

Minimum number of physical SATA 2-5 drives per core<br />

disk drives per CPU core<br />

Calculate separately <strong>for</strong> main and <strong>for</strong> temp<br />

Maximum number of CPU cores per 4-8 cores per fiber controller<br />

fiber controller <strong>for</strong> main<br />

Calculate separately <strong>for</strong> main and <strong>for</strong> temp<br />

Number of <strong>IQ</strong> main/local store LUNs 3 + ( #cores / 10 ) ( rounded up)<br />

Number of <strong>IQ</strong> temporary store LUNS 3 + ( #cores / 10 ) ( rounded up)<br />

7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!