The simple way to refresh materialized views

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025
  • НаукаНаука

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

  • @nadunsamarasinghe5592
    @nadunsamarasinghe5592 20 дней назад

    Great Explanation...! just to clarify whether it possible to use In Memory columnar store feature enable and move the specific MVs which contains less columns with large amount of row retrievals to gain performance booster respectively ?

    • @DatabaseDude
      @DatabaseDude  18 дней назад

      Yes, mviews can go in the in-memory store. I would perhaps be cautious about full refresh mviews, because a repeated full refreshes means refreshing the column store every time

  • @albertogonzalez5114
    @albertogonzalez5114 2 года назад +1

    Great explanation, thanks so much!

  • @APOELULTRA79DC
    @APOELULTRA79DC 8 месяцев назад +1

    Hi this helpful, but for some reason it asks me that I need to declare mview_name. Not sure if its because I am running this code in SQL developer and should run it from the command shell

    • @DatabaseDude
      @DatabaseDude  8 месяцев назад +1

      Not sure what you mean. Can you elucidate?

  • @HemantKChitale
    @HemantKChitale 2 года назад +2

    Technically, different MViews in a schema would have been built for different purposes (user requirements). So, they are [expected] to be refreshed at different times / intervals.
    If you need multiple MVs refreshed together, define a Refresh Group.

    • @Seth.Chatterley
      @Seth.Chatterley 6 месяцев назад +1

      How do you define a refresh group?

  • @ΠροκόπηςΠουλημένος

    How can we improve materialized views based on complex queries such as join and union and make quicker refresh ?

    • @DatabaseDude
      @DatabaseDude  Год назад +3

      Use DBMS_MVIEW.EXPLAIN_MVIEW to see what is missing in your definition and/or mview log to permit fast refresh

  • @HemantKChitale
    @HemantKChitale 2 года назад +1

    Aah ! How many times do developers and DBAs use / configure an account with the DBA role when the DBA role isn't required !

  • @berndeckenfels
    @berndeckenfels 2 года назад +2

    TLDR, Refresh all mviews refreshes all mviews :)