SQL indexing in 9 minutes and a half

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии • 31

  • @murph1329
    @murph1329 13 лет назад

    probably one of the best tutorials i've seen for indexes

  • @AnExplorer1000
    @AnExplorer1000 14 лет назад

    @CamiloSanchez1979 Yes, it seems so. The only question that I have concerns the second table with countries and years...is it possible that the search will be done by first looking at the years column even though, in our query, we've put country on the first place (...WHERE country='CHINA'...).
    Strange...

  • @bulbish
    @bulbish 15 лет назад +1

    thanks for the great tutorials! that's the most i ever learned about databases in just an hour!

  • @AnExplorer1000
    @AnExplorer1000 14 лет назад

    @ponghissimo1 That's why he has put closed captions... So...

  • @MikayilAbdullayev
    @MikayilAbdullayev 11 лет назад

    This was very useful. This video once more proves that databases should be approached more academically.

  • @roughsealtd
    @roughsealtd  14 лет назад

    @AnExplorer1000
    The order of conditions in the SQL statement is irrelevant. Actually "order" is a notion that is completely foreign to the relational theory as designed by Ted Codd. Query optimizers check conditions, check indexes, sometimes rewrite queries, and do as they can to take advantage of existing indexes - if things such as selectivity and distribution of value hint at using the indexes being good for response time.

  • @AryaInk
    @AryaInk 9 лет назад +2

    Though the information provided is excellent in terms of the value but the title is misleading.
    The information provided in the video is about pros and cons of indexing and not about how to index ?

    • @roughsealtd
      @roughsealtd  9 лет назад

      Prashant Vikal
      Was the video titled "how to index"?

    • @AryaInk
      @AryaInk 9 лет назад

      roughsealtd What you think "SQL indexing" means ?

    • @roughsealtd
      @roughsealtd  9 лет назад +8

      Prashant Vikal
      What are indexes, how they work, and, yes, their pros and cons. I should add that in nine minutes you cannot expect an exhaustive review of a topic which is complex; in fact, many young professionals don't quite "get" what is here, which is why I did the video. For a more in-depth analysis, I have written three books on SQL, adding up to about 1,000 pages. And if your concern is the CREATE INDEX syntax, check the docs of your particular DBMS.

    • @AryaInk
      @AryaInk 9 лет назад

      roughsealtd whatever, I can't convince you and that's not my job. Good luck :/

    • @salvosuper
      @salvosuper 7 лет назад +1

      If it were about "how to" it would have included the specific DBMS in the title, since indexing creation syntax is non-standard

  • @twolittlehorses4me
    @twolittlehorses4me 14 лет назад

    would not have dropped my class if I seen this video!

  • @pradeep200417
    @pradeep200417 9 лет назад

    excellent video. Especially the way it was presented.

  • @michaelk3k
    @michaelk3k 11 лет назад

    Great video. Thank you for adding the sub-titles too.

  • @CamiloSanchez1979
    @CamiloSanchez1979 14 лет назад

    Ok, so the question remains, should one index or not? ..i guess the answer is relative

  • @freekeyboards
    @freekeyboards 12 лет назад

    Very informative video and love the accent! Thanks so much!

  • @polypus74
    @polypus74 13 лет назад

    extremely funny videos. i am definitely going to have a look at your books. merci pour le bon travaille.

  • @shakeosm
    @shakeosm 13 лет назад

    excellent.. teaching method and contents...

  • @RazbenOfori
    @RazbenOfori 12 лет назад

    Thank you. Easy to understand and follow.

  • @DeadalusX
    @DeadalusX 12 лет назад +4

    fire ze mizziles!

  • @Toweliee69
    @Toweliee69 14 лет назад

    @ponghissimo1 He's French..

  • @viniciusvh1980
    @viniciusvh1980 14 лет назад

    Very easy to understand.

  • @RockAddicted7
    @RockAddicted7 12 лет назад

    Thank you!

  • @lawrenceadams1628
    @lawrenceadams1628 10 лет назад

    Brilliant!

  • @jghanesh
    @jghanesh 13 лет назад

    Useful

  • @nelsonthekinger
    @nelsonthekinger 7 лет назад

    great job sir :)

  • @MiddleEasternInAmerica
    @MiddleEasternInAmerica 12 лет назад

    Print
    select best thanks from Greetings where ThanksValue = 1000000

  • @hemmahbeast
    @hemmahbeast 13 лет назад

    No, thank you for teaching.