Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default MySQL limitations

    Does anyone know what the maximun number of columns I could put in a table
    is?? I can't find it in manual. Like, could I have a table with 200,000
    columns?

    Mike




    Mike Mannakee Guest

  2. Similar Questions and Discussions

    1. Limitations of CFParam
      I'm curious if someone can point me to any documentation regarding the limits of the <cfparam> tag. More specifically, can it be used to set a...
    2. Is there conversion limitations?
      This is similar to the problem I am experiencing. I have a 29 page manual with high quality Jpegs and Gifs with transparent backgrounds. Why would...
    3. [PHP] MySQL limitations
      http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=mysql+max+columns&btnG=Google+Search Mike Mannakee wrote:
    4. limitations
      Hi, please, can anybody tell me briefly a) how many columns i) a table ii) a view may have b) how many aliases can be used in a SQL statement ...
    5. frontpage limitations
      What are the limitations using frontpage for development given a site with web contents size of 1.0 GB+
  3. #2

    Default Re: [PHP] MySQL limitations

    You should rethink your data structure if you want to create 200,000
    columns. If you need to create that many columns, chances are you are
    going to need to add more periodically. That means changing your table
    structure which you shouldn't have to do in a well defined schema. I'm
    guessing most of those columns would be empty for any given record.

    Try changing your columns to rows and have a column that you use as a
    row "label" to qualify what data that row holds. This gives you
    virtually unlimited elements you can track, you can add new elements
    very easily and it's easier to code. From a coding stand point your
    just changing one parameter, the data type field.

    Hope that leads you in the right direction.


    On Monday, July 28, 2003, at 03:09 PM, Mike Mannakee wrote:
    > Does anyone know what the maximun number of columns I could put in a
    > table
    > is?? I can't find it in manual. Like, could I have a table with
    > 200,000
    > columns?
    >
    > Mike
    >
    --
    Brent Baisley
    Systems Architect
    Landover Associates, Inc.
    Search & Advisory Services for Advanced Technology Environments
    p: 212.759.6400/800.759.0577

    Brent Baisley 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