SQL Server Table partitioning - DOs and DON’Ts

Поділитися
Вставка

КОМЕНТАРІ • 27

  • @aozdemiroglu
    @aozdemiroglu Рік тому +3

    The most explanatory video I've ever seen. Thank you

  • @marcosoliveira8731
    @marcosoliveira8731 3 роки тому +3

    I have to split a 380GB table in quarters. This class has being very useful. Thank you.

  • @ThiagoSantos-gr2jh
    @ThiagoSantos-gr2jh Рік тому +1

    Congratulations! This video was very pleasant to watch and the concepts were clearly and gradually transmitted.

    • @SQLBits
      @SQLBits  Рік тому +1

      Thank you so much!

  • @DJ_Milky_T
    @DJ_Milky_T Рік тому +2

    New Subscription from me. Trying to understand the concepts behind it - very clear explanations coupled with a concise demo. Great work!!!

    • @SQLBits
      @SQLBits  Рік тому +1

      Awesome, thank you!

  • @sudheeranumalasetti1924
    @sudheeranumalasetti1924 2 роки тому +1

    Hi Margarita,
    Thanks much for your wonderful explanation.

  • @TheAndad
    @TheAndad 2 роки тому +1

    Very nicely explained, thank you for sharing, Margarita!

  • @bisratgezahgne914
    @bisratgezahgne914 Рік тому +1

    Easy to understand, Thank you.

  • @marcosantonioortega
    @marcosantonioortega 2 роки тому

    Wel Done, Margarita..!
    Just very well explained.!
    Thanks a lot

  • @chorton53
    @chorton53 2 роки тому +1

    Your video is so very helpful. Thank you so much.

  • @FeelTheWay
    @FeelTheWay 3 місяці тому

    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 роки тому +1

    Very informative! Thank you 😊💓

  • @Nikola-ft7xi
    @Nikola-ft7xi 6 місяців тому +1

    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 8 місяців тому


    What happens with tables related to other tables?

  • @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

  • @va1io
    @va1io Рік тому

    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!

  • @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 Рік тому +3

    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  Рік тому +1

      Hey! Depending on what you'd like to see, our channel may have something else that is suitable for you!