Tag: tips

Pro Members SQL Server Standard Members

Tips for using indexes in SQL Server 2016 (Part 2)

Tips for using indexes in SQL Server 2016 (Part 2) Drop indexes that are not used. Because each index take up disk space and slow down the adding, deleting, and updating of rows, you should drop indexes that are not used. You can use Database Engine Tuning Advisor to identify indexes that are not used in your queries. Keep your...

This content is for Pro, Pro Member, Pro Member, 90 Days, Non-Recur, Standard, Standard Member and Standard Member, 90 Days, Non-Recur members only.
Log In Register
Pro Members SQL Server Standard Members

Tips for using indexes in SQL Server 2016 (Part 1)

Tips for using indexes in SQL Server 2016 (Part 1) Consider creating the columnstore indexes on the memory-optimized tables. Beginning with SQL Server 2016, you can create a memory-optimized table with a columnstore index. You can use the ALTER TABLE ADD INDEX statement to add the columnstore index after the memory-optimized table is created. Create a clustered index for each...

This content is for Pro, Pro Member, Pro Member, 90 Days, Non-Recur, Standard, Standard Member and Standard Member, 90 Days, Non-Recur members only.
Log In Register
Pro Members SQL Server Standard Members

Tips for using SQL Server 2016 configuration options

Tips for using SQL Server 2016 configuration options In this article, you can find the description of some useful SQL Server 2016 configuration options with the examples how to make it by using the sp_configure system stored procedure. Note. Because setting up some SQL Server 2016 configuration options can degrade performance you should change these options very carefully and continue...

This content is for Pro, Pro Member, Pro Member, 90 Days, Non-Recur, Standard, Standard Member and Standard Member, 90 Days, Non-Recur members only.
Log In Register
Pro Members SQL Server Standard Members

SQL Server 2016 Transact-SQL Optimization Tips (Part 2)

SQL Server 2016 Transact-SQL Optimization Tips (Part 2) Try to restrict the queries result set by returning only the particular columns from the table, not all table’s columns. This can results in good performance benefits, because SQL Server will return to client only particular columns, not all table’s columns. This can reduce network traffic and boost the overall performance of...

This content is for Pro, Pro Member, Pro Member, 90 Days, Non-Recur, Standard, Standard Member and Standard Member, 90 Days, Non-Recur members only.
Log In Register
Pro Members SQL Server Standard Members

SQL Server 2016 Transact-SQL Optimization Tips (Part 1)

SQL Server 2016 Transact-SQL Optimization Tips (Part 1) Consider using a new query hint NO_PERFORMANCE_SPOOL. This hint was first introduced in SQL Server 2016 and can prevent a spool operator from being added to query plans. This can improve performance when many concurrent queries are running with spool operations. Try to restrict the queries result set by using the WHERE...

This content is for Pro, Pro Member, Pro Member, 90 Days, Non-Recur, Standard, Standard Member and Standard Member, 90 Days, Non-Recur members only.
Log In Register
Pro Members SQL Server Standard Members

Tips for using SQL Server 2016 Integration Services (Part 3)

Tips for using SQL Server 2016 Integration Services (Part 3) Consider encrypting Integration Services packages. SQL Server 2016 Integration Services packages can be encrypted with various levels of encryption. By encrypting packages, you can protect sensitive data. If you need to modify column values, you can use the Data Conversion and Derived Column transformations. These transformations were first added in...

This content is for Pro, Pro Member, Pro Member, 90 Days, Non-Recur, Standard, Standard Member and Standard Member, 90 Days, Non-Recur members only.
Log In Register
Pro Members SQL Server Standard Members

Some tips for designing SQL Server 2016 tables (Part 2)

Some tips for designing SQL Server 2016 tables (Part 2) Try to reduce the number of columns in a table. The fewer the number of columns in a table, the less space the table will use, since more rows will fit on a single data page, and less I/O overhead will be required to access the table’s data. Consider using...

This content is for Pro, Pro Member, Pro Member, 90 Days, Non-Recur, Standard, Standard Member and Standard Member, 90 Days, Non-Recur members only.
Log In Register
Pro Members SQL Server Standard Members

Some tips for designing SQL Server 2016 tables (Part 1)

Some tips for designing SQL Server 2016 tables (Part 1) Avoid using timestamp column as a primary key. Timestamp is a data type that exposes automatically generated, unique binary numbers within a database. Every time that a row with a timestamp column is modified or inserted, the incremented database rowversion value is inserted in the timestamp column. This property makes...

This content is for Pro, Pro Member, Pro Member, 90 Days, Non-Recur, Standard, Standard Member and Standard Member, 90 Days, Non-Recur members only.
Log In Register
Pro Members SQL Server Standard Members

Some tips for using temporary tables in SQL Server 2016

Some tips for using temporary tables in SQL Server 2016 Consider using system-versioned temporal tables. A system-versioned temporal table is a new type of user table in SQL Server 2016 that provides correct information about stored facts at any point in time. Each temporal table consists of two tables actually, one for the current data and one for the historical...

This content is for Pro, Pro Member, Pro Member, 90 Days, Non-Recur, Standard, Standard Member and Standard Member, 90 Days, Non-Recur members only.
Log In Register
Pro Members SQL Server Standard Members

Some tips for using SQL Server 2016 distributed queries

Some tips for using SQL Server 2016 distributed queries Try to avoid using distribution queries or minimize it using. Because distribution transactions incur more overhead than general transactions, avoid using distribution queries, whenever possible. The first steps to optimize distributed queries against a SQL Server 2016 linked server is rewriting queries so, that the most work will be performed on...

This content is for Pro, Pro Member, Pro Member, 90 Days, Non-Recur, Standard, Standard Member and Standard Member, 90 Days, Non-Recur members only.
Log In Register