Partitioning Key vs Clustering Keys in Cassandra | Cassandra Fundamentals

  Рет қаралды 14,977

Code with Irtiza

Code with Irtiza

Күн бұрын

Пікірлер: 33
@olasupodaniel6774
@olasupodaniel6774 Жыл бұрын
This happens to be the simplest Cassandra DB tutorial I've watched so far, thank you !
@irtizahafiz
@irtizahafiz Жыл бұрын
Glad it was helpful! I will start posting again soon, so please let me know what type of content interests you the most.
@2tce
@2tce 2 жыл бұрын
Best explanation for Partition keys. I have spent a lot if time trying to find this. Thanks!!
@irtizahafiz
@irtizahafiz 2 жыл бұрын
So glad it helped you understand better : )
@gregoryweb3
@gregoryweb3 Жыл бұрын
Best explanation sir I am stuck on a table which is branch_by_region_country_city but then when I saw this video about compound partition key I understand how to fix my problem , really helppp sir Thanks
@irtizahafiz
@irtizahafiz Жыл бұрын
Thank you! I will start posting again soon, so please let me know what type of content interests you the most.
@sharatchandra9198
@sharatchandra9198 Жыл бұрын
Excellent and precise explanation
@joemobes1632
@joemobes1632 2 жыл бұрын
Thanks for the explanation, very helpful.
@imohsimon9762
@imohsimon9762 4 ай бұрын
nice and simple, Thanks so much
@pratapteegala7428
@pratapteegala7428 Жыл бұрын
Very nice explanation ...!
@swetapatel7581
@swetapatel7581 Жыл бұрын
Great explanation !
@irtizahafiz
@irtizahafiz Жыл бұрын
Thank you!
@humayunhimu6045
@humayunhimu6045 2 жыл бұрын
wow! happy learning!! thanks
@wgllgw
@wgllgw Ай бұрын
Very good video series, I love that you took time to illustrate the different examples. I have a question.. instead of creating different tables with the cluster key of ascending/descending order.. is it possible for cassandra to do SQL like queries where SELECT * FROM simple_temp_v2 ORDER BY time_created ASC Cheers
@irtizahafiz
@irtizahafiz Ай бұрын
You can, if time_created is part of the clustering key. Also, the sort order has to be the same as the cluster key order you gave when creating the table. Additionally, your query needs a WHERE clause on a partition key AFAIK. Otherwise, Cassandra won't be happy needing to sort across partitions.
@wgllgw
@wgllgw 28 күн бұрын
@@irtizahafiz oh yes.. thanks for pointing that out! would have been a very expensive query without including the partition key!
@PranitKothari
@PranitKothari 11 ай бұрын
Your videos are just amazing
@irtizahafiz
@irtizahafiz 10 ай бұрын
Thank you so much 😀
@punithore9286
@punithore9286 2 жыл бұрын
great explaination👌
@RTXXONn
@RTXXONn 8 ай бұрын
Awsome content keep going
@irtizahafiz
@irtizahafiz 8 ай бұрын
Appreciate it!
@samurdi
@samurdi 2 жыл бұрын
Great explanation
@irtizahafiz
@irtizahafiz 2 жыл бұрын
Glad it was helpful!
@suhaskurup
@suhaskurup 9 ай бұрын
20:26 I think you meant to type simple_temperature_v3.
@et4493
@et4493 Жыл бұрын
Good stuff man
@irtizahafiz
@irtizahafiz Жыл бұрын
Thank you for watching!
@astHakobyan
@astHakobyan Жыл бұрын
very good video
@irtizahafiz
@irtizahafiz Жыл бұрын
Thanks!
@alexandersmirnov4274
@alexandersmirnov4274 Жыл бұрын
so why they call it as cluster key and not a sort key?
@irtizahafiz
@irtizahafiz Жыл бұрын
LOL that's a good question.
@thachnnguyen
@thachnnguyen 2 жыл бұрын
Unorganized so wasting time unnecessarily. Doesn't explain why one may need a compound partitioning key. Doesn't explain the impact of clustering keys (i.e., in WHERE clause, although effect in ORDER BY clause is kinda implicitly mentioned).
@irtizahafiz
@irtizahafiz 2 жыл бұрын
Hi! Appreciate the feedback. I thought of explaining those but the video was getting too long. I am still learning what's the best way to present the content. Thanks for your patience!
Channel Plans for 2022
26:27
Code with Irtiza
Рет қаралды 955
Cassandra Database Crash Course
19:48
Code with Irtiza
Рет қаралды 35 М.
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
Database Sharding and Partitioning
23:53
Arpit Bhayani
Рет қаралды 109 М.
Apache Cassandra - Tutorial 8 - CQL - Keyspaces and Tables
13:46
jumpstartCS
Рет қаралды 71 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 223 М.
Time Series Data Modelling in Cassandra
11:12
Code with Irtiza
Рет қаралды 5 М.
When to Use Kafka or RabbitMQ | System Design
8:16
Interview Pen
Рет қаралды 159 М.
Apache Cassandra - Tutorial 6 - Partitioning, Rings and Tokens
11:58
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 95 М.
Stream your PostgreSQL changes into Kafka with Debezium
12:40
Code with Irtiza
Рет қаралды 56 М.
The Birth of SQL & the Relational Database
20:08
Asianometry
Рет қаралды 210 М.
Cassandra Basics | NoSQL Tutorial #5
15:45
Telusko
Рет қаралды 20 М.