SQL server

Catalogs vs DMVs. What is the difference?

Is it a catalog or a DMV. I have seen some posts that have used it interchangeably.  So what is the true difference? Apparently there is: catalogs get data from [hidden] tables and DMVs get their data from views and internal functions. So catalogs read from disk and DMVs read from memory. This also goes to say that DMVs do not persist information across instance restarts.

DMVs contain changing information like IOs done to disk, session information,  etc… and catalogs contain less changing information about the database like name and location of the data files, etc…


Thinking about someting? Leave a Reply...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s