If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to calculate minimum size required for container

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-09-04, 04:15
Metatron Metatron is offline
Registered User
 
Join Date: Feb 2004
Posts: 21
Thumbs up How to calculate minimum size required for container

someone ask me this question :
Given the following SQL statements:

CREATE TABLESPACE TS1

MANAGED BY DATABASE USING (FILE 'TS1_CONT' <container size>)

EXTENTSIZE 10

CREATE TABLE T1 (C1 INT, C2 BLOB(1K)) IN TS1 1026 BYES

CREATE TABLE T2 (C1 INT, C2 CHAR(250)) IN TS1 2002 BYTE

Which of the following is the minimum size required for container TS1_CONT that will allow both of the tables to be successfully created?

A.50 pages
B.60 pages
C.120 pages
D.240 pages

the answer is :C
but ,who can tell me why?
and How to calculate minimum size required for container .

Many thanks for any suggestion.
Ray
Reply With Quote
  #2 (permalink)  
Old 09-09-04, 09:55
Metatron Metatron is offline
Registered User
 
Join Date: Feb 2004
Posts: 21
um,nobody?!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On