With this technique, the
goal is to reduce the amount of data that SQL Server needs to scan through when
doing table scans. Typically, this is done by using a static window approach
with many partitions created in the system and data. For example, you could put
the data for each month into its own partition. This way, when users run a
query, SQL Server needs to scan through only one partition instead of going
through all the data.
Showing posts with label sql server 2014 partition elimination. Show all posts
Showing posts with label sql server 2014 partition elimination. Show all posts
Thursday, November 9, 2017
Subscribe to:
Posts (Atom)
SQL Script to list out name of tables and its records in the database
SET NOCOUNT ON DBCC UPDATEUSAGE(0) -- DB size. EXEC sp_spaceused -- Table row counts and sizes. CREATE TABLE #temptable ( [name] NVA...
-
1. Direct connections via the Internet These connections can be used to attach to SQL Servers sitting naked without firewall protection...
-
There are multiple ways to do this. 1) INSERT INTO SELECT This method is used when table is already created in the database earlier...
-
A FILL FACTOR is one of the important arguments that can be used while creating an index. FILL FACTOR specifies a value interns of t...