Тёмный

Lec-94: Numerical Example on I/O Cost in Indexing | Part-1 | DBMS 

Gate Smashers
Подписаться 1,9 млн
Просмотров 321 тыс.
50% 1

►Part 2 of Numerical: • Lec-95: Numerical Exam...
👉Subscribe to our new channel: / @varunainashots
►Why indexing is used: • Lec-93: Why Indexing i...
► Database Management System(Complete Playlist):
• DBMS (Database Managem...
Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
►Design and Analysis of algorithms (DAA):
• Design and Analysis of...
►Computer Architecture (Complete Playlist):
• Computer Organization ...
► Theory of Computation
• TOC(Theory of Computat...
►Artificial Intelligence:
• Artificial Intelligenc...
►Computer Networks (Complete Playlist):
• Computer Networks (Com...
►Operating System:
• Operating System (Comp...
►Structured Query Language (SQL):
• Structured Query Langu...
►Discrete Mathematics:
• Discrete Mathematics
►Compiler Design:
• Compiler Design (Compl...
►Number System:
• Number system
►Cloud Computing & BIG Data:
• Cloud Computing & BIG ...
►Software Engineering:
• Software Engineering
►Data Structure:
• Data Structure
►Graph Theory:
• Graph Theory
►Programming in C:
• C Programming
►Digital Logic:
• Digital Logic (Complet...
---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
► Subscribe to us on RU-vid: / gatesmashers
►Subscribe to our new channel: / @varunainashots
► Like our page on Facebook: / gatesmashers
► Follow us on Instagram: / gate.smashers
► Follow us on Instagram: / varunainashots
► Follow us on Telegram: t.me/gatesmashersofficial
► Follow us on Threads: www.threads.net/@gate.smashers
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Email us at: gatesmashers2018@gmail.com
#Indexing#DBMS#freeEducationGATE

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

 

24 окт 2018

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 89   
@aloksinghrathore2791
@aloksinghrathore2791 3 года назад
Some are born to serve mankind...! You are one of them. Thanks a lot, Sir.
@pprashmajgpaw4972
@pprashmajgpaw4972 Год назад
U r ri8
@AkshayKumar-om5re
@AkshayKumar-om5re 3 года назад
when he showed the book in video.. everything made sense. I liked his approach to practical demonstration.
@satyaprakashsahoo7772
@satyaprakashsahoo7772 5 лет назад
Understanding all these concepts from you in Hindi gives better clarity rather than in English...
@ronaldcsjohnson4790
@ronaldcsjohnson4790 3 года назад
Maybe because your mother tongue is Hindi. As somebody like me whose mother tongue is not Hindi, lectures in English are a lot helpful compared to Hindi. Btw, I can understand Hindi.
@accelerate8646
@accelerate8646 Год назад
Baat to bilkul sahi hai
@NikunjKumarGupta
@NikunjKumarGupta Год назад
Yeah, his biggest plus Point is his lectures are in Hindi Still good after 4 years 😊❤
@zeeshansiddiqui2000
@zeeshansiddiqui2000 3 года назад
Sir , awesome...First time I m watched such a complex topic with so ease and better explanation. Your now big fan from Pak...you are serving humanity..Thanks
@rohitrastogi381
@rohitrastogi381 4 года назад
The way you explain every topic with the help of scenarios and examples is awsome and simplify every complexity. You're making a huge impact by sharing your knowledge and teaching hundreds and thousands of students. We can't thank you enough. I'm really glad that I found your videos. God bless you and keep doing this amazing work. Greetings and love from San Francisco, California.
@shreyachavan5904
@shreyachavan5904 2 года назад
The way he took the log out just by looking at the number damn 🔥
@samarpitshrivastavaofficial
@samarpitshrivastavaofficial 2 года назад
This particular case isn't that hard though. 2 raised to the power 10 is 1024, 11 would be 2048 but still 2500 is greater, so one more power ->12. That's how he calculated. But there's no doubt that he is a legendary teacher. Hats off to him.
@nishanthcodes4576
@nishanthcodes4576 2 года назад
@@samarpitshrivastavaofficial Exactly !
@pinkukaki
@pinkukaki 2 года назад
i have been watched some of videos in DBMS playlist and i must say the way gate smashers clears the conept in depth and with absolute clarity
@hemantkamath1073
@hemantkamath1073 4 года назад
One Stop Shop for all Software Engineering Concepts 🙌🏻🙌🏻 God bless you bro. Love from San Jose, California.
@sajansekhu8785
@sajansekhu8785 4 года назад
relly sir vry nyc explanation...god bless u forever ...
@chetnamarwaha7645
@chetnamarwaha7645 5 лет назад
Very nice explanation 😊 Thank-you so much 🙏🙏
@surajitpradhan446
@surajitpradhan446 11 месяцев назад
I cannot thank you enough. You are amazing the way you explained the indexing concepts in the series.🙏
@vishaladepu3040
@vishaladepu3040 8 месяцев назад
Perfect explanation. Appreciate your effort 🔥
@GaganDeep-mj5hi
@GaganDeep-mj5hi 2 года назад
Your way of teaching is very good. 🙏
@piusranjan
@piusranjan 4 года назад
Appreciate nice explanation. Keep up good work.
@anishchar4282
@anishchar4282 Год назад
Understanding in a very simple way Thanks sir 🙏🏻
@JangBahadur3028
@JangBahadur3028 4 года назад
WELL EXPLAINED
@ashleylove6840
@ashleylove6840 2 года назад
You are the best, I wish you are my university teacher!!!! you are saving our lives, Thank you so much!!!
@rahulagarwal8059
@rahulagarwal8059 4 года назад
Thanks for making things looks so easy😊😊
@MamtaSingh-vt4kg
@MamtaSingh-vt4kg 5 лет назад
Thanks for this vedio sir u explained very good it is easy to understand Pls upload part 2
@DivyaMaster
@DivyaMaster 3 года назад
सर आपने बहुत सुंदर तरीके से समझाया है! धन्यवाद
@GeerishaAcharya
@GeerishaAcharya 5 лет назад
Very nice explanation...शुक्रिया..:)
@AmanVerma-lt7px
@AmanVerma-lt7px 5 лет назад
Good explanation sir
@chrajagopalrao3317
@chrajagopalrao3317 5 лет назад
Thanks alot sir you will explain concepts very well....👏👌 Sir plz do cover imp concepts asap..thanks alot sir...
@akshatsharma9527
@akshatsharma9527 5 лет назад
thanq u sir for covering this topic plz in next lecture do cover detail numericals on Dense index and Sparse index if possible 1-2 question of previous year gate question from this topic
@amitmaurya5589
@amitmaurya5589 3 года назад
THANK YOU SIR NICE EXPLANATION AUR LIKE MILNE CHAIYE AAPKO
@dipikasinglaschemistriolog2694
Well Explained... Mashalla knowledge Ho to aaisi
@manpreetkaur-lx9ci
@manpreetkaur-lx9ci 5 лет назад
Bilkul sahi
@shashanksharma7747
@shashanksharma7747 2 года назад
good numerical and explanation both
@namratanikam7566
@namratanikam7566 3 года назад
Nice explanation👍
@raghavclasses4587
@raghavclasses4587 5 лет назад
Best Explaination
@sratnamanjari244
@sratnamanjari244 4 года назад
Thank YOU Very Much Sir.
@abhishekbaral4699
@abhishekbaral4699 2 года назад
explanation skill infinity..
@ravindrasinghcharan636
@ravindrasinghcharan636 4 года назад
your all videos are very helpfull....i request u to can u provide video on computer oriented numerical method subject
@sunilmittal9636
@sunilmittal9636 2 года назад
Very Well Explained
@aqsajee4609
@aqsajee4609 4 года назад
😊 JAZAKALLAH bro
@manpreetkaur-lx9ci
@manpreetkaur-lx9ci 5 лет назад
Thanks Sir.
@user-ei1uw6nl6n
@user-ei1uw6nl6n 6 месяцев назад
well explained
@anweshapatra6682
@anweshapatra6682 2 года назад
God level explanation sir, so easy to understand _/\_
@animationcrust1993
@animationcrust1993 3 года назад
I think ..I can get a good AIR in gate by watching your videos sir ☺️♥️
@khan0404
@khan0404 10 месяцев назад
thank you for this video
@rnjnmhta.catomato
@rnjnmhta.catomato Год назад
thanks kash aap phle mile hote sir
@MBindu-kc2nj
@MBindu-kc2nj 2 года назад
Nailed it🔥
@rinkal7940
@rinkal7940 Год назад
👏👏👏👏👏👏good job sir
@sarikatiwari3353
@sarikatiwari3353 2 года назад
Thankyou sir 😊
@oshniklife9661
@oshniklife9661 5 лет назад
It seems like today u have used new marker... Anyways... ur Explanation is awesome today... Everyday we wait for ur video...
@jain_z
@jain_z 3 года назад
Thankyou 🤗
@kapil5304
@kapil5304 5 лет назад
are you gonna tell us about data warehouse and mining if yes than plz let us inform thank you
@mygraphics4274
@mygraphics4274 3 года назад
outstanding
@dreamerb1
@dreamerb1 Год назад
Thanks alot sir
@viral_video_ayana
@viral_video_ayana 3 года назад
Thankyou sir
@krmanish043
@krmanish043 5 лет назад
just wow
@mrugrajkumpavat1781
@mrugrajkumpavat1781 3 года назад
Thanks🌹🌹🌹
@sakshisrivastava5986
@sakshisrivastava5986 3 года назад
Can u please add data structures videos as well
@shubhangipatil8716
@shubhangipatil8716 5 лет назад
Kya mast padhate ho sir aap aisa lagta sunti hi rahu din bhar...
@priyafoujdar4877
@priyafoujdar4877 5 лет назад
sir please upload videos on DS my exam is on 23 dec
@Ravanxshorts0
@Ravanxshorts0 2 месяца назад
Value of log base 2 , of 2500 in 11 sir not 12 , but i appreciate your critical thinking 🥰
@yatinbajaj1226
@yatinbajaj1226 3 года назад
Sir you say ki humei hard disk se ram mei block ko lana padta hai, what if computer shuts down then toh data permanently delete toh hoga nahi. Toh can we say that block ko laya nahi jata balki uski copy lai jaati hai ram mei?
@kunalsingh5794
@kunalsingh5794 5 лет назад
Sir, please give the serial no means sequence no of all videos ..
@vinamrasangal8436
@vinamrasangal8436 Год назад
nice
@IndiaDefenceWing
@IndiaDefenceWing 4 года назад
Hi. Need one clarification. Isn't the worst case cost should be 10000 ms. Because each block processing time is 4 ms and there are 2500 blocks so reaching at the last block will take 10000 ms
@kakadiazeel
@kakadiazeel 3 года назад
Same doubt
@saurabhbhise9222
@saurabhbhise9222 2 года назад
in that scenario, the best case will be 4ms and the worst case will be 10000ms. But, in the video sir is only focusing on block access.
@ZainAli-ih1mn
@ZainAli-ih1mn 7 месяцев назад
When I referred to the worst case being 2500 blocks and the best case being 1 block, I was specifically referring to the number of blocks needed to be processed. Typically, worst-case and best-case scenarios are discussed in terms of the number of iterations or steps required in a process, rather than the absolute record count. Therefore, in the context of block processing, the worst-case scenario involves processing 2500 blocks, and the best-case scenario would require processing just 1 block.
@anishali8042
@anishali8042 Год назад
Since you have considered data is sorted and in one block TC : O(log2n) so, indexing can't be better than binary search
@trojanhorse8278
@trojanhorse8278 3 года назад
I have one doubt. You said we can apply binary search if records are sorted, but physically they are in HD and to apply binary search we first need to bring the block into the RAM, then how does it reduce the NO. of disk-reads??
@ZainAli-ih1mn
@ZainAli-ih1mn 7 месяцев назад
Binary search is indeed an efficient algorithm when applied on sorted data. However, when dealing with records stored on a hard disk (HD), there are additional considerations to take into account. Let's explore how the binary search algorithm can still reduce the number of disk reads in this scenario. When performing binary search on a sorted data set, the algorithm divides the data into halves and compares the search key with the middle value. This process is repeated on the corresponding half until the desired record is found or determined to be absent. In the context of searching on a hard disk, the limitation lies in the fact that accessing data from the disk is significantly slower compared to accessing data from RAM. To mitigate this, the concept of blocks or pages is introduced. A block typically consists of multiple records and is the minimum unit of data transfer between the hard disk and RAM. The block size is often a few kilobytes or more. To apply binary search efficiently in this scenario, we first need to bring a block that potentially contains the desired record into RAM. This step is called fetching or reading a block. Even though bringing a block from the HD into RAM incurs some disk read operations, it reduces the overall number of disk reads required. Initially, we fetch the block that contains the middle element of the sorted data set into RAM. Then, we compare the search key with the middle element to determine if it matches or if it lies in the preceding or subsequent half. If it matches, the search is complete. Otherwise, we repeat the process with the corresponding half, fetching the relevant block from the HD into RAM. With each iteration of the binary search, we reduce the data set to half its size, allowing us to narrow down the search range faster. Since we are only accessing blocks in RAM during these iterations, the number of disk reads required is significantly reduced compared to a linear search, where each record would need to be individually accessed from the disk. In summary, binary search reduces the number of disk reads by leveraging the concept of blocks or pages to bring data into RAM efficiently. It allows us to perform comparisons on the desired data in RAM rather than accessing each record individually from the hard disk, which significantly improves the search time for sorted data stored on a hard disk.
@janhvibhilare2092
@janhvibhilare2092 3 года назад
Which database book u introduced in this vedio?
@Atchyut.t45_Creator
@Atchyut.t45_Creator 2 года назад
sir can you teach unix concepts...........
@himmatanandam2594
@himmatanandam2594 5 лет назад
👏👏👏👏👌👌
@neelamrani2409
@neelamrani2409 2 года назад
Sir ye log base 2^2500 kaise karte h
@mygraphics4274
@mygraphics4274 3 года назад
Big fan from Pakistan.
@mygraphics4274
@mygraphics4274 3 года назад
@Shivanan Chetia mind your own business
@purushottam2010
@purushottam2010 3 года назад
isnt this technically searching for blocks and not records?
@ikramhasib3127
@ikramhasib3127 Год назад
The video was good but it repeats almost everything from the previous one.
@kiranpanwar5234
@kiranpanwar5234 Год назад
Sir blocks 10 hoga na
@atharvamarathe7134
@atharvamarathe7134 Год назад
mujhe bhi yahi lagra hai
@atharvamarathe7134
@atharvamarathe7134 Год назад
arey nahi, mujhe abb samjha, 10K is not in bytes, if 1k is block size and 250 is 1 record size, the in 1 block there can be 4 records, so for 10K such records, we would need 2500 blocks
@priyankasharma-xz9io
@priyankasharma-xz9io Год назад
​@@atharvamarathe7134 muje b pehle 10 blocks laga tha, ache se socha fir..sahi h 2500 blocks😅
@HealthandBeautyTuber
@HealthandBeautyTuber Год назад
U r soooooooooo spooooo handsome ❤️
@slatiyan
@slatiyan 5 лет назад
Can I have your mail ID? and thanks for your extreme knowledge lecture
@laxmidevimokhi5738
@laxmidevimokhi5738 2 года назад
How much you drag? Previous video also covered same thing and in this video also same.. Each sentence u repeat 100 times.. 🙄
@faaizalam235
@faaizalam235 Год назад
Bhai point to point prha diya kro
@abirhore6645
@abirhore6645 26 дней назад
god.op bolte
Далее
The Professor 'Stiff Leg Crossover' Tutorial
4:51
Keys in RDBMS
22:49
Просмотров 262 тыс.
5.3 Introduction to Indexing in DBMS
20:31
Просмотров 413 тыс.