performance implication of using mediumtext over text in mysql

i have a mysql table with a column of type text. i want to change the type to mediumtext to support large amount of data.
what are the performance implications of the same.
will the queries be slow ?

Rohit BajajAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
It will be slower although I don't that you will be able to tell.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rohit BajajAuthor Commented:
i read that text and mediumtext are both stored separately and not in the table only a pointer to that is stored in table...

how can i verify this on my own...
because when i do select from table
i see the whole text only in the ouput and not any pointer
Dave BaldwinFixer of ProblemsCommented:
You can't easily verify it on your own.  It is supposed to act like single field.  The pointer is an internal function for the MySQL server, not for the user.
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

Rohit BajajAuthor Commented:
ok. where exactly does mysql stores the text data...and what exactly happens when we query the table. how does it retrieve the data for text type columns or mediumtext type columns
Dave BaldwinFixer of ProblemsCommented:
MySQL stores all the database info in a 'data' directory.  I have never thought about how it retrieves the data.  Those functions are internal to the sever and invisible to the user.
Bernard SavonetCIOCommented:
Performance would probably not impacted that much, but... if the field is indexed that might have a huge impact on performance

I would guess on the contrary that manging disk space for the data (ie, recovering wasted space by "optimize"-ing te table) would not be affected if your average text size stays about the same
Bernard SavonetCIOCommented:
Thx for the grade and points.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.