SlideShare a Scribd company logo
1 of 1
Download to read offline
what are the best way to query optimization in MYSQL.
Solution
The best way to query optimization in MYSQL is as below.
1.INDEXES:It behaves as a pointers to row of a table. MYSQL permits us to index data
tables.computing the index to a table is nothing but calling the CREAYTE INDEX command
,defining the feilds to index.nearly 16 indexes is possible for a table. Additionally the MYSQL
assiststhe multi column indexes and full text search indexes.
Additionally to query optimization in MYSQL.
1.Optimizing the query perfomance:during the examination of query perfomance,it is in service
to review the EXPLAIN keyword. it is kept before a select query ,tells how MYSQL aims to
execute the query and rows required to process .
2.Modifying the internal variables: MYSQL is much open and reasonably simple additonally
fine-tune its default settings to get high perfomance and stability.

More Related Content

Similar to what are the best way to query optimization in MYSQL.SolutionT.pdf

Sql Interview Questions
Sql Interview QuestionsSql Interview Questions
Sql Interview Questions
arjundwh
 
MySQL: Know more about open Source Database
MySQL: Know more about open Source DatabaseMySQL: Know more about open Source Database
MySQL: Know more about open Source Database
Mahesh Salaria
 
Indexing the MySQL Index: Key to performance tuning
Indexing the MySQL Index: Key to performance tuningIndexing the MySQL Index: Key to performance tuning
Indexing the MySQL Index: Key to performance tuning
OSSCube
 

Similar to what are the best way to query optimization in MYSQL.SolutionT.pdf (20)

JSSUG: SQL Sever Index Tuning
JSSUG: SQL Sever Index TuningJSSUG: SQL Sever Index Tuning
JSSUG: SQL Sever Index Tuning
 
Sql wksht-7
Sql wksht-7Sql wksht-7
Sql wksht-7
 
Supporting search as-you-type using sql in databases
Supporting search as-you-type using sql in databasesSupporting search as-you-type using sql in databases
Supporting search as-you-type using sql in databases
 
Module08
Module08Module08
Module08
 
Module08
Module08Module08
Module08
 
Query parameterization
Query parameterizationQuery parameterization
Query parameterization
 
MySQL Performance Optimization
MySQL Performance OptimizationMySQL Performance Optimization
MySQL Performance Optimization
 
SQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with TrainingSQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with Training
 
Sql
SqlSql
Sql
 
Sql Interview Questions
Sql Interview QuestionsSql Interview Questions
Sql Interview Questions
 
Sql
SqlSql
Sql
 
Sql
SqlSql
Sql
 
153680 sqlinterview
153680  sqlinterview153680  sqlinterview
153680 sqlinterview
 
My sql performance tuning course
My sql performance tuning courseMy sql performance tuning course
My sql performance tuning course
 
MySQL: Know more about open Source Database
MySQL: Know more about open Source DatabaseMySQL: Know more about open Source Database
MySQL: Know more about open Source Database
 
Indexing the MySQL Index: Key to performance tuning
Indexing the MySQL Index: Key to performance tuningIndexing the MySQL Index: Key to performance tuning
Indexing the MySQL Index: Key to performance tuning
 
Optimized cluster index generation
Optimized cluster index generationOptimized cluster index generation
Optimized cluster index generation
 
MySQL.pptx
MySQL.pptxMySQL.pptx
MySQL.pptx
 
Tips for Database Performance
Tips for Database PerformanceTips for Database Performance
Tips for Database Performance
 
dotnetMALAGA - Sql query tuning guidelines
dotnetMALAGA - Sql query tuning guidelinesdotnetMALAGA - Sql query tuning guidelines
dotnetMALAGA - Sql query tuning guidelines
 

More from irshadkumar3

Use the Internet to research one of the four modes of transportation.pdf
Use the Internet to research one of the four modes of transportation.pdfUse the Internet to research one of the four modes of transportation.pdf
Use the Internet to research one of the four modes of transportation.pdf
irshadkumar3
 
What are the proteins involved in this functions In lecture we dis.pdf
What are the proteins involved in this functions In lecture we dis.pdfWhat are the proteins involved in this functions In lecture we dis.pdf
What are the proteins involved in this functions In lecture we dis.pdf
irshadkumar3
 
