< 1 2 3 >   Sort: Rank

What Is OBJECT_ID()
What Is OBJECT_ID() function in SQL Server? OBJECT_ID() is a system function in a SQL Server Database that returns the object_id value from the sys.objects table for a given object name. The following query will return the same result: SELECT OBJECT_ID('ADDRESS') AS object_id 211197 SELECT object_id...
2019-07-09, 1306🔥, 0💬

What Is sys.objects
What Is sys.objects view in SQL Server? sys.objects is a system view in a SQL Server Database that contains information about each data object like a table or an index used by the database. Each record in the sys.objects table represents a single data object with the following key fields: name - sys...
2019-07-09, 1229🔥, 0💬

What Is a SQL Server Partition
What Is a SQL Server Partition? A SQL Server Partition represents a logical data storage space area that is used to store data for a table or other data objects. By default all records in a table are stored in a single Partition. You may configure a table as Partitioned with use multiple partitions,...
2019-07-09, 1229🔥, 0💬

Review Azure SQL Database Configuration
How is my Azure SQL Database configured? If you have followed the previous tutorial, you can continue with this one to review your Azure SQL Database configurations. 1. Login to your Azure Web portal. 2. Search and select your resource group name "Group". You see two services have been created: fyi-...
2019-07-07, 1065🔥, 0💬

Azure SQL Database Related Terminology
Azure SQL Database Related Terminology: DTU - DTU (Database Transaction Unit) is a unit of measure of mixed resources of CPU, Memory and IO used to support Azure SQL database. The actual computing power provided by each DTU is based on your SQL database service tier. For example, at the "Standard" t...
2019-07-05, 1052🔥, 0💬

What Is Azure SQL Database
What Is Azure SQL Database? Azure SQL Database is the intelligent, scalable, cloud database service offered by Microsoft on their Azure cloud platform. Main features of Azure SQL Database are: Frictionless database migration with no code changes at an industry leading TCO Built-in machine learning f...
2019-07-04, 1376🔥, 0💬

What Is sys.allocation_units
What Is sys.allocation_units view in SQL Server? sys.allocation_units is a system view in a SQL Server Database that contains information about each allocation unit of a data partition to a physical file. Each record in the sys.allocation_units table represents a single allocation of a data partitio...
2019-06-29, 4112🔥, 0💬

I/O Tests on INSERT Statements
Where to find tutorials on testing I/O Tests on INSERT Statements on SQL Server Database? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on testing I/O Tests on INSERT Statements on SQL Server Database. Use allocation_units for I/O Tests Page Siz...
2019-06-29, 1753🔥, 0💬

What Is fn_virtualfilestats()
What Is fn_virtualfilestats() function view in SQL Server? fn_virtualfilestats() is a Transact-SQL function view that returns I/O statistics for database files, including log files. In SQL Server, this information is also available from the sys.dm_io_virtual_file_stats dynamic management view. fn_vi...
2019-06-29, 1716🔥, 0💬

Join sys.allocation_units with fn_virtualfilestats()
How to join the sys.allocation_units system view with the fn_virtualfilestats() system function view? If you want to watch the I/O statistics of physical files related to a give table, you need to join sys.allocation_units system view with fn_virtualfilestats() as shown below: -- fyi_get_io_stats_by...
2019-06-29, 1169🔥, 0💬

Find the File IDs of a Given Table
How to find the File IDs of a Given Table If you are performing an I/O test on a specific table and want to use the fn_virtualfilestats() function to gather I/O statistics, you need to follow this tutorial to find which files is used to store a given table. To find out which files are used to store ...
2019-06-29, 1155🔥, 0💬

I/O Tests on SELECT Statements
Where to find tutorials on I/O tests on SELECT Statements on SQL Server Database? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on I/O tests on SELECT Statements on SQL Server Database. Test Script for SELECT with CURSOR No Reads on SELECT with ...
2019-05-31, 1106🔥, 0💬

Test Script for INSERT with MEMORY_OPTIMIZED
Where can I get a SQL script to do I/O performance test with INSERT statement using BIGINT with MEMORY_OPTIMIZED? Here is a SQL script to do I/O performance test with INSERT statement using BIGINT with MEMORY_OPTIMIZED. In this case, the table content should be cached in memory as much as possible. ...
2019-05-24, 1081🔥, 0💬

