Video není dostupné.
Omlouváme se.

SQL Server Table partitioning - DOs and DON’Ts

Sdílet
Vložit
  • čas přidán 26. 07. 2024
  • When do we get improvement in the performance, and when should we better not choosing partitioning but some other optimization techniques instead? Shall we optimize by using partitioning or yet another index?
    Speaker: Margarita Naumova SQLbits.com/speakers/Margarit...
    SQLbits.com/Sessions/SQL_Serve...
    Tags: Optimising,Developing,Managing,On-prem,performance,partitioning,indexing,Database engine,optimizing

Komentáře • 27

  • @aozdemiroglu
    @aozdemiroglu Před rokem +3

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

  • @TheAndad
    @TheAndad Před 2 lety +1

    Very nicely explained, thank you for sharing, Margarita!

  • @sudheeranumalasetti1924
    @sudheeranumalasetti1924 Před 2 lety +1

    Hi Margarita,
    Thanks much for your wonderful explanation.

  • @marcosoliveira8731
    @marcosoliveira8731 Před 2 lety +3

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

  • @marcosantonioortega
    @marcosantonioortega Před 2 lety

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

  • @chorton53
    @chorton53 Před 2 lety +1

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

  • @kattttttttttttttt2141
    @kattttttttttttttt2141 Před rokem +1

    Very informative! Thank you 😊💓

  • @dnabhushana
    @dnabhushana Před 2 lety

    Wow.... Awesome explanation !!!

  • @ThiagoSantos-gr2jh
    @ThiagoSantos-gr2jh Před rokem +1

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

  • @bisratgezahgne914
    @bisratgezahgne914 Před rokem +1

    Easy to understand, Thank you.

  • @DJ_Milky_T
    @DJ_Milky_T Před rokem +2

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

  • @FeelTheWay
    @FeelTheWay Před měsícem

    Nice video ! Thank you for sharing.
    In 2024 we still cannot apply a partition on an existing table. I don't understand.

  • @andrewhofmann5453
    @andrewhofmann5453 Před rokem

    This is good stuff. I wish I had more than 1 thumbs up to give.

  • @Nikola-ft7xi
    @Nikola-ft7xi Před 4 měsíci

    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?

  • @buenrostrobuenrostro6797
    @buenrostrobuenrostro6797 Před 6 měsíci


    What happens with tables related to other tables?

  • @va1io
    @va1io Před rokem

    Thanks ! in case you delete table with partition - do all partitions / functions and indexes connected are deleted ?

    • @SQLBits
      @SQLBits  Před rokem

      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 Před 2 lety

    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  Před 2 lety

      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 Před rokem

      Sometimes you have to include the Partition Key

  • @AmitKumar-pl4qm
    @AmitKumar-pl4qm Před rokem

    Can you pls share the script

    • @SQLBits
      @SQLBits  Před rokem

      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 Před rokem +2

    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 Před rokem

    It's too complex.

    • @SQLBits
      @SQLBits  Před rokem +1

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