21. Database Indexing: How DBMS Indexing done to improve search query performance? Explained

➡️ Notes link: Shared in the Member Community Post (If you are Member of this channel, then pls check the Member community post, i have shared the Notes link there)
➡️ Join this channel to get access to member only perks:
/ @conceptandcoding
Discussed various points in detail:
- How DBMS stored the data in DB
- How B tree is used for indexing
- What is clustered and Non-clustered Indexing
- How it able to search data faster.
support this channel:
/ @conceptandcoding
#softwareengineer #database #dbms

Пікірлер: 161

  • @ConceptandCoding
    @ConceptandCoding10 ай бұрын

    Don't miss this: HLD Basics to Advanced: kzread.info/head/PL6W8uoQQ2c63W58rpNFDwdrBnq5G3EfT7 LLD Basics to Advanced: kzread.info/head/PL6W8uoQQ2c61X_9e6Net0WdYZidm7zooW JAVA Basics to Advanced: kzread.info/head/PL6W8uoQQ2c63f469AyV78np0rbxRFppkx

  • @drpstar

    @drpstar

    9 ай бұрын

    Postgresql use heap tables and doesn't have concepts like clustered index. What is your thoughts on that? How indexing works there and what are the pros and cons of these approaches? I asked a lot of questions😅, please reply if possible. Thanks for the detailed explanation.

  • @revvedupofficial
    @revvedupofficial26 күн бұрын

    no one, i repeat no one, explained like this, thank you so much for uploading these types of indepth videos 🤩

  • @ConceptandCoding

    @ConceptandCoding

    25 күн бұрын

    thats a lot buddy 🙏

  • @Shivam-wk6sq
    @Shivam-wk6sq5 күн бұрын

    Piece of gem. One of the best videos on indepth indexes.. Thanks for the this video Shreyansh

  • @vkhemant
    @vkhemant6 күн бұрын

    One of the best videos I ever saw on indexing. Thanks Shrayansh.👌

  • @tanazshaik678
    @tanazshaik67818 сағат бұрын

    I am glad I found your channel Sir! Respect...

  • @shawkiahmed3586
    @shawkiahmed358612 күн бұрын

    I would say, this is one of the most amazing explanation i have ever seen on indexing. Previously i only knew that indexing can make search faster but now i understand all the internals about indexing. Thanks so much for your effort. Take love from Bangladesh.

  • @anjaligupta5044
    @anjaligupta50442 ай бұрын

    You are such a good teacher. Everything was so clear. Thanks a lot Shreyansh. :)

  • @NeverGiveUp186
    @NeverGiveUp18610 ай бұрын

    Amazing explanation Shrayansh. Absolutely loved it !! If my college professors took even 10% of the efforts taken in this video for explaining the topic, life would have been so much better xD

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Thanks 🙏

  • @rishabhagarwal8049
    @rishabhagarwal80495 ай бұрын

    Thanks Shrayansh, I got the Indexing in one go

  • @socialmedia5173
    @socialmedia517310 ай бұрын

    Dude hats off , who put this effort Your channel is most underrated Keep creating ♥️

  • @srawat1212

    @srawat1212

    10 ай бұрын

    +1

  • @Rajag-ic1xt
    @Rajag-ic1xt16 күн бұрын

    you are amazing man, It is so clear to understand

  • @sravyaparsi7952
    @sravyaparsi79525 ай бұрын

    You have explained the concepts crystal clear. Thank you Shreyansh.

  • @ConceptandCoding

    @ConceptandCoding

    5 ай бұрын

    thanks

  • @meyankgarg2686
    @meyankgarg26862 ай бұрын

    boss kamal ka explaination hai

  • @anusuyaganguly6009
    @anusuyaganguly60099 ай бұрын

    In depth explanation in a smooth readable format.

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    Thanks

  • @AtharvaRao0104
    @AtharvaRao01049 ай бұрын

    Great video! I like it because you have questions before explaining the concept .. that makes us think a bit than just listen passively .. perhaps after the question you can ask the viewer to pause and think .. eg: pause and think how you can make the search faster than O(N) .. just an opinion

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    Thanks for the feedback buddy

  • @kushalunune2084
    @kushalunune20849 ай бұрын

    Thanks for the incredible content. Iit wouls also be helpful if you provide a short segment of links/books/articles you used while studying these topics.

  • @deepakrana2388
    @deepakrana238810 ай бұрын

    Thanks Shreyansh!! Content is pure Gold 🎉

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Thank you

  • @randheer.chauhan.2
    @randheer.chauhan.29 ай бұрын

    Great explanation Shreyansh 👍 For the first time i got to know how indexing really works internally.

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    thanks buddy

  • @sameer_sah
    @sameer_sah10 ай бұрын

    Thanks a lot Shreyansh ! Very informative. Watched till the end. Recalled a lot of forgotten concepts 😄 (data blocks, database pages, B/B+ trees, cluster/ un-clusted indexes ) Bookmarking this. Please add 'video chapters' if possible.

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Thanks

  • @manoharmanu9240
    @manoharmanu92404 ай бұрын

    Great Explanation 👏👏

  • @mahboobhasan2137
    @mahboobhasan2137Ай бұрын

    nice video, very informative.

  • @vinaysharma7072
    @vinaysharma70723 ай бұрын

    best video database index

  • @nawaahkh
    @nawaahkh7 ай бұрын

    Thank you a lot for this great content with amazing explanation. 👍

  • @ConceptandCoding

    @ConceptandCoding

    7 ай бұрын

    Thanks

  • @laymancode4433
    @laymancode44339 ай бұрын

    Just love this type of content . God bless you 💕💕❤

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    Thanks

  • @anveshkonda8334
    @anveshkonda83344 ай бұрын

    Thanks a lot @Shreyansh

  • @pranjalsharma7650
    @pranjalsharma76502 ай бұрын

    Really admire your content man!!

  • @ConceptandCoding

    @ConceptandCoding

    2 ай бұрын

    thanks

  • @user-pv4ft1qq2l
    @user-pv4ft1qq2l10 ай бұрын

    Finally I can say now I know what is indexing.. Thanks for this video

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Welcome

  • @chgeetanjali7919
    @chgeetanjali79194 ай бұрын

    Very informative .. thanks for the video... i had a clear understanding of indexes now

  • @ConceptandCoding

    @ConceptandCoding

    4 ай бұрын

    thanks

  • @Siddik-ko8ol
    @Siddik-ko8ol4 ай бұрын

    Thanks a lot!!

  • @DurgaShiva7574
    @DurgaShiva75749 ай бұрын

    Lots of doubts in this video.. please make a live session 🙏

  • @zishanshaikh9375
    @zishanshaikh93755 ай бұрын

    Thank you for making this video, very clear & detailed explanation, could you please make a video explaining how composite index containing multiple columns will work ? how the BTree will be created and used for searching

  • @buntykumar7270
    @buntykumar72702 ай бұрын

    Nice notes

  • @user-fl1zk7bz1g
    @user-fl1zk7bz1g9 ай бұрын

    Hi Shrayansh, first of all, a big thank you for providing such valuable content. it deepens my curiosity about the internal workings of indexes and B+. I have a small request: could you please host a live session where we can discuss our understanding of the video and implement an index on a table. Thank you

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    Sure buddy, i will plan for it.

  • @KishoreThatavarthi
    @KishoreThatavarthi8 ай бұрын

    Thank you Shreyansh for amazing content

  • @ConceptandCoding

    @ConceptandCoding

    8 ай бұрын

    Thanks

  • @bijanzohouri98
    @bijanzohouri988 ай бұрын

    Very good explanations on indexing

  • @ConceptandCoding

    @ConceptandCoding

    8 ай бұрын

    Thanks

  • @najimali32
    @najimali3210 ай бұрын

    Amazing video Shreyansh 🎉

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Thanks

  • @sahilgarg3460
    @sahilgarg34609 ай бұрын

    Good one, thinking to find same topic with some good explanation found it here.

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    Thanks

  • @vishalghanghav748
    @vishalghanghav74810 ай бұрын

    Shreyansh , Can you please post videos around weekend or keep public upto the weekend whenever posted

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Noted, it make sense Vishal.

  • @tejasshaha6629
    @tejasshaha66299 ай бұрын

    Very very good video. Just 1 question - How costly it is for DBMS if we are inserting 1 row and it is resulting into multiple page splits ?

  • @vaaidooyt1837
    @vaaidooyt183710 ай бұрын

    Shreyansh when you told that you are making it public for only 2 days at that time i downloaded the video as it was long and i want to understand with peace and slow pace as I'm a working professional. Honestly loved the video ❤

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    thanks a lot. actually got many msgs to keep it till weekend as during weekend only they will get time to watch. So till weekend i will keep. Take your time to understand and watch buddy

  • @vaaidooyt1837

    @vaaidooyt1837

    10 ай бұрын

    @@ConceptandCoding ❤️❤️❤️❤️ thanks for your precious time

  • @boerliu3668
    @boerliu36684 ай бұрын

    you are awesome!

  • @SuperLucasGuns
    @SuperLucasGuns5 ай бұрын

    nice. subscribed.

  • @srawat1212
    @srawat121210 ай бұрын

    Quick question: How does a new column insertion affects the clustered index ? Now since the size of each row has changed...the number of rows that can be accommodated in a page should be less than what it was before. Can you please explain it as well ?

  • @brajkishore32

    @brajkishore32

    7 ай бұрын

    Adding new column will not affect clustered index. It will affect Data Page/record only

  • @PradeepSingh-ov3bt
    @PradeepSingh-ov3bt7 ай бұрын

    Just a quick question , if i have multiple non-clustered column indexes in a table I am writing a query which includes these columns in where condition , now dbms will use which index here ? In below example merchant_id, date_created and order_id all three are non-clustered indexes select * from order where source_id = 'xyz' and merchant_id ='xyz' and date_created >= (NOW() - INTERVAL 30 MINUTE) and order_id like "pf_%"

  • @IsolatedMonk
    @IsolatedMonkАй бұрын

    Thanks Shrayansh for this amazing explanation, qq: who does the conversion from a data page to a data block?

  • @sukritiguin5637
    @sukritiguin56376 ай бұрын

    You gave more than your 100%. ❤❤

  • @ConceptandCoding

    @ConceptandCoding

    6 ай бұрын

    thanks

  • @arpit3640
    @arpit36405 ай бұрын

    Very good explanation Shreyansh 👍

  • @ConceptandCoding

    @ConceptandCoding

    5 ай бұрын

    thanks

  • @mahanteshambali
    @mahanteshambali10 ай бұрын

    I really liked the video. Thank you for your work. Could you please point to resources you used for this video. Like Books or Blogs it would be helpful.

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Thanks,to be honest, most of my learning is through working and by giving interviews.

  • @mahanteshambali

    @mahanteshambali

    10 ай бұрын

    @@ConceptandCoding thank you

  • @bikeshregmi2392
    @bikeshregmi23924 ай бұрын

    nice

  • @aayush7099
    @aayush70999 ай бұрын

    Amazing video

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    Thanks

  • @sumitroy7817
    @sumitroy78179 ай бұрын

    hey, nice explanation. thank you so much. can you please explain ACID and normalisation too.

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    sure

  • @2412_Sujoy_Das
    @2412_Sujoy_Das9 ай бұрын

    This was probably gonna be the 5 star video according to me, but after 1:10:00 mins, you hastily explained everything shreyansh which is the last thing any beginner would want.... Anyways nice explanation 👍

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    Thanks for the feedback, non clustered index and index Pages right, i will explain in separate video buddy, thanks for the feedback

  • @drpstar
    @drpstar9 ай бұрын

    Postgresql use heap tables and doesn't have concepts like clustered index. What is your thoughts on that? How indexing works there and what are the pros and cons of these approaches? I asked a lot of questions😅, please reply if possible. Thanks for the detailed explanation.

  • @godbhaigod

    @godbhaigod

    Ай бұрын

    Even he dont know😂😂

  • @clutchh_god
    @clutchh_god8 ай бұрын

    does page splitting happens for non-clustered index also?

  • @ayushiagarwal2306
    @ayushiagarwal230610 ай бұрын

    Thanks for a great video. I had one query : At what time is offset stored in data pages in case of clustered index? Is it when a data page is full or is it at insertion of each row? How is the order maintained in offset?

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    With every row insertion, offset is also updated. And order is maintained according to order of clustered index.

  • @arshkatyal2807
    @arshkatyal2807Ай бұрын

    Amazing explanation shrayansh. Just 1 question here(for anyone 1 Basic difference we got b/w clustered and non clustered index is that, in clustering, offset maintains the order in data pages in which B+ tree has sorted But what advantage does that offset sorting gave which is not present in non clustered indexes. Please let me know if anything is unclear.

  • @arunpandya401
    @arunpandya40110 ай бұрын

    Hi Shreyansh, thank you for the detailed explanation. I have one doubt: If we are creating clustered and non-clustered indexes, how will it perform page split? As per my understanding, it will always try to put the nearest B+ Tree node values in one data page. Now it is certain that for clustered and non-clustered index B+ Trees values there is a conflict in storing rows in data pages.

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Okay consider this, Data page is mostly pointed by Clustered index nodes Non clustered index points to clustered index and from their it goes to data page. 2 hop it has to do. But in some DB, non clustered index also points to data page. But I did not understand when you say conflict? Insertion always happens based on clustered index.

  • @lokendrasingh5805
    @lokendrasingh58057 ай бұрын

    Great explanation. Love it. Can you please explain how the compound index(name, address)is stored in the b+ tree? also, just one small favor by mentioning which drawing software is used here.

  • @lokendrasingh5805

    @lokendrasingh5805

    7 ай бұрын

    @Conceptandcoding Please confirm

  • @MDJahidHasan-de8bk
    @MDJahidHasan-de8bkАй бұрын

    brother it is a great lecture and It is very much understable. But I have a doubt about the data page section. In which time the data page is created, -- when the B+ tree (indexing) is created or when user first time create data. Or different data page is created during the B+ tree formation, or during creating index(B+ tree) the old data page is updated? I am not clear about this part. I am waiting for your reply and again your lecture is awsome.

  • @akashdutta1620
    @akashdutta16204 ай бұрын

    Data Pages - This is what dbms creates, usually of size 8kb Data page - Header(Page No, Freespace, check sum), Data Records, Offset Array.. For one table, dbms can create multiple data pages. Data pages actually stored in data block in physical memory Dbms have no control in data block, so it maintains a 1:1 mapping of Data Page to Data Block Indexing - It is a technique used to query the database faster. B+ tree is used to implement indexing, it provide O(log n) for searching, insertion, deletion. B+ tree It maintain sorted data All leaf node are at same level M order Tree means, each node can have atmost M children and M-1 key.

  • @ConceptandCoding

    @ConceptandCoding

    4 ай бұрын

    👍

  • @akashdutta1620

    @akashdutta1620

    4 ай бұрын

    @@ConceptandCoding Please ignore I am just taking notes

  • @syamreddy-oq7cz
    @syamreddy-oq7czАй бұрын

    Hi Shrayansh, Explanation is really amazing, One query : Why the page split happens? What is the need of it.

  • @ConceptandCoding

    @ConceptandCoding

    Ай бұрын

    Page splits occur in databases to maintain the structure and efficiency of indexes. When an index page becomes full and a new entry needs to be inserted, the page is split into two to accommodate the new data. This ensures that the index remains balanced and efficient for fast data retrieval.

  • @amanvikram04
    @amanvikram0429 күн бұрын

    Hi shreyansh, thanks for very detailed explanation on database indexing , i just want to know do you have any video on sharding or not , if yes then please help to redirect if not then request you to make a video on it please ,Thank you so much

  • @ConceptandCoding

    @ConceptandCoding

    29 күн бұрын

    its not there yet, i will make

  • @amanvikram04

    @amanvikram04

    29 күн бұрын

    @@ConceptandCoding thank you so much

  • @karmicveda9648
    @karmicveda96489 ай бұрын

    🔥🔥🔥

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    Thanks:)

  • @harshitagarwal2682
    @harshitagarwal268224 күн бұрын

    👍👍

  • @balakrushnabehera2800
    @balakrushnabehera280010 ай бұрын

    Hi Shreyansh amazing video i watched to the end but i think more insights on index table is needed because when it is around 1:19:34 you mentioned about index table prior to that there is no mentioning of index tables/pages. And i felt like when we execute a search query how the procedure follows from beginning needs to be explained starting from index pages.

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    I have explained in end the sequence when query comes. Sure I will explain Index pages more through short videos

  • @balakrushnabehera2800

    @balakrushnabehera2800

    10 ай бұрын

    @@ConceptandCodingthanks 👍

  • @kolasphoorti1030
    @kolasphoorti103010 ай бұрын

    Hi Shreyansh, really a good video, helped in understanding index in depth. I have 2 questions: 1. I did not really understand how page splitting is happening here. Is it based on the order of index? (ascending order). if yes, is it really needed? We can just put it in next free page and maintain pointers to the data pages. 2. In non-clustered indexing, I don't understand how the data is accessed in O(logN). The accessing of data page from B+ tree as I understand is O(logN), but there is no pointer to the row inside data records of the data page, as a result it should scan whole data page as In understand? In clustered indexing though, since the order of index is maintained in offset, we can use a binary search to get to the correct row given the index value. I was always assuming along with the data page mapping in B+ tree, there should be some kind of map which has key as index value(column value) and value as pointer within data page.

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Page splitting again is a very interesting topic to understand. Since you asked, i will try to explain why page split is done instead of just create a new page. Actually when DBMS first select the most appropriate Data Page for the new item to put and there is no space, it will create new data page and let say adds the new item in the newly created data page, but it also does one more thing, that in 1st data page it also adds the address of newly created data page (so it has to split some item which is present in 1st page to new data page). That's why when we say, during page split it divides the rows bcoz DBMS stores pointer of newly data page in existing data page, so it need some space. Second regarding Non-Clustered Indexing, in most of the DBs it first point to Clustered index and then fetch the data page, so it's kind of 2 hop. (And regarding O(logn) search, it can find the correct data page in O(logn) and searching the row inside a data page is just constant time as data page size is fixed)

  • @kolasphoorti1030

    @kolasphoorti1030

    10 ай бұрын

    @@ConceptandCoding got it. Thank you

  • @gurnoorsingh2954
    @gurnoorsingh29548 ай бұрын

    Does clustered index also uses B+ tree? Because it can use the offset concept in a single data page. But apart from that I believe it needs to use B+ tree. Can someone confirm?

  • @RJ-nt3ol
    @RJ-nt3ol10 ай бұрын

    @Shreyansh, If we have not added indexing first, then data pages will be stored. Now if we add indexing, then all those data pages will again be refactored as per the indexing. Am I right?

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Yes

  • @DevanshChiluka
    @DevanshChiluka3 ай бұрын

  • @Aakashkumar-re7gk
    @Aakashkumar-re7gk7 ай бұрын

    great video one doubt b/w clustered and non clustered clustered means create index on a primary key non clustered means create index on other keys the example in the video where we create a clustered index on empId which is ok but when we create non clustered index on employee name I have a doubt Problem because you said when there is an entry in b+ tree to choose a paricualry data page it sees to its neigbour data page if empty insert otherwise split it Doubt is now we have two b+ trees one based on Id and other on name if first binary tree say row will go to data page 1 and other b+ tree says row will go to page 2 in which page we will make an entry?

  • @anishtaneja5665
    @anishtaneja566510 ай бұрын

    Shreyansh , video is amazing . Only point regarding non clustered index , it’s not clear how it is referencing page / row for retrieval ?

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    There are 2 flavours of Non clustered index: - it points to clustered index and from there it goes to data page(2hop) - it also directly pointing to data page. Depends upon DB to DB. They Store the reference where to look up for the data.

  • @anishtaneja5665

    @anishtaneja5665

    10 ай бұрын

    @@ConceptandCoding . Thnx !!

  • @sunilpatel6542
    @sunilpatel65429 ай бұрын

    Hey buddy just want to know in composit index I have table that have index on (a,b) column - If I do where condition only on a column will dbms use (a,b) index - And how B-tree store composit index

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    For composite index it will create B+ tree just by concatenation both a,b column values. So in where clause, it would be able to use B+ tree when in search query where clause if you provide either: a (able to search in B tree) a and b ( able to search in b tree) b (won't be able to search in B tree, bcoz while creating B tree it first uses a)

  • @adityaallam
    @adityaallam4 ай бұрын

    Great Explanation sir! why cannot hashmap be used instead of B + trees for indexing?

  • @ConceptandCoding

    @ConceptandCoding

    4 ай бұрын

    HashMaps are not suitable for indexing in all scenarios because they lack the ability to efficiently support range queries and ordered traversal, which are essential features provided by B+ trees. B+ trees maintain sorted order of keys, making them ideal for range queries and efficient traversal, whereas HashMaps do not guarantee any specific order of keys.

  • @adityaallam

    @adityaallam

    4 ай бұрын

    @@ConceptandCoding Thank you :)

  • @aadityaupadhyay6264
    @aadityaupadhyay626410 ай бұрын

    Nice tutorial, I have one doubt How is the order defined of B+ tree in the DB? Here you have taken 3, in real case scenario on what basis it will decide?

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    This Changes from DB to DB buddy. Depends on many factors one such factors is size of Data Page and size of data blocks. Based on such factors it compute and decides what Order B tree it has to create.

  • @aadityaupadhyay6264

    @aadityaupadhyay6264

    10 ай бұрын

    @@ConceptandCoding thanks for clarifying.

  • @MDSAJID-vh6ho
    @MDSAJID-vh6ho6 ай бұрын

    @Conceptandcoding where this index itself store? How DBMS know the location where index is stored?

  • @ConceptandCoding

    @ConceptandCoding

    6 ай бұрын

    it creates index pages

  • @arishtajain8372
    @arishtajain8372Ай бұрын

    You missed one crucial point while explaining page splitting. The actual data records within the data pages themselves do not rearrange or move during the split operation, unless it is happening on the clustered index, because in the case of clustered index the DBMS needs to store the data records in the sorted order of the index, otherwise why would it care about the order in which the data records are stored if the B+ tree is on a non clustered index.

  • @clutchh_god
    @clutchh_god10 ай бұрын

    what is the advantage of clustered index over non-clustered. Since in the both the cases, index will be pointing to the row's data page. Basically my doubt is, what is the added advantage of having offsets in same order as that of index, since index won't be aware of offset array index it needs to refer to for accessing the row

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    For Non clustered index, there are 2 flavours available depends upon DB to DB. - 1st which i mentioned, you can have many non clustered index key + clustered key also point to data page. - 2nd flavour is, we can have many non clustered key, but Non clustered key point to Clustered key index first and using clustered index they find the data page. So it's 2 hop. But we are always sure with clustered index is we can get the respective data page in one hop. Nice question btw.

  • @clutchh_god

    @clutchh_god

    10 ай бұрын

    @@ConceptandCoding got it.. but what is the advantage of having offset array in same sequence as of clustered index?

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    @@clutchh_godone of the advantages it gives during range search query.

  • @mcspraint4591
    @mcspraint4591Ай бұрын

    Can you please give me a first time offer on LLD HLD members only resources? I immediately need it.

  • @PawanKumar-cw9ko
    @PawanKumar-cw9ko7 ай бұрын

    Hi Shreyansh, What is an index page? Is it the same as a data page or something else?

  • @ConceptandCoding

    @ConceptandCoding

    7 ай бұрын

    mostly same as Data pages, but stores indexing related information

  • @devpratapsingh7050
    @devpratapsingh70503 ай бұрын

    Can we have a common place for all notes link wrt to playlist

  • @ConceptandCoding

    @ConceptandCoding

    3 ай бұрын

    i did, pls check member community post section, you will get all notes playlist wise.

  • @aayushsingh3140
    @aayushsingh31403 ай бұрын

    why use b+ tress instead of hashmap

  • @girishanker3796
    @girishanker3796Ай бұрын

    ⭐⭐⭐⭐⭐

  • @pos1421
    @pos142110 ай бұрын

    can you share the pdf of video ? for future revision

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Pls check the description section buddy

  • @Mohd_Rashid_Siddiqui
    @Mohd_Rashid_Siddiqui10 ай бұрын

    Can you please share the notes link?

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Yes I will put in description section by eod

  • @priyankam1271
    @priyankam127110 ай бұрын

    Hey, I am not getting Join for you channel to access exclusive content. Please help.

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    kzread.info/dron/DJ2HAZ_hW-DMJj_U0zN38w.htmljoin

  • @billion_dreams__7787
    @billion_dreams__77879 ай бұрын

    Bhaiya payment Ka option hi nahi aa raha hai java vala, kuch process batao kaise payment karna hai

  • @sanchayyadav5308
    @sanchayyadav53085 ай бұрын

    Shrayansh I think Physical memory is RAM not a disk(ROM)🧐

  • @kratikharchandani7418
    @kratikharchandani741810 ай бұрын

    Hi, this video was good but i didn't get what is non clustered index?

  • @kratikharchandani7418

    @kratikharchandani7418

    10 ай бұрын

    also clustered index is primary key only so that we can sort the data according to it and store it and if no primary key is there then it creates an internal index which uniquely identifies a row, is my understanding coorect?

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Right

  • @ConceptandCoding

    @ConceptandCoding

    10 ай бұрын

    Non clustered index is used for indexing on Secondary key or composite key. Rows or data pages are not ordered based on this index. And many times based upon DB, you will find that instead of directly pointing to data page it first point to Clustered index and through clustered index it goes to data page, so kind of 2 hop

  • @kratikharchandani7418

    @kratikharchandani7418

    10 ай бұрын

    @@ConceptandCoding Thanks for clearing the doubt

  • @subbunittala2012
    @subbunittala20127 ай бұрын

    Hi

  • @raghunathhembram9962
    @raghunathhembram99622 ай бұрын

    bakwash faltu

  • @021gauravverma5
    @021gauravverma59 ай бұрын

    Bro if you have speak English so please speak clearly

  • @ConceptandCoding

    @ConceptandCoding

    9 ай бұрын

    Sure. Pls suggest some points where I can improve.

  • @logicalrisi
    @logicalrisi5 ай бұрын

    Notes achhe nhi hai