Created
September 3, 2013 08:55
-
-
Save quexy/6421344 to your computer and use it in GitHub Desktop.
Naive SpecRun statistics store database indices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use SpecRun | |
create nonclustered index idx_events on | |
[Events] (Id, EventSourceId, Sequence, TimeStamp) | |
include (Version, Name, Data) | |
create nonclustered index idx_eventsources on | |
[EventSources] (Id, Type, Version) | |
create nonclustered index idx_pipelinestate on | |
[PipelineState] (PipelineName, BatchId, LastProcessedEventId) | |
create nonclustered index idx_testitems on | |
[TestItems] ([Id], [ProjectId], [LastExecution], [CreatedAt], [LastResult_Code], [State_Code], [SuccessFactor_Value], [SuccessFactor_TrendCode]) | |
include ([Path], [LastResult_Value], [State_Value], [SuccessFactor_TrendValue], [TestHistory]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment