LEARN BITMAP INDEXES

  Рет қаралды 75,602

Tech Dummies Narendra L

Tech Dummies Narendra L

Күн бұрын

Пікірлер
@amitpatil746
@amitpatil746 11 ай бұрын
Thank you for very good explaination.
@ramjonchhen5882
@ramjonchhen5882 2 жыл бұрын
thank you for explaining the topic in such a simple and effective manner.
@ghumofiro5661
@ghumofiro5661 Жыл бұрын
Excellent explaination in a very simpler way,thank you
@singhongchow8968
@singhongchow8968 2 жыл бұрын
Thanks from Malaysia. It is really clear.
@paulo__vieira
@paulo__vieira 2 ай бұрын
Good explanation, very easy to follow. Thanks!
@MarcioBrenerCosta
@MarcioBrenerCosta Жыл бұрын
Great Job Broo! The way you speak and explain is very clear!
@tanuvishu
@tanuvishu 2 жыл бұрын
Your videos are amazing
@haphamdev
@haphamdev 2 жыл бұрын
Thank you for a very good tutorial.
@陈之-l3d
@陈之-l3d 4 жыл бұрын
good explanation. better than documentations I read before
@bhatanand
@bhatanand 2 жыл бұрын
Super video. Thanks
@TheHellishFrog
@TheHellishFrog 2 жыл бұрын
Excellent explanation! Thank You!
@koderkev42
@koderkev42 2 жыл бұрын
Well explained. Thank you!
@golgottera8205
@golgottera8205 4 ай бұрын
Nice visualization, thanks!
@lolopolos
@lolopolos 4 жыл бұрын
Great explanation, Redis provides bitmap data structure.
@consciousmi4842
@consciousmi4842 4 жыл бұрын
Thanks for sharing. Good material
@Patiencelad
@Patiencelad 2 жыл бұрын
Great explanation! Thanks so much!
@MrVitalirapalis
@MrVitalirapalis Жыл бұрын
amazing ;)
@levelupskills7710
@levelupskills7710 4 жыл бұрын
waow .. first time I opened this video.. It really made me fall in love with your teaching skills, way of communication and your kind body language ❤❤🔥🔥🔥🔥🔥.. Your are legend sir 👍👍👍
@Bruh-jw2ze
@Bruh-jw2ze 4 жыл бұрын
Congrats bro , I opened it for the 100th time today Will continue opening it everyday till I reach my grave
@nandnibachani1765
@nandnibachani1765 3 жыл бұрын
Best explaination ever
@jennwng
@jennwng Жыл бұрын
Great video! Simple example to explain complex concept - love it! Thanks. : )
@wizardgaming163
@wizardgaming163 2 жыл бұрын
U explains things very clearly,love your content
@lucas.n
@lucas.n Жыл бұрын
question: if you have to go row by row in the bitmap index to find the matches, how is it different than a fullscan?
@devenderyadav6209
@devenderyadav6209 4 жыл бұрын
Great tutorial! Thank for covering variety of topics. It would ge great if you start putting notes, slides, references to a Github repository. In this way, other developers can also contribute.
@vaibhavmewada4508
@vaibhavmewada4508 2 ай бұрын
Good explanation
@LovelyCreationsDIY
@LovelyCreationsDIY 4 жыл бұрын
Hey, it will be great if you also share the reference materials as well. thanks
@priyankabuqrdwaj4964
@priyankabuqrdwaj4964 4 жыл бұрын
thank you so much sir your explanation is awesome
@dulanjanaliyanagama3823
@dulanjanaliyanagama3823 3 жыл бұрын
Thank you, sir! You saved my day! Nice explanation 🙏
@cristianopassos5257
@cristianopassos5257 3 жыл бұрын
Hi, nice vídeo! I would like to have it short, but without losing any content. Thanks for sharing 👍
@bharath_v
@bharath_v 4 жыл бұрын
Good One!
@kottaravindar1
@kottaravindar1 3 жыл бұрын
Good One
@mdtalibalam9743
@mdtalibalam9743 Ай бұрын
Very insightful video , can you also please tell me the book or document that you referred to understand this
@abdulrafay2420
@abdulrafay2420 11 ай бұрын
Hey, you explained Bitmap indexing concept really well 👍🏻. Do you have one for cluster indexing?
@jag188
@jag188 4 жыл бұрын
Great explanation, thanks for sharing knowledge, My only suggestion is to reduce repetitive statements.
@Ayush-lj6pq
@Ayush-lj6pq 3 жыл бұрын
crystal clear
@SURESHRAJA-c5x
@SURESHRAJA-c5x Жыл бұрын
As for as oracle , the definition for cardinality is some what not same as you explained , but your explanation of bitmap is good
@masthanayapenumadi3855
@masthanayapenumadi3855 4 жыл бұрын
Thank u very much
@大盗江南
@大盗江南 4 жыл бұрын
Thanks for this video!!! Man!!! Could u do a video about an example using bitmap and b-tree together :D Have a nice day!
@59sharmanalin
@59sharmanalin 3 жыл бұрын
Even if we find all 1st in bitwise array, it's O(N) ?
@YuraZavadenko
@YuraZavadenko 6 ай бұрын
soo splendid, but what if the capacity (number of rows in the database) grows, so we will have bigger indexes, thus will need to interate through a larger portion of indexes?
@andreaolla8256
@andreaolla8256 4 жыл бұрын
Thanks You!
@anamigator
@anamigator 4 жыл бұрын
May be the table needs a better design here. Why not pull out status and stock in their own tables and use the status_id and stock_id as columns in the main table. Integer comparisons are faster.
@ranojaan165
@ranojaan165 4 жыл бұрын
thanks
@sahilbajaj2190
@sahilbajaj2190 Жыл бұрын
Question: What if any record from table is deleted ? Just turning that bit to 0 would not work much, as query could be number of users who are not approved, which in turn can include deleted users as well
@pabloe1802
@pabloe1802 4 жыл бұрын
What do you think of CrimsonDB?
@dinggorden269
@dinggorden269 4 жыл бұрын
How about to have a session discussing about the design distributed message queue system?
@大盗江南
@大盗江南 4 жыл бұрын
Do some live with us!!!!!
@YT-yt-yt-3
@YT-yt-yt-3 3 жыл бұрын
Isn’t this same as columnar format the parquet uses?
@niyomwungerighad8965
@niyomwungerighad8965 4 жыл бұрын
thank you sir. it is really helpful. could you please suggest me a reference paper or book for this?
@subhrapratimde8016
@subhrapratimde8016 3 жыл бұрын
If we create an index like CREATE INDEX index_name ON table_name (column_name). will the database handle it automatically for BITMAP or do I have to do any extra things to use BITMAP indexing for status column?
@hitzhangjie
@hitzhangjie 3 жыл бұрын
Hi, bro, I see you hadn't updated for nearly half a year. Are you OK?
@billylee1802
@billylee1802 3 жыл бұрын
Good content, but the volume is very low.
@Extjac
@Extjac 4 жыл бұрын
hey! can you do a system design for Expidia?
@wejdanalqhtani8092
@wejdanalqhtani8092 2 жыл бұрын
What is the relationship between bitmap indexing and high dimensional indexing problem???
@Hmm1298-8
@Hmm1298-8 4 жыл бұрын
can you suggest the list of books plz?
@--sql
@--sql 4 жыл бұрын
What you described as "Cardinality" is what I learned as "data sparsity". Cardinality refers to the relationship between rows in different tables, e.g. 1 to many (1:M), 1 to 1 (1:1) or many to many (M:N).
@romangavrilovich8453
@romangavrilovich8453 4 жыл бұрын
'cardinality' is the same as 'size' en.wikipedia.org/wiki/Cardinal_number sparsity describes the number of sparse items (e.g. empty rows in DB)
@youchiru1
@youchiru1 4 жыл бұрын
Conventional wisdom hulds that bitmap indexes are most appropriate for columns having low distinct values--such as GENDER, MARITAL_STATUS, and RELATION. This assumption is not completely accurate, however. In reality, a bitmap index is always advisable for systems in which data is not frequently updated by many concurrent systems. In fact, as I'll demonstrate here, a bitmap index on a culumn with 100-percent unique values (a culumn candidate for primary key) is as efficient as a B-tree index. Usage of bitmap indexes is not in fact cardinality dependent but rather application dependent. SRC : www.oracle.com/technical-resources/articles/sharma-indexes.html
@AmanGarg95
@AmanGarg95 4 жыл бұрын
Thanks for sharing. However this doesn't answer the following. 1) How is the bit map index updated when you add a new ID as well as add a new type called "ON HOLD". Is the index resized when it crosses a particular threshold (say 2^n -1 )? Is it a power of 2? 2) How is the complexity of the query reduced? For e.g select all products where status in ALL except rejected and stock in ALL. In this case, how are we saving on compute because we need to loop through all bitmaps on both columns. If that's the case, there's no exploitation of the fact that the cardinality of this column in reduced. For example. why not compute a bitmap for TRUE, FALSE, TRUE || FALSE, TRUE && FALSE and keep it ready as compared to just TRUE , FALSE now. We can afford to do this as the cardinality is less.
@romangavrilovich8453
@romangavrilovich8453 4 жыл бұрын
actually this video is useless =/
@JayChakra
@JayChakra 4 жыл бұрын
I too had the same questions in mind.
@maxmuranov8764
@maxmuranov8764 Жыл бұрын
Omg you could explain everything in 5 minutes instead of repeating 100 times each simple idea. And you didn't explain why it's better than seq scan, great!! (no)
@mayankrathore7558
@mayankrathore7558 3 ай бұрын
how we scale this kind of operation lets say on 1M rows
@a.yashwanth
@a.yashwanth 4 жыл бұрын
Why can't we use 3 numbers for each row. 0 for approved, 1 for pending, 3 for rejected.
@TechDummiesNarendraL
@TechDummiesNarendraL 4 жыл бұрын
It is a bit, not character/string datatype
@jimsmart2522
@jimsmart2522 4 жыл бұрын
In theory, yes, there are only 3 distinct values in this column, and yes, that means that one only really needs two bits to hold that info. But if we continue down that route, we now have a column that requires just two bits. How can one generalise that into anything useful? How can it be efficiently stored and indexed? What does one do when someone adds some new statuses? It’s just not practical. Using bitmap indexing where appropriate is a useful and good generalisation.
@anildangol
@anildangol 4 жыл бұрын
Great Explanation! so you explained it nicely for 6 rows and it has 6 bits but how does it scale for millions of rows. we can't have millions of bits.
@devenderyadav6209
@devenderyadav6209 4 жыл бұрын
Whats' the issues with millions rows. If we you take 1 million rows and 4 cardinality, its just 500KB data.
@adithyapuram2541
@adithyapuram2541 3 жыл бұрын
Hi, thanks for the video, how will the update work, if I have to update the nth element from 1 to 0, how would I seek that element without having to go through all the numbers. Also having ids in order seem to be one of the biggest requirement for this use-case, which is not possible most times.
@raniketram
@raniketram 3 жыл бұрын
Anyone knows his twitter handle, please let me know
@rosendo3219
@rosendo3219 4 ай бұрын
isn't this ridiculously wrong? you don't build bit map index, you build a btree index bitmap is index access, the way planner decides to access the btree index. dude, wtf, bitmap index access is all about not accessing the same block page
@tenminutetokyo2643
@tenminutetokyo2643 4 жыл бұрын
Indicies, not indexes. Thought you were all geniuses?
@knowledgeguide2003
@knowledgeguide2003 9 ай бұрын
thanks
@OMERHAFEEZ-y7r
@OMERHAFEEZ-y7r Ай бұрын
thanks
Database Indexing Explained (with PostgreSQL)
18:19
Hussein Nasser
Рет қаралды 323 М.
Whatsapp System design or software architecture
27:40
Tech Dummies Narendra L
Рет қаралды 256 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
10.2  B Trees and B+ Trees. How they are useful in Databases
39:41
Abdul Bari
Рет қаралды 1,2 МЛН
Database Indexing for Dumb Developers
15:59
Laith Academy
Рет қаралды 80 М.
Which Database Model to Choose?
24:38
High-Performance Programming
Рет қаралды 66 М.
Why do databases store data in B+ trees?
29:43
Arpit Bhayani
Рет қаралды 46 М.
EFFICIENT COUNTING USING BITMAPS FOR SYSTEM DESIGN
12:55
Tech Dummies Narendra L
Рет қаралды 14 М.
Database Sharding and Partitioning
23:53
Arpit Bhayani
Рет қаралды 105 М.
Data corruption and Merkle trees
22:43
Tech Dummies Narendra L
Рет қаралды 27 М.
In Memory databases internals for system design interviews
34:59
Tech Dummies Narendra L
Рет қаралды 40 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН