If I have a large MySQL table and I want to add a column to it, is it more costly to add the column in a non-last position in column order (using the AFTER clause) vs. to just add it as the last column?
-
-
Answer:
Shouldn't matter: in either case the entire table will be rebuilt. However, it may be more "costly" if you need to rewrite application queries that assume a certain column ordering and your ALTER TABLE modifies that order.
Jay Janssen at Quora Visit the source
Related Q & A:
- Can I estimate the row count of a large mysql table using the disk space?Best solution by Database Administrators
- I want to add my personal photos. how can i add it.
- I want to cook Pho but I am not sure if I should add Fred Phelps or Glenn Beck to season it.Best solution by answers.yahoo.com
- I want to start a non profit.Best solution by Yahoo! Answers
- Is CNA a good to start if I want to be a nurse?Best solution by wikihow.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.