Top 10 Developer Mistakes That Won't Scale

Sdílet
Vložit
  • čas přidán 9. 07. 2024
  • Brent's session at Microsoft TechEd North America 2010. He covers triggers, user-defined functions, SELECT *, storing files in the database, big datatypes, heaps, and more.
  • Věda a technologie

Komentáře • 18

  • @dinhba6859
    @dinhba6859 Před 2 lety +2

    11 years passed it's still precious. tks for sharing

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

      Our pleasure!

    • @johnceena9799
      @johnceena9799 Před 2 lety

      @@BrentOzarUnlimited You are a true GEM Brent. Your videos are like finding a treasure from a ocean.

  • @tsilb
    @tsilb Před 4 lety +1

    7:00 No, I'm at least 73% certain this will actually throw error "Subquery returned more than one value".
    Also, you have two statements that look like they should be in the IF block, but only the print actually is.

  • @renat9400
    @renat9400 Před 2 lety

    Thanks!

  • @rliy001
    @rliy001 Před 3 lety

    Removing unsed indexes. Can you give us link to that script pls

  • @Rieske1969
    @Rieske1969 Před 4 lety

    Is this in 2019 (now 2020) still actual?

    • @TheBrentOzar
      @TheBrentOzar Před 4 lety +1

      Richard van Dommelen can you be more specific?

  • @huzischannel
    @huzischannel Před 4 lety +2

    Can you please provide link/details for sorting data from application ? If my table has million of records and needs sorting. What do you suggest sorting in app or in DB?
    I am not really convinced how application sorting will work since normally there is a pagination associated and application would recieve limited amount of data from Database.

    • @TheBrentOzar
      @TheBrentOzar Před 4 lety

      If you Google for how to sort data (and your preferred programming language), there are a ton of resources.

    • @huzischannel
      @huzischannel Před 4 lety

      @@TheBrentOzar yes i know...but my qs is will they be effecient in sorting millions of records? Since sorting would be done on the entire table not just on 50 -100 records on the page.
      Also i would have to provide entire data to application in such scenario.

    • @TheBrentOzar
      @TheBrentOzar Před 4 lety

      @@huzischannel That means you're doing a TOP, and as I say in the video, sorting as fine as long as your query has a TOP 50-100.

    • @huzischannel
      @huzischannel Před 4 lety

      Not using top but i am using offset and fetch for pagination. Any suggestion for further performance enhancement?

    • @huzischannel
      @huzischannel Před 4 lety

      Thank you so much for replying.