DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: estimate rows for new table creation

  1. #1
    Join Date
    Nov 2000
    Posts
    169

    Lightbulb

    I want to create some new tables and I understand that the estimate number of rows are as follows:

    Table one 60
    Table two 450
    Table three 150
    Table four 1000
    Table five 500
    Table six 200

    Can any one please tell/show me exactly how to size the tables based on these above information?

    still learning,
    learn

  2. #2
    Join Date
    Apr 2000
    Location
    Baltimore, MD
    Posts
    759
    If you want to size the tables based on the initial data load, then avg_row_len*# rows = size of table. I would suggest that, based on the growth rate of the table and the type of activity that the table(s) will undergo, that you size the tables accordingly.

  3. #3
    Join Date
    Nov 2000
    Posts
    169
    Thanks for the answer. But my question is with the above information that I have supplied, how do I create a table with that Information.

    Example for Table2 based on the information what number do I have to give initial extent, next extent, max extents, pct increase, pct used, pct free, etc.

    syill learning,
    learn

  4. #4
    2 ways:
    Hard: Read the Developer and Admin books the chapter Sizing.
    Basically you estimate the max and avg row size and multiply.
    Easy: In Schema Manager or DBA Studio simulate the creation of yor table and in Storage tab check Auto calculation , put your values, click "Show SQL" to view the generated SQL.
    Hope it helps.
    Ramon Caballero, DBA, rcaballe@yahoo.com

  5. #5
    Join Date
    Nov 2000
    Posts
    169
    I really appreciate your help.

    still learning,
    learn

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width