Using Social Media to Tell the Story of TOMS TOMS offers more than a.pdf
Using Social Media to Tell the Story of TOMS TOMS offers more than a.pdfUsing Social Media to Tell the Story of TOMS TOMS offers more than a.pdf
Using Social Media to Tell the Story of TOMS TOMS offers more than a.pdf
irshadkumar3
 
please help! READ th.pdf
please help! READ th.pdfplease help! READ th.pdf
please help! READ th.pdf
irshadkumar3
 
I am getting an errormsg 911, Level 16, State 1, Line 12 Database.pdf
I am getting an errormsg 911, Level 16, State 1, Line 12 Database.pdfI am getting an errormsg 911, Level 16, State 1, Line 12 Database.pdf
I am getting an errormsg 911, Level 16, State 1, Line 12 Database.pdf
irshadkumar3
 
How do you do the last page. How do you make the picture with the t.pdf
How do you do the last page. How do you make the picture with the t.pdfHow do you do the last page. How do you make the picture with the t.pdf
How do you do the last page. How do you make the picture with the t.pdf
irshadkumar3
 
How do auditors gain an understanding of the internal controls in an.pdf
How do auditors gain an understanding of the internal controls in an.pdfHow do auditors gain an understanding of the internal controls in an.pdf
How do auditors gain an understanding of the internal controls in an.pdf
irshadkumar3
 

More from irshadkumar3 (20)

Describe the three ways in which protists can move. Provide an examp.pdf
Describe the three ways in which protists can move. Provide an examp.pdfDescribe the three ways in which protists can move. Provide an examp.pdf
Describe the three ways in which protists can move. Provide an examp.pdf
 
A woman with type O blood gave birth to a baby, also with type O bloo.pdf
A woman with type O blood gave birth to a baby, also with type O bloo.pdfA woman with type O blood gave birth to a baby, also with type O bloo.pdf
A woman with type O blood gave birth to a baby, also with type O bloo.pdf
 
A 15 (ww) solution of BaCl2 in water has a density of 1.12 gmL..pdf
A 15 (ww) solution of BaCl2 in water has a density of 1.12 gmL..pdfA 15 (ww) solution of BaCl2 in water has a density of 1.12 gmL..pdf
A 15 (ww) solution of BaCl2 in water has a density of 1.12 gmL..pdf
 
Use the Internet to research one of the four modes of transportation.pdf
Use the Internet to research one of the four modes of transportation.pdfUse the Internet to research one of the four modes of transportation.pdf
Use the Internet to research one of the four modes of transportation.pdf
 
Which of these worms are segmentedA.annelidsB.planariansC.rou.pdf
Which of these worms are segmentedA.annelidsB.planariansC.rou.pdfWhich of these worms are segmentedA.annelidsB.planariansC.rou.pdf
Which of these worms are segmentedA.annelidsB.planariansC.rou.pdf
 
What are the proteins involved in this functions In lecture we dis.pdf
What are the proteins involved in this functions In lecture we dis.pdfWhat are the proteins involved in this functions In lecture we dis.pdf
What are the proteins involved in this functions In lecture we dis.pdf
 
Using Social Media to Tell the Story of TOMS TOMS offers more than a.pdf
Using Social Media to Tell the Story of TOMS TOMS offers more than a.pdfUsing Social Media to Tell the Story of TOMS TOMS offers more than a.pdf
Using Social Media to Tell the Story of TOMS TOMS offers more than a.pdf
 
The _____ were Roman merchantsSolutionCorrect AnswerPlebeia.pdf
The _____ were Roman merchantsSolutionCorrect AnswerPlebeia.pdfThe _____ were Roman merchantsSolutionCorrect AnswerPlebeia.pdf
The _____ were Roman merchantsSolutionCorrect AnswerPlebeia.pdf
 
The functions f_1, f_2, ..., f_m defined on the interval I are said t.pdf
The functions f_1, f_2, ..., f_m defined on the interval I are said t.pdfThe functions f_1, f_2, ..., f_m defined on the interval I are said t.pdf
The functions f_1, f_2, ..., f_m defined on the interval I are said t.pdf
 
