Тёмный

Indexes in Oracle :Index Scan Methods :Part 2 

Tech Coach
Подписаться 33 тыс.
Просмотров 36 тыс.
50% 1

The Video Explains when should you create indexes.
The difference between Simple and composite Index, Relevance of order in composite indexes and Index Scan Methods in detail.
1.Index Unique scan
2.Index Range Scan
3. Index Skip Scan
4. Fast full Index Scan
#INDEXES #ORACLEINDEXING #TECHCOACH
5. Full Index Scan
If you have any questions just drop in a comment

Опубликовано:

 

18 фев 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 108   
@ashishmeher-tb8ji
@ashishmeher-tb8ji 2 месяца назад
very detailed explanation
@TechCoach
@TechCoach 2 месяца назад
I am glad I could help
@sireeshaas7680
@sireeshaas7680 3 года назад
I was asked about invisible index today in an interview. I was able to answer it confidently ☺️ Thanks much for making videos in an understandable way👍🙏
@TheSomnath2000
@TheSomnath2000 6 лет назад
Thanks Vivek for sharing the knowledge with us . These videos are awesome . Could you please create videos on the below mentioned topics . . 1. Oracle Wait events - Different types of wait events . 2. OEM -- How to use all the important functions of OEM . 3. AWR report - How to analyse an AWR report . 4. RMAN Backup 5. Explain Plan -- How to analyse an explain plan of a complex query It will be really helpful .. Thanks in advance .
@mohitbhandari1106
@mohitbhandari1106 6 лет назад
Please create viedo on multiset operators and how it uses as performance improvement
@prasadzagde8210
@prasadzagde8210 2 года назад
Superb.. explained in a very neat manner.. Thanks for sharing knowledge.
@MK-kn9dl
@MK-kn9dl 2 месяца назад
THANKS A LOT, IT WAS SO USEFULL FOR ME😍
@TechCoach
@TechCoach 2 месяца назад
I am glad I could help
@sagarbodala9590
@sagarbodala9590 6 лет назад
awesome.. thanks for sharing
@TechCoach
@TechCoach 6 лет назад
Thanks a lot for the kind words:),Please help me in my new Initiative by subscribing sharing and watching my new youtube channel "An Indian Abroad" ru-vid.com/show-UCoLdaMxhfDgdgIAcRGlUvkg
@sachin1234566
@sachin1234566 6 лет назад
Good explanation... You have a deep knowledge keep it up bro. Thanks
@TechCoach
@TechCoach 6 лет назад
Thanks a lot for the kind words :)
@sudhakar1dw
@sudhakar1dw 6 лет назад
Thanks for providing such a very informative content!!
@TechCoach
@TechCoach 6 лет назад
sudhakar1dw Thanks a lot for the kind words.I Would really appreciate if you help me build my new channel by watching subscribing and sharing "An Indian Abroad". ru-vid.com/show-UCoLdaMxhfDgdgIAcRGlUvkg
@ankushgondane8642
@ankushgondane8642 6 лет назад
Very much informative video It tells how deep understanding you are having. Thank you👍
@TechCoach
@TechCoach 6 лет назад
Ankush Gondane Thanks a lot Ankush for the kind words :)
@amitkumar-ev8im
@amitkumar-ev8im 5 лет назад
Really nice video,Once Again.Please upload more video related to PerformanceTuning.
@sumitvishway9901
@sumitvishway9901 3 года назад
Awesome Man!!!! you made learning easy. Please make some real live performance problem videos. till now no one has posted good perf vidoes.
@reverend900
@reverend900 6 лет назад
BEST VID ABOUT SCANNING METHODS.. Thanks
@TechCoach
@TechCoach 6 лет назад
reverend900 Thanks a lot for the wonderful comment, I have a small request please help me build a new channel by subscribing ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-HBQHekM1U2c.html
@reverend900
@reverend900 6 лет назад
+Tech Coach Done, I already watsaap to my group/learners. This vid has really high quality content. You can also upload on udemy.com
@TechCoach
@TechCoach 6 лет назад
Thanks a lot buddy for the help, I will surely think about it :)
@dollyphilip20
@dollyphilip20 4 года назад
Thank you Vivek. Very good explanation. You're the best.
@TechCoach
@TechCoach 4 года назад
Thanks a lot for the kind words, they made my morning
@gauravsinghal4948
@gauravsinghal4948 3 года назад
Very informatic session
@TechCoach
@TechCoach 3 года назад
Thanks Gaurav for the kind words :) Please consider subscribing to my other channel as well. It will really help me. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
@PrateekMehtaABDFAN
@PrateekMehtaABDFAN 4 года назад
Thanks a lot for taking time to make such practical videos..
@TechCoach
@TechCoach 4 года назад
Thanks a lot for the kind words Prateek, I have created 6 other videos on indexing that may interest you :)
@sathurmukil6308
@sathurmukil6308 5 лет назад
Good explanation bro..your efforts are much appreciated!!
@TechCoach
@TechCoach 5 лет назад
Thanks Sathur for the kind words. I am working on this new channel and would really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-IP2Vn6jK8Hg.html
@prashantmhatre9225
@prashantmhatre9225 6 лет назад
Awesome video!! Waiting for the next tutorial desperately :)
@TechCoach
@TechCoach 6 лет назад
Thanks Prashant, I will upload the next one soon.
@TechCoach
@TechCoach 6 лет назад
Please help me in my new Initiative by subscribing sharing and watching my new youtube channel "An Indian Abroad" ru-vid.com/show-UCoLdaMxhfDgdgIAcRGlUvkg
@JagadishVarodiya
@JagadishVarodiya 3 года назад
Great Thanks for explaing this in detail
@TechCoach
@TechCoach 3 года назад
Thanks a lot for the kind words
@atulgupta9301
@atulgupta9301 2 года назад
Beautifully explained.
@TechCoach
@TechCoach 2 года назад
Thanks Atul :)
@neerajshukla6907
@neerajshukla6907 4 года назад
AMAZING EXPLANATION BRO
@TechCoach
@TechCoach 4 года назад
Thanks Neeraj for the kind words, I have a small request. I am working on this new RU-vid channel.I would really appreciate if you watch and subscribe to it. Your support is my motivation. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0sLU8YaYr4w.html
@smitaa2106
@smitaa2106 5 лет назад
You are like a google..full of knowledge..
@TechCoach
@TechCoach 5 лет назад
Thanks Smita for the kind words. I am working on this new channel and would really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-IP2Vn6jK8Hg.html
@sagarjadhav299
@sagarjadhav299 5 лет назад
It's really helpful sir
@TechCoach
@TechCoach 5 лет назад
Thanks a lot for the kind words sagar, I have a small request I am working on this new youtube channel " An Indian Abroad " and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-11DK-oyRql0.html
@raghavmahajan3129
@raghavmahajan3129 4 года назад
very clear and precise explanation
@TechCoach
@TechCoach 4 года назад
Thanks Raghav Mahajan for the kind words :)
@grvmavi
@grvmavi 3 года назад
Thanks Brother
@tapasgaan7371
@tapasgaan7371 6 лет назад
Hi Vivek, really nice explanation...but I have one doubt why in order by 1st column in composite index index full scan and why in order by other column in composite index index fast full scan will be used...I mean what is the exact difference b/w index full scan and index fast full scan . .? Thank u
@TechCoach
@TechCoach 6 лет назад
When doing Index fast full scan the query doesn't care in which order the data is stored.
@Aubd417
@Aubd417 2 года назад
Thanks a lot for your valuable contents, in the video @2.11 do you mean to create index on foreign key columns? Could you please clarify
@TechCoach
@TechCoach 2 года назад
Yes,You should create indexes on columns that you going to use often in joins that includes the foreign key columns,I hope this clarifies :)
@pramod7191
@pramod7191 4 года назад
Good Explanation Sir.. can you please upload vedio of function based index.
@TechCoach
@TechCoach 4 года назад
Thanks pramod for the kind words. Here is the video on functional index. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-oIkPqhSIctA.html
@dineshattluri6254
@dineshattluri6254 4 года назад
for index fast full scan, you have mentioned that there should not be any order by clause. but if we use any other indexed columns from a composite index except 1stcolumn, it is a fast full index, right? then why it will be a prerequisite of not having order by clause?
@GauravKumar-ec8vd
@GauravKumar-ec8vd 5 лет назад
I have been studying index from many days but couldn't understand better. Thanks you so much sir for explaining in depth but in simple way. May I know which topics I must go through to better my basics?
@AnIndianAbroadd
@AnIndianAbroadd 5 лет назад
Learn Indexing, Partitioning, PL/SQL ,procedures ,packages function, analytical functions,triggers, views and similar stuff you will do good..All the best :)
@GauravKumar-ec8vd
@GauravKumar-ec8vd 5 лет назад
@@AnIndianAbroadd thank you so much
@AnIndianAbroadd
@AnIndianAbroadd 5 лет назад
@@GauravKumar-ec8vd I have a small request, please watch and subscribe to my channel " An Indian Abroad"
@fodiee_girl
@fodiee_girl Год назад
Please upload tutorial on Oracle hints and performance tuning plz
@priyankajoshi5931
@priyankajoshi5931 5 лет назад
Thanks TechCoach for the explanation. I wanted to know how Oracle internally executes the following query : select distinct sal from emp e1 where 3 = (select count(distinct sal) from emp e2 where e1.sal
@TechCoach
@TechCoach 5 лет назад
Hi Priyanka, sure I will take a look, Can you please tell me what exactly you are trying to achieve? May be there is a more efficient way to write the query? I have a small request, I am working on this new youtube channel and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-11DK-oyRql0.html
@vinod901
@vinod901 4 года назад
Priyanka Joshi, this link might help you, www.complexsql.com/query-to-find-second-highest-salary-of-employee/
@vinod901
@vinod901 4 года назад
Priyanka Joshi, this link might help you, www.complexsql.com/query-to-find-second-highest-salary-of-employee/
@blazejason5551
@blazejason5551 2 года назад
Sorry to be off topic but does anyone know a way to get back into an instagram account..? I somehow lost my login password. I would appreciate any assistance you can give me.
@creeddarian108
@creeddarian108 2 года назад
@Blaze Jason instablaster ;)
@mohitbhandari1106
@mohitbhandari1106 6 лет назад
Thanks Vivek it's really helpful :)
@TechCoach
@TechCoach 6 лет назад
Mohit Bhandari you are welcome :)
@mohitbhandari1106
@mohitbhandari1106 6 лет назад
can you reply to my question also which i asked on Local and Global index :)
@TechCoach
@TechCoach 6 лет назад
Mohit Bhandari sure I will do that, I will recommend watching the entire partitioning series first that will help you understand the concept better. As a. part of this Indexing series I will explain partitioned index again. I will try to explain with more examples
@mohitbhandari1106
@mohitbhandari1106 6 лет назад
Thanks :) Vivek for the quick response.. i will watch :)
@TechCoach
@TechCoach 6 лет назад
Please help me in my new Initiative by subscribing sharing and watching my new youtube channel "An Indian Abroad" ru-vid.com/show-UCoLdaMxhfDgdgIAcRGlUvkg
@tapasgaan7371
@tapasgaan7371 6 лет назад
N what is the difference b/w multiblock read and sequential read...I mean in sequential read in index , there is multiblock read as well...please clarify my confusion
@TechCoach
@TechCoach 6 лет назад
Index usually have sequential read which is the slowest because it traverse the index in a particular order. Only in case of Index Fast full scan multiblock read is performed because the query doesn't care in which order the data is to be retrived. Also all the columns that are part of the query should be part of the index as well.
@ravikhanna29
@ravikhanna29 6 лет назад
I have one question. index range scan does sequential read or multiblock read?
@TechCoach
@TechCoach 6 лет назад
It will use sequential read ( Single block read). I am working on this initiative, a new youtube channel named "an Indian Abroad" I would really appreciate if you watch, subscribe and share the video with your friends. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-HBQHekM1U2c.html
@aniketvinchurkar295
@aniketvinchurkar295 5 лет назад
please create one video on B-tree vs bit - map like this one please thanks you :)
@TechCoach
@TechCoach 5 лет назад
Sure Aniket, I will work on it. I have a small request I am working on this new channel and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-IP2Vn6jK8Hg.html
@shoumadipdas
@shoumadipdas 4 года назад
in your indexing tutorial 2,u have mentioned that adding a index will eliminate the chance of child table lock in case we delete/update/merge from parent table in a primary key - foreign key relationship... My question is what exactly will happen from index perspective after adding index in child table ...??
@TechCoach
@TechCoach 4 года назад
Shoumadip, when we update delete a row based on the index it will have to lock only the impacted row( row level locking) while if the index is not present it will have to lock the entire table for updates/deletes ( table level locking). You should once check out Bitmap indexes and why they shouldn't be used in a system that can have parallel updates. That will clarify your doubts. I am sorry for not replying earlier, things were a little hectic this week.
@shoumadipdas
@shoumadipdas 4 года назад
@@TechCoach i watched your bimap index video...i understood the concept...a big thanks to you...but i have below two doubts - 1) while creating bitmap join index on transaction & customers table exactly behind the scene how the index content will be like rowid--values...please provide a diagram to understand... 2) why adding a index in child table will prevent the locking on child table??please provide one real code example Regards, Shoumadip
@shoumadipdas
@shoumadipdas 4 года назад
Hi tech coach...also please explain a bit more on bitmap join index please...
@TechCoach
@TechCoach 4 года назад
Shoumadip, I will recommend reading a blog from asktom on the below topics they are excellent. Unfortunately I might take sometime to create content on your questions as I am working on some other videos right now
@anuragkumargupta7506
@anuragkumargupta7506 5 лет назад
IN WHICH CATAGOERY I SHOULD PLACED PRIMARY INDEXING ,SECONDARY INDEXING CLIUSTER INDEXING . ?
@tapasgaan7371
@tapasgaan7371 5 лет назад
does multiblock read in index fast full scan means it will directly read bulk of data from all leaf node
@TechCoach
@TechCoach 5 лет назад
That's right Tapas. I have a small request I am working on this new youtube channel " An Indian Abroad " and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-11DK-oyRql0.html
@tapasgaan7371
@tapasgaan7371 6 лет назад
One more doubt, in unique index even if not null constraint is not there , oracle should use unique index scan instead of full table scan since only one null value can exist in the indexed column...I hope u understand what I mean
@TechCoach
@TechCoach 6 лет назад
The assumption is incorrect, A unique index can have many null values. Create table Index_verify (A int, B Int) Create unique index A_Index_verify on Index_verify (A) Insert into index_verify Values (Null,2) Insert into index_verify Values (Null,2) Insert into index_verify Values (Null,2)
@tapasgaan7371
@tapasgaan7371 5 лет назад
Thanks for clearing the confusion
@tapasgaan7371
@tapasgaan7371 5 лет назад
One more doubt : why there should be no ordering clause in index fast full scan
@tapasgaan7371
@tapasgaan7371 5 лет назад
I think order by asc will hold good for index fast full scan but not desc clause
@amitkumar-ev8im
@amitkumar-ev8im 5 лет назад
Do you have any tutorial video for Oracle Hints.If yes Please share Link.
@AnIndianAbroadd
@AnIndianAbroadd 5 лет назад
Not yet amit let me work on it soon, I have a small request I am working on this new youtube channel " An Indian Abroad " and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-11DK-oyRql0.html
@deviprasad130
@deviprasad130 4 года назад
I don't find part-1 of "Indexes in Oracle :Index Scan Methods :Part 1"...Could you please provide the link..
@TechCoach
@TechCoach 4 года назад
Here you go buddy. Happy Learning :) Indexes in Oracle: ru-vid.com/group/PLUWdEQb_2yqVXnx-P1881VVtec8moW1sk
@fodiee_girl
@fodiee_girl Год назад
What about clustered and non clustered index could you make a vedio plz
@mohamedhameed3867
@mohamedhameed3867 4 года назад
Hello @Tech Coach, The following query gives me an INDEX SKIP SCAN instead of TABLE ACCESS FULL. EXPLAIN PLAN FOR SELECT * FROM INDEX_DEMO WHERE OBJECT_NAME = 'DUAL'; My index looks like this - alter table index_demo add constraint PK_INDEX_DEMO primary key (OWNER, OBJECT_NAME, OBJECT_TYPE, OBJECT_ID); OBJECT_NAME is in the second position but still i get an INDEX SKIP SCAN instead of TABLE ACCESS FULL. Could you kindly explain me why this is happening? Thanks in Advance
@tusharshreshth
@tusharshreshth 4 года назад
Mohamed, You are absolutely correct. Oracle document URL which clearly specifies, leading column of a composite index is not specified in the query predicate then optimizer considers a skip scan. In this video scenario he might not gathered the statistics for the table due to which full table scan is happened. docs.oracle.com/database/121/TGSQL/tgsql_optop.htm#GUID-B7C62F0F-EB7C-422C-919D-D86456A74A60
@anuragkumargupta7506
@anuragkumargupta7506 5 лет назад
I CATAGORIES THE INDEX AS FOLLOW :-  INDEXING IS DEFINED BASED ON ITS INDEXING ATTRIBUTES. INDEXING CAN BE OF THE FOLLOWING TYPES - 1.PRIMARY INDEXING 2.SECONDARY INDEXING. 3.CLUSTER INDEXING.  BASICALLY INDICES ARE OF TWO TYPES 1. ORDERED INDICES. i. DENSE INDEXING ii. SPARSE INDEXING B+TRESS( BALANCED TREE INDEX) BIT MAP 2. HASH INDICES.  INDICES ARE AGAIN DEVIDED ON THE BASICS OF NO. OF ATTRIBUTE 1. SINGLE ATTRIBUTE KEY INDICES I. B+ TREE II. CLUSTER AND NON CLUSTER OR PRIMARY OR SECONDARY INDICES 2. MULTIPLE ATTRIBUTE KEY INDICES. I. BITMAP  INDICES ARE DIVIDED ON THE BASICS OF LEVEL 1. SINGLE LEVEL INDICES 2. MULTI LEVEL INDICES B+ TREE BIT MAP INDEXING.  INDEX ARE CATEGRRIES ON THE BASIS OF STRUCTURE 1. B TRESS INDEX 2. BIT MAP INDEX.
@bmushtaqahmed
@bmushtaqahmed 5 лет назад
Good one, but I'm still confused about the index fast scan.
@TechCoach
@TechCoach 5 лет назад
Thanks for the kind words please let me know about your doubt. I have a small request I am working on this new youtube channel "An Indian Abroad" ,it will really help me if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-HBQHekM1U2c.html
@balasahebangde112
@balasahebangde112 3 года назад
Excellent explanation with hands on !! Only suggestion would be speed should be bit low as sometimes getting difficulties to understand.
@TechCoach
@TechCoach 3 года назад
Sure buddy I will work on it :)
@anuragkumargupta7506
@anuragkumargupta7506 5 лет назад
I M VERY CONFUSED ........😆😆😆😆😆
Далее
Partitioning in Oracle - Performance Basics
28:35
Просмотров 51 тыс.
Фэйворит жвачка А? (2024)
01:00
Просмотров 156 тыс.
Reverse Key Index :Types of Btree Index in Oracle
15:44
Index Organized Table in Oracle|IOT Oracle|Tech Coach
19:10
Full table scan vs index scan
7:25
Просмотров 15 тыс.
BITMAP  and  BITMAP JOIN INDEX IN ORACLE explained
25:12
Indexing in Oracle :B-Tree,Bitmap Indexing
25:47
Просмотров 88 тыс.
How do indexes make databases read faster?
23:25
Просмотров 52 тыс.
Oracle Optimizer Access Methods
10:45
Просмотров 8 тыс.
Oracle || Indexes Part-1 by dinesh
32:23
Просмотров 117 тыс.