Materialized views

  • 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?

    Thanks!

    +--------------------------------------------------------------------------------------+
    Check out my blog at https://pianorayk.wordpress.com/

  • 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
  • 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.


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

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

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