Welcome Guest, Not a member yet? Register   Sign In
Handling large traffic
#10

[eluser]ChiefChirpa[/eluser]
Quote:But if you’ve many data in the session a VARCHAR field is to small. You have to check the length of the fields content before you change it from TEXT to VARCHAR.

Which is only really a problem if:

1 - You use an old version of MySQL.
2 - You have some requirement to store far more than normal in the session.

For MySQL 5+ the size of VARCHAR is only limited by the maximum row size, which in theory lets you store up to 65,535 bytes, I'd suggest most people's session requirements fit into that very easily.


Messages In This Thread
Handling large traffic - by El Forum - 01-06-2010, 07:29 AM
Handling large traffic - by El Forum - 01-06-2010, 07:33 AM
Handling large traffic - by El Forum - 01-06-2010, 07:54 AM
Handling large traffic - by El Forum - 01-06-2010, 07:59 AM
Handling large traffic - by El Forum - 01-06-2010, 08:38 AM
Handling large traffic - by El Forum - 01-06-2010, 08:43 AM
Handling large traffic - by El Forum - 02-14-2010, 08:00 AM
Handling large traffic - by El Forum - 02-14-2010, 01:44 PM
Handling large traffic - by El Forum - 02-14-2010, 01:54 PM
Handling large traffic - by El Forum - 02-14-2010, 03:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB