Skip to content

Commit 801a8ce

Browse files
Removed incorrect estimate, added tip
1 parent 085f39a commit 801a8ce

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

docs/samples/wide-world-importers-generate-data.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Generate data in SQL samples WideWorldImporters"
33
description: Use these SQL statements to generate and import sample data up to the current date for the WideWorldImporters sample databases.
4-
ms.date: "04/04/2018"
4+
ms.date: "10/23/2020"
55
ms.reviewer: ""
66
ms.prod: sql
77
ms.prod_service: sql
@@ -34,10 +34,13 @@ To generate sample data up to the current date:
3434
@AreDatesPrinted = 1;
3535
```
3636
37-
This statement adds sample sales and purchase data to the database, up to the current date. It displays the progress of the data generation by day. Data generation can take about 10 minutes for every year that needs data. Because of a random factor in the data generation, there are some differences in the data that's generated between runs.
37+
This statement adds sample sales and purchase data to the database, up to the current date. It displays the progress of the data generation by day. Because of a random factor in the data generation, there are some differences in the data that's generated between runs.
3838
3939
To increase or decrease the amount of data generated for orders per day, change the value for the parameter `@AverageNumberOfCustomerOrdersPerDay`. Use the parameters `@SaturdayPercentageOfNormalWorkDay` and `@SundayPercentageOfNormalWorkDay` to determine the order volume for weekend days.
4040
41+
> [!TIP]
42+
> Forcing [delayed durability](../relational-databases/logs/control-transaction-durability.md) on the database may improve data generation speed, particularly when the database transaction log is on a high latency storage subsystem. Be aware of potential [data loss](../relational-databases/logs/control-transaction-durability.md#bkmk_DataLoss) implications when using delayed durability, and consider only enabling delayed durability for the duration of data generation.
43+
4144
## Import generated data in WideWorldImportersDW
4245
4346
To import sample data up to the current date in the WideWorldImportersDW OLAP database:

0 commit comments

Comments
 (0)