SELECT with BIGINT on Azure SQL Database
What is the data read performance with the SELECT statement using BIGINT as the search criteria on Azure SQL Database? To see the data read performance with the SELECT statement using BIGINT as the search criteria on Azure SQL Database, you can run the SQL script, fyi_select_bigint.sql, presented in...
2019-05-19, 1090🔥, 0💬

Test Script for SELECT with PRIMARY KEY
Where can I get a SQL script to do I/O performance test with SELECT statement using BIGINT PRIMARY KEY as the search criteria? Here is a SQL script to do I/O performance test with SELECT statement using BIGINT PRIMARY KEY as the search criteria. It uses the fn_virtualfilestats() function table to ca...
2019-05-18, 1211🔥, 0💬

Test Script for INSERT with BIGINT
Where can I get a SQL script to do I/O performance test with INSERT statement using BIGINT without primary key? Here is a SQL script to do I/O performance test with INSERT statement using BIGINT without primary key. The test result can provide a baseline for INSERT statement with a primary key. -- f...
2019-05-18, 1303🔥, 0💬

Test Script for INSERT with PRIMARY KEY
Where can I get a SQL script to do I/O performance test with INSERT statement using BIGINT with PRIMARY KEY? Here is a SQL script to do I/O performance test with INSERT statement using BIGINT with PRIMARY KEY. -- fyi_insert_primary_key.sql -- Copyright (c) FYIcenter.com DECLARE @Count INT SET @Count...
2019-05-17, 1295🔥, 0💬

No Reads on SELECT with CURSOR on SQL Server 2016
Why is there no reads recorded by fn_virtualfilestats() on SELECT statements with CURSOR on SQL Server 2016? If you run the SQL script, fyi_select_cursor.sql, presented in the last tutorial with different @Count and @Size on SQL Server 2016, you will see that the fn_virtualfilestats() function view ...
2019-05-17, 973🔥, 0💬

SELECT Test Summary on SQL Server 2016
What are performance differences of running the SELECT statement with different criteria and table storage options on SQL Server 2016? Here is a summary of performance differences of running the SELECT statement with different criteria and table storage options on SQL Server 2016. Throughput is calc...
2019-05-15, 1151🔥, 0💬

Page Size Varies on Azure SQL Database
What is the data page size on Azure SQL Database? To find out the data page size on Azure SQL Database, we can run the SQL script, fyi_page_insert.sql, presented in the last tutorial with different @Size on Azure SQL Database. The following table shows the summary of the test results. The PARTITION ...
2019-05-12, 2255🔥, 0💬

Page Size Varies on SQL Server 2016 Database
What is the data page size on SQL Server 2016 Database? To find out the data page size on SQL Server 2016 Database, we can run the SQL script, fyi_page_insert.sql, presented in the last tutorial with different @Size on SQL Server 2016 Database. The following table shows the summary of the test resul...
2019-05-12, 1552🔥, 0💬

fn_virtualfilestats() Not Useful on SQL Server 2016
Why is fn_virtualfilestats() not giving correct write counter values on SQL Server 2016? If you run the SQL script, fyi_insert_write.sql, presented in the last tutorial with different @Count and @Size on SQL Server 2016, you will see that the fn_virtualfilestats() function view is giving incorrect w...
2019-05-12, 1363🔥, 0💬

fn_virtualfilestats() Not Useful on Azure SQL
Why is fn_virtualfilestats() not giving correct write counter values on Azure SQL Database? If you run the SQL script, fyi_insert_write.sql, presented in the last tutorial with different @Count and @Size on Azure SQL Database, you will see that the fn_virtualfilestats() function view is giving incor...
2019-05-12, 1270🔥, 0💬

Use allocation_units for I/O Tests
How to Use allocation_units system view for I/O Tests? If want to use the allocation_units system view to calculate the I/O statistics while doing performance tests, you need to take a copy of the current counters from the allocation_units view before running a test, run the test, then compare count...
2019-05-12, 1183🔥, 0💬

< 1 2 3 >   Sort: Rank