0

I am trying to know how MV works when i insert batch with 10000 records.

How many times MV will work ? 1 time for all records or 10000 time?

And if another client insert in the same time what will happen?

Can anyone explain the mechanism. Thanks.

ali
  • 81
  • 3
  • 13

1 Answers1

1

in general 1 time per insert.

Mat. view never reads a base table. Every insert propagates inserted block into MV.

https://den-crane.github.io/Everything_you_should_know_about_materialized_views_commented.pdf

https://youtu.be/ckChUkC3Pns?t=9326

Denny Crane
  • 11,574
  • 2
  • 19
  • 30