top of page


Which One is Better? IN or BETWEEN?
I just had an interesting case of performance tuning: a query with multiple predicates on a very large table. Something like this: SELECT...

Guy Glantser
Mar 9, 20182 min read


Creating AlwaysOn Availability Group With Scripts
One day, your Availability Group cluster can get into a critical state in a way that forces your team to create the Availability Group...

Madeira Team
Mar 9, 20181 min read


Something Cool We Learned Today!
We have many customers, and we work on lots of projects. Each project is different in so many ways: the business environment, the system...

Madeira Team
Mar 8, 20181 min read


What is the CXPACKET Wait Type?
This wait type indicates that parallel plans execute on the server. This wait type doesn’t necessarily means there is a problem. It only...

Madeira Team
Mar 2, 20181 min read


Planning to Increase Cost Threshold for Parallelism – Like a Smart Person!
When administrating a SQL Server instance with multiple CPU cores and heavy workload, it’s common to see SQL Server creating and...
Eitan Blumin
Feb 27, 20183 min read


The king is dead, long live the king!
Everyone, who deal with SQL server, know sample database AdventureWorks, which has been with us since the days of SQL Server 2005. Most...

Madeira Team
Feb 19, 20182 min read


Extremely easy tricks to list table columns’ names and replace SELECT *
Everyone knows the simple T-SQL “SELECT * ” is bad practice. It can: Effects the execution plan (Table / Index Scan); Returns too much...

Madeira Team
Feb 15, 20181 min read


ינואר 2018 – קידום אישי ומקצועי
בכל אחד ואחת מאיתנו קיים הצורך בלמידה מתמדת. הן בתחומים שיקדמו אותנו בעבודה והן בנושאים אחרים. מקום העבודה, המקום בו אנחנו נמצאים שליש...

Madeira Team
Feb 4, 20182 min read


How to Troubleshoot Waiting Tasks Without Requests in SQL Server?
Usually, when I need to troubleshoot currently running requests, I use a combination of sys.dm_exec_requests and sys.dm_os_waiting_tasks....

Madeira Team
Feb 1, 20181 min read


Doing More with Less – My Productivity Guide
Houston, We Have a Problem We are living in a crazy world. And it just gets more and more crazy all the time. The amount of tasks we are...

Madeira Team
Jan 28, 20188 min read
bottom of page
