Jump to content

Recommended Posts

Hello,

I'm working with an application that needs to create around 500 columns in a table. My question is what will happen when some dozen people will select/insert into the table, does it affects performance (the server has big amount of resources 6core 5gigs ram and the mysql version is 5.0.90), does it crash. I know that the limit is 4096 according to mysql documentation.

I know this isn't a practical solution but there is another app (that i cannot modify) witch requires to read the table with all columns.

Thank you

Link to comment
https://forums.phpfreaks.com/topic/232171-mysql-5090-around-500-columns-question/
Share on other sites

to be more clear ill create the table with 500 empty cols

id=>primary auto increment INT(11), data1 ......... data500=>varchar(255).

The query's will be like:

insert into table data1....data500

update based on id

and select based on id

that's all no joins or other complex query's

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.