Efficient Table Design

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Efficient Table Design

    Hi Guys,

    I have a 35 records to be store. So which design should I use?

    1. Create SIngle table and store all 35 records inside the table

    2. Create Parent Tbl and child table to store the 35 record.

    Which one more efficient and faster when we do query (display, insert & Update)

    Thx in advance

    Regards,
    Shaffiq

    capik79 Guest

  2. Similar Questions and Discussions

    1. Making table cells available at design time
      I have several custom UI controls that are table-based, and I would like to make some of the table cells available for users to edit at Design time,...
    2. I cant see most of the table in Dreamweaver Design View
      Hi can someone could advise me why I cant see most of the table in this html file in Dreamweaver. Can someone advise? I can see it working in...
    3. coffee table book - interior design ?
      hi all i was approached by one of my client (web design) to photograph a coffee table book on interior design !! this is good news ! designing...
    4. Design: one table or two tables, depending on usage
      Gidday, I'd create a "mapping" table... one that has a unique identifier that can be linked to the billto field... and also a dept field and an...
    5. Table design
      SQL 2K I am creating a table for holding data used for data wear-housing project. This table will eventually going to have millions of records....
  3. #2

    Default Re: Efficient Table Design

    Generally speaking, queries run against a single table execute faster than
    queries run against multiple tables that have to be joined together. If all
    the data is in the same place, there's simply less work to be done. This is
    why you'll hear of some databases being 'denormalized for performance reasons.'
    They are removing some of the normalized, multi-table design in order to gain
    faster query execution.

    That said, with small amounts of data, the difference will be a small one,
    and, while performance is important, there are many other factors to consider
    in database design. Most designs will go for a more normalized approach that
    uses multiple tables - sacrificing performance to gain data integrity, ease of
    maintenance and a more robust system.



    JaredJBlackburn Guest

  4. #3

    Default Re: Efficient Table Design

    shaffiq,

    you are only going to have 35 records in this database? are you sure that is
    all you will ever have?... a good "normalized" database and good SQL queries
    can actually make your queries run faster than a single table db. but, if you
    are only going to have 35 records, neither method should be slow, and depending
    on the type of information you are talking about, (and your experience in
    coding) it may be an easier and quicker just to leave it in one table.

    elDonrico Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139