Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is indexing in mysql and how do we create indexing in
mysql

Answer Posted / ramesh n

Indexes are created on a per column basis. If you have a
table with the columns: name, age, birthday and employeeID
and want to create an index to speed up how long it takes to
find employeeID values in your queries, then you would need
to create an index for employeeID. When you create this
index, MySQL will build a lookup index where employeeID
specific queries can be run quickly. However, the name, age
and birthday queries would not be any faster.

Indexes are something extra that you can enable on your
MySQL tables to increase performance,cbut they do have some
downsides. When you create a new index MySQL builds a
separate block of information that needs to be updated every
time there are changes made to the table. This means that if
you are constantly updating, inserting and removing entries
in your table this could have a negative impact on performance.

syntax
CREATE TABLE <table name> (
<filed name> <field type>....
)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a variable cost example?

1030


What is the difference between implode() and explode() in php?

1016


What is psr in php?

1047


Explain about PHP filter and why it should be used?

940


How to remove values saved in the current session?

1025


Why is php used?

1004


Why session is required?

930


Is php still relevant 2019?

954


How to include a file code in different files in php?

1090


What is the difference between apache vs niginx?

1056


Write a select query that will be displayed the duplicated site name and how many times it is duplicated?

1009


How to retrieve the original query string?

1067


What is the use of extract function in php?

961


Tell me how can we get the error when there is a problem to upload a file?

989


Is age a variable in research?

894