SQL Server on Linux, aka project Helsinki: Story behind the idea

As I mentioned in my previous post, I left SQL Server in 2007 to work on what ended up being a super exciting software project: The Midori Operating System. I spent almost eight years working in Midori’s kernel and runtime team. I had worked with exceptional folks on very interesting and challenging problems before but I…

0

One, Two, Three... Boom!

…I am back and getting ready to start blogging. It has been almost ten years since my last blog post. Time flies, indeed!  As you can imagine I have plenty of things to share many of which are related to SQL Server, runtimes and  operating systems in general. As we expanding our horizons, I am also planning  on…

0

Changing gears

You haven’t heard from me in while and there is a reason. I moved from SQL Server’s Storage Engine team to a new incubation team that is involved in exploring new directions in operating systems. This subject area has been always very fascinating for me as you easily might deduce from my previous posts. The new team is…

1

Q & A: I am running on 64 bit and all of my tasks are waiting on SOS_RESERVEDMEMBLOCKLIST, What is going on?

This wait type represents waiting on multi page allocations inside of SQLOS’s memory manager. As you remember from my description of memory manager’s working internals, it has two major allocators single page allocator, SPA and multi page allocator, MPA. Majority of the time SQL Server internal code uses SPA, however in some cases it will…

3

SQLOSDMV's Continue

sys.dm_os_waiting_tasks One can run lots of interesting queries using this view.  You can even use this view to perform deadlock detection that is not resolvable by deadlock monitor, DM. For example if you have tasks waiting on external resources such as extended stored procedures and blocking others from running. This type of deadlock DM can’t…

1

Q & A: Does SQL Server always respond to memory pressure?

Q: I thought I’ve seen reference recently to problems with SQL2005 not releasing memory when under pressure, and this was possibly due to the Lock Pages In Memory option. We have a server where this seems to be happening, i.e. SQL2005 uses all available memory and the server basically dies because there’s no memory left…

8

SQLOS's DMVs Continue

sys.dm_os_schedulers Q. Do I need to by more CPUs? In order to answer this question you have to find out if your load is really CPU bounded.  Your load is really CPU bounded if a number of runnable tasks per each scheduler always greater than 1 and all of your queries have correct plan.  The…

6

SQLOS's DMVs

SQL Server 2005 has a large number of DMVs that you can take advantage of especially when you try to understand behavioral characteristics of your SQL Server 2005 installation. DMVs expose enormous amount of information but how can you make use of it? What questions you can answer using DMVs?    So in order to…

8

Talking points around SQL Server 2005 scalability

Couple of weeks ago I did a talk on SQL Server 2005 scalability. The actual talk was not about the enormous amount of features that you can leverage in SQL Serve 2005 to make your application scale but rather how SQL 2005 achieves its scalability. In this post I present a set of talking points…

10