SQL Server Table partitioning - DOs and DON’Ts

  Рет қаралды 26,767

SQLBits

SQLBits

Күн бұрын

Пікірлер
@aozdemiroglu
@aozdemiroglu 2 жыл бұрын
The most explanatory video I've ever seen. Thank you
@marcosoliveira8731
@marcosoliveira8731 3 жыл бұрын
I have to split a 380GB table in quarters. This class has being very useful. Thank you.
@ThiagoSantos-gr2jh
@ThiagoSantos-gr2jh Жыл бұрын
Congratulations! This video was very pleasant to watch and the concepts were clearly and gradually transmitted.
@SQLBits
@SQLBits Жыл бұрын
Thank you so much!
@sudheeranumalasetti1924
@sudheeranumalasetti1924 2 жыл бұрын
Hi Margarita, Thanks much for your wonderful explanation.
@TheAndad
@TheAndad 2 жыл бұрын
Very nicely explained, thank you for sharing, Margarita!
@DJ_Milky_T
@DJ_Milky_T Жыл бұрын
New Subscription from me. Trying to understand the concepts behind it - very clear explanations coupled with a concise demo. Great work!!!
@SQLBits
@SQLBits Жыл бұрын
Awesome, thank you!
@bisratgezahgne914
@bisratgezahgne914 2 жыл бұрын
Easy to understand, Thank you.
@FeelTheWay
@FeelTheWay 6 ай бұрын
Nice video ! Thank you for sharing. In 2024 we still cannot apply a partition on an existing table. I don't understand.
@kattttttttttttttt2141
@kattttttttttttttt2141 2 жыл бұрын
Very informative! Thank you 😊💓
@marcosantonioortega
@marcosantonioortega 2 жыл бұрын
Wel Done, Margarita..! Just very well explained.! Thanks a lot
@Nikola-ft7xi
@Nikola-ft7xi 9 ай бұрын
Great tutorial! Few questions if you can help: 1) If I am partitioning by year (example 2022,2023,2024), is it safe to set new partition 2025 few days before new year? Data inserted before 1.1.2025. will still go to partition 2024 and all data inserted after 31.12.2024 will go to new partition? 2) What is the best way to apply partitioning to already partitioned table with more than million rows and with few constrains and indexes? example from 1st question 3) What is downside of using just [Primary] filegroup for all partitions?
@andrewhofmann5453
@andrewhofmann5453 2 жыл бұрын
This is good stuff. I wish I had more than 1 thumbs up to give.
@dnabhushana
@dnabhushana 2 жыл бұрын
Wow.... Awesome explanation !!!
@buenrostrobuenrostro6797
@buenrostrobuenrostro6797 11 ай бұрын
​ What happens with tables related to other tables?
@va1io
@va1io 2 жыл бұрын
Thanks ! in case you delete table with partition - do all partitions / functions and indexes connected are deleted ?
@SQLBits
@SQLBits Жыл бұрын
Hey, if you reach out to the speakers on LinkedIn/Twitter i'm sure they'll be able to answer any questions you may have!
@tomasoyola2314
@tomasoyola2314 2 жыл бұрын
So the last part where you explain the nonclustered index wasn´t clear for me. What is the thing that we need to know before creating a non clustered index (The mappings of the columns ?)? And what is the difference between creating it on primary or on the partitions ?
@SQLBits
@SQLBits 2 жыл бұрын
Hey Tomas! If you have any questions for our speaker, we recommend asking them via LinkedIn/Twitter as you are more likely to get a response from them - Thanks!
@mrluke8264
@mrluke8264 2 жыл бұрын
Sometimes you have to include the Partition Key
@AmitKumar-pl4qm
@AmitKumar-pl4qm Жыл бұрын
Can you pls share the script
@SQLBits
@SQLBits Жыл бұрын
Hey, if you reach out to the speakers on LinkedIn/Twitter i'm sure they'll be able to answer any questions you may have!
@Helloimtheshiieet
@Helloimtheshiieet Жыл бұрын
Hate to say this but you have a backwards approach to this. You append THEN partition new data literally 100% of the time on smaller tables and the VIEW or TOP table is queried by others. Using an example where you are directly querying a partition isn't a thing and you are completely ignoring the most important fundamental DB rule of NORMALIZATION. You have completely ignored normalization in your video/s making it x9238928493284 more complex. You should be partitioning BASE TABLES. So 2/3 of your steps are really just attempting to solely focus on partitioning as it's somehow the holy grail of SQL when it's not. Especially if you use teradata etc. Partitioning is VERY EASY. You should be doing it on base tables not partitioning top tables. Ever.
@arankin2914
@arankin2914 Жыл бұрын
It's too complex.
@SQLBits
@SQLBits Жыл бұрын
Hey! Depending on what you'd like to see, our channel may have something else that is suitable for you!
Deadlocks: Lets Do One, Understand It, and Fix It
44:01
SQLBits
Рет қаралды 38 М.
Dealing with Very Large Tables in SQL Server
50:43
SQLBits
Рет қаралды 1,1 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Maximizing Database Performance With Isolation Levels
46:30
SQLBits
Рет қаралды 1,1 М.
SQL Server Data Partitioning by Vijay Reddy
1:12:49
DataPlatformGeeks & SQLServerGeeks
Рет қаралды 30 М.
Your Performance Tuning Check List
53:40
SQLBits
Рет қаралды 817
Query Store Best Practices
50:18
SQLBits
Рет қаралды 10 М.
Why You Need Query Store
57:20
SQLBits
Рет қаралды 11 М.
Blocking and Locking: How to Find and Fight Concurrency Problems
58:29
Brent Ozar Unlimited
Рет қаралды 51 М.
Delta Live Tables A to Z: Best Practices for Modern Data Pipelines
1:27:52
SQL Indexes | Clustered vs. Nonclustered Index | #SQL Course #21
43:10
Data with Baraa
Рет қаралды 4,1 М.
Microsoft SQL Server Performance Tuning, Live
54:30
Brent Ozar Unlimited
Рет қаралды 116 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН