SQL Indexes - Definition, Examples, and Tips

SQL Indexes - Definition, Examples, and Tips

Database Star

2 года назад

74,688 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

David
David - 09.07.2023 02:12

This is really nice, would you ever consider making a more advanced version, for people who know what indexes are but need advice on where to create them, what columns to add, single vs. multi-column

Ответить
Szilard Fineas Covasa
Szilard Fineas Covasa - 31.05.2023 00:30

Love these easy-to-digest videos to cover missing pieces of knowledge or act as refreshers!

Also, the teaching style. Thank you!

Ответить
Arun Ajay
Arun Ajay - 22.05.2023 08:51

great intro video, thank you

Ответить
Data Lore
Data Lore - 13.05.2023 22:50

Does order matter when choosing which columns in the WHERE clause? Say for example I have a primary key index of (ID, LOCATION). There will be many ID's in the table, but only 5 LOCATION values. In my SELECT statement, should I use "SELECT * FROM EMPLOYEES WHERE ID = :P_ID_PARM AND LOCATION = :P_LOCATION_PARM" or should I use "SELECT * FROM EMPLOYEES WHERE LOCATION = :P_LOCATION_PARM AND ID = :P_ID_PARM"? Does it matter?
Thanks!

Ответить
Apurva Tripathi
Apurva Tripathi - 20.04.2023 22:50

TopNotch

Ответить
Rajiv Jani
Rajiv Jani - 25.02.2023 19:11

Super! Many thanks for sharing!

Ответить
Nicholas Smith
Nicholas Smith - 19.12.2022 01:39

another helpful video, thanks again

Ответить
Vijay Verma
Vijay Verma - 01.11.2022 11:42

Great.......I have one question I don't know is it valid or not. Suppose I created one index on the primary key of one table, Will it run automatically, or need to create any job for that?

Ответить
Rafael Nanes
Rafael Nanes - 25.06.2022 12:24

Thanks for the explanation. It was very very helpful. Now I really understand well indexes.

Ответить
Mahesh Muttinti
Mahesh Muttinti - 22.05.2022 11:43

very nice explaination

Ответить
Siddhartha Penchala
Siddhartha Penchala - 01.03.2022 17:30

Thanks for the brief Explanation, Sir.


Can you please clarify my doubt. Sir, I have created an index but the optimizer is not using it? What are Such cases where optimizer doesn't use the index?

Ответить