Become a Materialized View SUPER HERO !

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024
  • Every time your materialized view gets stale and your applications can no longer rely on their accuracy, you get slower queries or very unhappy customers. But there is a way you can become a SUPER HERO DBA by using real time query computation!
    Follow me!
    blog: connor-mcdonal...
    twitter: / connor_mc_d
    The Podcast!
    podcasts.apple...
    open.spotify.c...
    Subscribe for new tech videos every week
    Other social media channels here: linktr.ee/connor
    Music: The Wine, The Cars, Ah! Montmartre! - Late Night Feeler
    #sql #database

ความคิดเห็น • 24

  • @johankuster1377
    @johankuster1377 ปีที่แล้ว +1

    Great! I need to have replay that one. This opens some new possibilities. I could even correct some suboptimal database design and/or add partitioning. Need some study and testing though.

  • @sitaramsahoo811
    @sitaramsahoo811 ปีที่แล้ว +1

    You are awesome! Thanks for sharing an important concept in a very short video yet more valuable. Good job!

  • @dpu11
    @dpu11 ปีที่แล้ว +1

    Awesome..thank you so much.Keep sharing such awesome knowledge.

  • @navarrodba
    @navarrodba ปีที่แล้ว +1

    Thanks for sharing. Super useful!!

  • @rembautimes8808
    @rembautimes8808 9 หลายเดือนก่อน +1

    That was superhero material

  • @PatSloanx
    @PatSloanx ปีที่แล้ว +1

    Cool. Thanks for sharing!

  • @robbybankston4238
    @robbybankston4238 2 หลายเดือนก่อน

    I would suggest mentioning early on the view video which dialect of SQL or platform you are on as the details vary between Oracle, SQL Server, MySQL, PostgreSQL, etc.

  • @IanBond007
    @IanBond007 ปีที่แล้ว

    Outstanding! Thanks for the great explanation.

  • @theboss9885
    @theboss9885 ปีที่แล้ว +1

    Wow... awesome trick. Loved it

  • @aruljebin
    @aruljebin ปีที่แล้ว +1

    A quick recall.. thanks

  • @promisinganuj
    @promisinganuj ปีที่แล้ว +1

    Great info, thanks for sharing

  • @kokizzu
    @kokizzu ปีที่แล้ว +2

    hmm.. what database is this? '__')?
    clickhouse materialized view refreshed on insert, so only delta applied, not sure about bigquery (every 3 minutes? and not sure how the cost/billing)

    • @DatabaseDude
      @DatabaseDude  ปีที่แล้ว +1

      this is oracle mviews

    • @jirehla-ab1671
      @jirehla-ab1671 11 หลายเดือนก่อน

      Hi , i remember oravle offering free entperse edition of oracle 21c (non-commercial use only), but i cant find the same equivalent for 23c since the 23c develop edition haa 12gb ram limit.

  • @vikram4755
    @vikram4755 ปีที่แล้ว +1

    amazing !

  • @kolansheen
    @kolansheen ปีที่แล้ว +1

    Great 👍

  • @SingleWingAcademy
    @SingleWingAcademy 7 หลายเดือนก่อน

    it seems that ENABLE ON QUERY COMPUTATION is only available in oracledb and not postgres?

    • @DatabaseDude
      @DatabaseDude  7 หลายเดือนก่อน

      I think that is correct

  • @juno7893
    @juno7893 ปีที่แล้ว +1

    🤣👏🏻👏🏻👏🏻

  • @yuriys4374
    @yuriys4374 ปีที่แล้ว

    Hello. Cool.
    Everything is ok with INSERT.
    But how does it work with DELETE, UPDATE?
    After DELETE a row from a table select /*+ fresh_mv */ from my_mv query returns ORA-32358

    • @DatabaseDude
      @DatabaseDude  ปีที่แล้ว

      use dbms_mview.explain_mview to see if you need to add anything to the mview log

    • @yuriys4374
      @yuriys4374 ปีที่แล้ว

      @@DatabaseDude Thanks!!! It worked!