mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Change of In-Memory Demo
1. t-sql-scripts\enable-in-memory-oltp.sql is appled to sql 2016 or higher 2. modify the sql script name in readme of ticket-reservations 3. add the table type control for Demo_Reset stored proc.
This commit is contained in:
@ -41,8 +41,8 @@ This Windows Forms sample application built on .NET Framework 4.6 demonstrates
|
||||
8. Start the workload with the **Start** button, and run for a while to show perf profile. Then press stop to stop the workload. You can tweak aspects of the workload (e.g., rows per transaction) through the configuration form accessed using the "Options" menue.
|
||||
|
||||
9. In the database project,
|
||||
- Change TicketReservations.sql to a memory-optimized table (instructions commented in the file itself)
|
||||
- Change InsertTicketReservations.sql to natively compiled (instructions in the same file)
|
||||
- Change TicketReservationDetail.sql to a memory-optimized table (instructions commented in the file itself)
|
||||
- Change InsertReservationDetails.sql to natively compiled (instructions in the same file)
|
||||
|
||||
10. Publish the database project to the same database – the tool will take care of making the necessary changes.
|
||||
Note that, as part of publication, the data is copied from the old disk-based table to the new memory-optimized table, so the longer you run the initial workload, the longer this publication takes. To speed up the process you can run `TRUNCATE TABLE dbo.TicketReservationDetail` in the database.
|
||||
|
||||
Reference in New Issue
Block a user