1.

How Powershell is useful for DBA? Give any 5 things that you have done using PowerShell?

Answer»

If a column in the table is having >50% NULL values then index selection if very selective.

Index SCHEMA is based on B-Tree structure and if the column is having more than 50% NULL values then all DATA will reside on one side of the tree result ZERO benefits of the index on QUERY execution.

The SQL server is having a special index called FILTERED index which can be used here. You can create an index on column only on NON NULL values. NULL data will not be included in the index.



Discussion

No Comment Found