Home >> MySql >> What are advantage and disadvantage of indexing in MySql

What are advantage and disadvantage of indexing in MySql

Advantage

1-Index use for query results is much better performance.

2-It is used for quickly retrive data.

3-It can be used for sorting.

4-Unquie index gurantee uniquely identify records in the database.

5-Full text search used for optimize searching.

Disadvantage

1-They decrease performance on inserts,updates and deletes.

2-They take up memory space.

Post Your Comment

Next Questions
Create database
Drop database
Select database
Create table
Drop table
Truncate table
Insert query
Select table
Where clause
AND Clause
OR Clause
Update query
Delete query
Like clause
IN clause
Order By
Group By
Distinct keyword
Sorting
Between
Having
Union
Union all
Exits
Not Exits

Copyright ©2022 coderraj.com. All Rights Reserved.