Materialized views

  • Ray K

    SSC-Dedicated

    Points: 31033

    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/

  • Gail Shaw

    SSC Guru

    Points: 1004424

    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: 993892

    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.
    "If you think its expensive to hire a professional to do the job, wait until you hire an amateur."--Red Adair
    "Change is inevitable... change for the better is not."
    When you put the right degree of spin on it, the number 3|8 is also a glyph that describes the nature of a DBAs job. 😉

    Helpful Links:
    How to post code problems

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

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