Materialized views

  • Ray K


    Points: 31094

    Hi folks...

    Last week, I heard a new (to me) term: materialized view.  (I'm working in an Oracle shop right now; don't judge me!)  Having worked in mostly SQL Server environments, I had never heard of materialized views before.  Now I'm spending some time trying to learn about them.

    Can anyone recommend any learning resources about them, including (and especially) examples of how to use them?


    Check out my blog at

  • Gail Shaw

    SSC Guru

    Points: 1004474

    I'd start with the MS documentation, it's pretty good. They're usually called 'indexed views', so that search term should get you a lot of reading.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Jeff Moden

    SSC Guru

    Points: 996645

    I did a search of "Materialized Views Oracle" and got quite a bit of information about it.  It does seem that materialized views in Oracle can do quite a bit more than materialized views (indexed views) in SQL Server.

    --Jeff Moden

    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
    "Change is inevitable... change for the better is not".
    "If "pre-optimization" is the root of all evil, then what does the resulting no optimization lead to?"

    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply