You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sql-database/sql-database-single-database-scale.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.topic: conceptual
10
10
author: stevestein
11
11
ms.author: sstein
12
12
ms.reviewer: carlrab
13
-
ms.date: 03/10/2020
13
+
ms.date: 04/30/2020
14
14
---
15
15
# Scale single database resources in Azure SQL Database
16
16
@@ -42,14 +42,28 @@ Changing the service tier or compute size of mainly involves the service perform
42
42
43
43
## Latency
44
44
45
-
The estimated latency to change the service tier or rescale the compute size of a single database or elastic pool is parameterized as follows:
45
+
The estimated latency to change the service tier, scale the compute size of a single database or elastic pool, move a database in/out of an elastic pool, or move a database between elastic pools is parameterized as follows:
46
46
47
47
|Service tier|Basic single database,</br>Standard (S0-S1)|Basic elastic pool,</br>Standard (S2-S12), </br>Hyperscale, </br>General Purpose single database or elastic pool|Premium or Business Critical single database or elastic pool|
48
48
|:---|:---|:---|:---|
49
49
|**Basic single database,</br> Standard (S0-S1)**|• Constant time latency independent of space used</br>• Typically, less than 5 minutes|• Latency proportional to database space used due to data copying</br>• Typically, less than 1 minute per GB of space used|• Latency proportional to database space used due to data copying</br>• Typically, less than 1 minute per GB of space used|
50
50
|**Basic elastic pool, </br>Standard (S2-S12), </br>Hyperscale, </br>General Purpose single database or elastic pool**|• Latency proportional to database space used due to data copying</br>• Typically, less than 1 minute per GB of space used|• Constant time latency independent of space used</br>• Typically, less than 5 minutes|• Latency proportional to database space used due to data copying</br>• Typically, less than 1 minute per GB of space used|
51
51
|**Premium or Business Critical single database or elastic pool**|• Latency proportional to database space used due to data copying</br>• Typically, less than 1 minute per GB of space used|• Latency proportional to database space used due to data copying</br>• Typically, less than 1 minute per GB of space used|• Latency proportional to database space used due to data copying</br>• Typically, less than 1 minute per GB of space used|
52
52
53
+
> [!NOTE]
54
+
> Additionally, for Standard (S2-S12) and General Purpose databases, latency for moving a database in/out of an elastic pool or between elastic pools will be proportional to database size if the database is using Premium File Share ([PFS](https://docs.microsoft.com/azure/storage/files/storage-files-introduction)) storage.
55
+
>
56
+
> To determine if a database is using PFS storage, execute the following query in the context of the database. If the value in the AccountType column is `PremiumFileStorage`, the database is using PFS storage.
57
+
58
+
```sql
59
+
SELECTs.file_id,
60
+
s.type_desc,
61
+
s.name,
62
+
FILEPROPERTYEX(s.name, 'AccountType') AS AccountType
63
+
FROMsys.database_filesAS s
64
+
WHEREs.type_descIN ('ROWS', 'LOG');
65
+
```
66
+
53
67
> [!TIP]
54
68
> To monitor in-progress operations, see: [Manage operations using the SQL REST API](https://docs.microsoft.com/rest/api/sql/operations/list), [Manage operations using CLI](/cli/azure/sql/db/op), [Monitor operations using T-SQL](/sql/relational-databases/system-dynamic-management-views/sys-dm-operation-status-azure-sql-database) and these two PowerShell commands: [Get-AzSqlDatabaseActivity](/powershell/module/az.sql/get-azsqldatabaseactivity) and [Stop-AzSqlDatabaseActivity](/powershell/module/az.sql/stop-azsqldatabaseactivity).
0 commit comments