managesqlserver's profile picture. In ♥ with SQL Server and obsessed about performance

sqlserver

@managesqlserver

In ♥ with SQL Server and obsessed about performance

⚡️ “SQL Server - Stuff you must know”


#sqlserver Selectivity for #sqlquery = (rows returned by a predicate / total rows input to the predicate) @SQLServer


#sqltidbit Predicate in a #sqlserver #query is that which is in a WHERE or JOIN clause, & evaluates to TRUE or FALSE @SQLServer


If all rows need be fetched from table, but ORDER BY has an indexed col,#sqlserver will do index scan, not table scan #sqltidbit @SQLServer


Very interesting ... if a table is small, indexes don't make sense #sqlserver #SQL @SQLServer #sqltidbit


#sqltidbit : In @SQLServer if a #sqlquery predicate doesn't match an index, it might do a range/scan operation. This is called 'residual'.


Why is a specific query plan chosen by @SQLServer when it executes a query?Here's a post on that: goo.gl/msuQId #sqlserver #SQL

managesqlserver's tweet image. Why is a specific query plan chosen by @SQLServer  when it executes a query?Here's a post on that:
goo.gl/msuQId
#sqlserver #SQL

Super useful list of #sqlserver system catalog queries goo.gl/V9BjKs worth creating a bookmark #SQL #sqlserverdba


A common mistake : Not okay to just copy/paste #SQL scripts for #SQLServer. Each script is to be tuned to the specific database. @SQLServer


⚡️ “SQL Server Query Tidbits”


Interesting to note : QUERY RESPONSE TIME = the time to get the 1st record TOTAL TIME = time to fetch all records #SQLServer #sqltoday


#SQLServer will have two copies of any Query Plan in memory ; one for serial executions and one for parallel ones! Interesting! #sqltoday


For #SQLServer to efficiently match a Plan to a SQL Statement, your object reference better be fully qualified. goo.gl/ohdwhd


SQL Server is real smart! I love that it doesn't cache the plans of queries which run < 1/100th of a second! #SQL #sqlserver #sqltoday


TDS (Tabular Data Stream) is the native protocol i.e. the way in which all SQL Server communication happens! #sqltoday #SQLServer


Ever thought what goes inside SQL Server? Here's something to see! youtu.be/9N6tTdlkE68 #SQLServer #sqlperformance #sqltoday


Query Plan's a favorite in #SQLServer ! One limitation is the levels of nesting in your Plan XML! Is it >128? Sorry! Out of luck! #sqltoday


United States 트렌드

Loading...

Something went wrong.


Something went wrong.