Skip to content

Commit 3ffee17

Browse files
authored
Update README.md
1 parent 377f747 commit 3ffee17

File tree

1 file changed

+7
-2
lines changed
  • samples/features/in-memory/ticket-reservations

1 file changed

+7
-2
lines changed

samples/features/in-memory/ticket-reservations/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,19 @@ The perf gains from In-Memory OLTP as shown by the load generation app depend on
5757
- Configuration settings in the load generator
5858
- more rows per transaction => higher perf gain
5959
- more reads per write => lower perf gain
60-
- default setting is 10 rows per transaction and 1 read per write
60+
- default setting is 100 rows per transaction and 1 read per write
6161

6262
If the performance profile after migration to In-Memory OLTP looks choppy, it is likely that log IO is the bottleneck. This can be mitigated by using [delayed durability] (https://msdn.microsoft.com/en-us/library/dn449490.aspx). This is enabled by running the following statement in the database:
6363
`ALTER DATABASE CURRENT SET DELAYED_DURABILITY = FORCED`
6464

65-
With default settings on one machine with 24 logical cores and relatively slow SSD for the log the app shows around performance 40X gain, and in this case the bottleneck was log IO.
65+
With default settings on one machine with 24 logical cores and relatively slow SSD for the log the app shows around performance 40X gain, and in this case the bottleneck was log IO. Note that the factor gain can vary with the hardware being used.
66+
6667
When deploying to Azure SQL Database, make sure to run the app in an Azure VM in the same region as the database.
6768

69+
If you have a beefy machine and are seeing a drop-off in transaction throughput after running the demo for a while, increase the BUCKET_COUNT in 'apply-in-memory-oltp.sql' by a factor of 10 or 100.
70+
71+
For any feedback on the sample, contact: [email protected]
72+
6873
## About the code
6974
The code included in this sample is not intended to be a set of best practices on how to build scalable enterprise grade applications. This is beyond the scope of this quick start sample.
7075

0 commit comments

Comments
 (0)