Silica gel is slightly acidic. Will this cause an acidic compound to.pdf
Silica gel is slightly acidic. Will this cause an acidic compound to.pdfSilica gel is slightly acidic. Will this cause an acidic compound to.pdf
Silica gel is slightly acidic. Will this cause an acidic compound to.pdf
 
Rank the four substances from least to most polar, Ethanol, pentanol.pdf
Rank the four substances from least to most polar, Ethanol, pentanol.pdfRank the four substances from least to most polar, Ethanol, pentanol.pdf
Rank the four substances from least to most polar, Ethanol, pentanol.pdf
 
Compare and contrast the main approaches for developing a WBS. Which.pdf
Compare and contrast the main approaches for developing a WBS. Which.pdfCompare and contrast the main approaches for developing a WBS. Which.pdf
Compare and contrast the main approaches for developing a WBS. Which.pdf
 
PROBLEM 4 Run runTerribleLoop for one hour. You can stop the prog.pdf
PROBLEM 4 Run runTerribleLoop for one hour. You can stop the prog.pdfPROBLEM 4 Run runTerribleLoop for one hour. You can stop the prog.pdf
PROBLEM 4 Run runTerribleLoop for one hour. You can stop the prog.pdf
 
please help! READ th.pdf
please help! READ th.pdfplease help! READ th.pdf
please help! READ th.pdf
 
In 1972 the small kingdom of Bhutan, in Asia, developed a measure of.pdf
In 1972 the small kingdom of Bhutan, in Asia, developed a measure of.pdfIn 1972 the small kingdom of Bhutan, in Asia, developed a measure of.pdf
In 1972 the small kingdom of Bhutan, in Asia, developed a measure of.pdf
 
Identify and explain, in order of occurrence, the four primary phase.pdf
Identify and explain, in order of occurrence, the four primary phase.pdfIdentify and explain, in order of occurrence, the four primary phase.pdf
Identify and explain, in order of occurrence, the four primary phase.pdf
 
IA 31 The reweycir deseers.ostains 4phaws G1,2, s, and M panes .pdf
IA 31 The reweycir deseers.ostains 4phaws G1,2, s, and M panes .pdfIA 31 The reweycir deseers.ostains 4phaws G1,2, s, and M panes .pdf
IA 31 The reweycir deseers.ostains 4phaws G1,2, s, and M panes .pdf
 
I am getting an errormsg 911, Level 16, State 1, Line 12 Database.pdf
I am getting an errormsg 911, Level 16, State 1, Line 12 Database.pdfI am getting an errormsg 911, Level 16, State 1, Line 12 Database.pdf
I am getting an errormsg 911, Level 16, State 1, Line 12 Database.pdf
 
How do you do the last page. How do you make the picture with the t.pdf
How do you do the last page. How do you make the picture with the t.pdfHow do you do the last page. How do you make the picture with the t.pdf
How do you do the last page. How do you make the picture with the t.pdf
 
How do auditors gain an understanding of the internal controls in an.pdf
How do auditors gain an understanding of the internal controls in an.pdfHow do auditors gain an understanding of the internal controls in an.pdf
How do auditors gain an understanding of the internal controls in an.pdf
 

Recently uploaded

Recently uploaded (20)

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 

what are the best way to query optimization in MYSQL.SolutionT.pdf

  • 1. what are the best way to query optimization in MYSQL. Solution The best way to query optimization in MYSQL is as below. 1.INDEXES:It behaves as a pointers to row of a table. MYSQL permits us to index data tables.computing the index to a table is nothing but calling the CREAYTE INDEX command ,defining the feilds to index.nearly 16 indexes is possible for a table. Additionally the MYSQL assiststhe multi column indexes and full text search indexes. Additionally to query optimization in MYSQL. 1.Optimizing the query perfomance:during the examination of query perfomance,it is in service to review the EXPLAIN keyword. it is kept before a select query ,tells how MYSQL aims to execute the query and rows required to process . 2.Modifying the internal variables: MYSQL is much open and reasonably simple additonally fine-tune its default settings to get high perfomance and stability.