Skip to content

Commit 2581336

Browse files
committed
Enable non-clustered index for timeStamp column
Added `nonClusteredIndex` and `nonClusteredIndexDirection` properties to the `timeStamp` configuration in appsettings.json. These changes enable a non-clustered index and set its direction to descending, improving query performance for timeStamp-related operations.
1 parent 44798cb commit 2581336

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PdfSmith/appsettings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@
5959
"id": { "dataType": "bigint" },
6060
"timeStamp": {
6161
"columnName": "Timestamp",
62-
"convertToUtc": true
62+
"convertToUtc": true,
63+
"nonClusteredIndex": true,
64+
"nonClusteredIndexDirection": "Desc"
6365
},
6466
"logEvent": {
6567
"excludeAdditionalProperties": false,

0 commit comments

Comments
 (0)