indexing - Do mysql update queries benefit from an index? -


i have table updates , i'm wondering if update queries benefit having index on column , updated column or index on column?

just on column. index on update column slow down query because index has updated along data. index on column speed updates, , selects, slow down insertions.

indices cause overhead when delete rows. in general thing though on columns using where on lot, , necessary on columns joins on, or order by


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -