Programster's Blog

Tutorials focusing on Linux, programming, and open-source

MySQL Text Type

Text Types

TINYTEXT

  • 255 characters
  • Storage Space: 255 bytes
  • Pretty pointless using this instead of varchar(255).

TEXT

  • 65535 characters
  • Storage Space: 64 KB

MEDIUMTEXT

  • 16,777,215 characters
  • Storage Space: 16 MB

LONGTEXT

  • 4,294,967,295 characters
  • Storage Space: 4 GB

BIGINT

  • Unsigned Range 0 - 18446744073709551615
  • Signed Range -9223372036854775808 - 9223372036854775807
  • Storage Space: 8 bytes

References

Last updated: 25th January 2021
First published: 11th December 2020

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch