mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-04 01:25:38 -05:00
Enabling QueryStore options to the database properties (#24255)
* Initial commit * updated query capture policy props * all done except, querydiskSpaceSection * disabling capture policy options on off mode but with custom mode enabled * adding query disk usage section with purge button * fg table replace * STS vbump to 4.9.0.34 * typo
This commit is contained in:
committed by
GitHub
parent
594aabb835
commit
aa006b9da7
@@ -458,6 +458,7 @@ export interface Database extends ObjectManagement.SqlObject {
|
||||
isFilesTabSupported?: boolean;
|
||||
files?: DatabaseFile[];
|
||||
filegroups?: FileGroup[];
|
||||
queryStoreOptions?: QueryStoreOptions;
|
||||
}
|
||||
|
||||
export interface DatabaseViewInfo extends ObjectManagement.ObjectViewInfo<Database> {
|
||||
@@ -481,6 +482,32 @@ export interface DatabaseViewInfo extends ObjectManagement.ObjectViewInfo<Databa
|
||||
rowDataFileGroupsOptions?: string[];
|
||||
fileStreamFileGroupsOptions?: string[];
|
||||
fileTypesOptions?: string[];
|
||||
operationModeOptions?: string[];
|
||||
statisticsCollectionIntervalOptions?: string[];
|
||||
queryStoreCaptureModeOptions?: string[];
|
||||
sizeBasedCleanupModeOptions?: string[];
|
||||
staleThresholdOptions?: string[];
|
||||
}
|
||||
|
||||
export interface QueryStoreOptions {
|
||||
actualMode: string;
|
||||
dataFlushIntervalInMinutes: number;
|
||||
statisticsCollectionInterval: string;
|
||||
maxPlansPerQuery: number;
|
||||
maxSizeInMB: number;
|
||||
queryStoreCaptureMode: string;
|
||||
sizeBasedCleanupMode: string;
|
||||
staleQueryThresholdInDays: number;
|
||||
waitStatisticsCaptureMode?: boolean;
|
||||
capturePolicyOptions?: QueryStoreCapturePolicyOptions;
|
||||
currentStorageSizeInMB: number;
|
||||
}
|
||||
|
||||
export interface QueryStoreCapturePolicyOptions {
|
||||
executionCount: number;
|
||||
staleThreshold: string;
|
||||
totalCompileCPUTimeInMS: number;
|
||||
totalExecutionCPUTimeInMS: number;
|
||||
}
|
||||
|
||||
export interface DatabaseScopedConfigurationsInfo {
|
||||
|
||||
Reference in New Issue
Block a user