Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    15

    Unanswered: Max size of a table

    Is there a maximum or optimum number of rows I should have in a table so that I can have fastest search queries. I am a novice programmer just developed something for my work place.
    The database has a table created by converting data from excel spreadsheets. There were 24 spreadsheets for 12 months each having approximately 500 rows. Designed this way the table will have approximately 24 * 500 = 12000 records. Should I consider redesigning the database to make searches faster

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    It is not really the number of rows or columns, but these can be contributing factors, that effect performance but it can be a number of things.

    Can you generate the sql script for the table definition by right clicking on the table in enterprise manager and going to all tasks --> generate sql scripts?

    Can you also post the sql for the query?

    Also let us know about constraints, triggers and indices that may be on the table.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

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