Jump to content

MySQL Performance Questions


random1

Recommended Posts

Hey All,

 

I recently watched a talk about MySQL performance tips and would like to check a few points brought up about columns:

 

  • BIGINT(50) should be changed to INT UNSIGNED
  • Always assign columns as UNSIGNED unless there is a reason otherwise
  • Always use NOT NULL unless there is a reason not to
  • VARCHAR(255) is bad design and a defined data type is much better

 

Do these points seem right and reasonable?

Link to comment
https://forums.phpfreaks.com/topic/197693-mysql-performance-questions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.