2

Or in other words ... . Does the DBMS somehow circumvent the OS Cache manager and acccess the memory directly OR it lets the OS do its job, behave as a normal process and use the concept of virtual memory?

asked May 31, 2013 at 13:04

1 Answer 1

5

Virtual Memory is an indirection mechanism that map virtual addresses to physical addresses and the translation occurs in hardware layer through PTEs. A process can refer and address only virtual memory. Only privileged execution (kernel) can address physical memory. I recommend you read a book on the subject, the classic being Windows Internals by Russinovich/Solomon.

Your explanation is asking though a completely different question, whether OS 'Caches Manager' is circumvented. Virtual Memory is not a cache and there is never any sort of 'caching' in any discussion of a memory manager architecture (on any OS). It is not clear what 'cache manager' are you referring to. Does SQL Server do buffered IO (ie. uses OS file cache)? Generally no, see How It Works: Bob Dorr's SQL Server I/O Presentation.

Glorfindel
2,2095 gold badges19 silver badges26 bronze badges
answered May 31, 2013 at 13:41
1
  • Thanks! I will have to look more into it. I have obviously mixed two different things together. Commented May 31, 2013 at 14:25

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.