Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
1.3 KiB
Markdown
Raw Normal View History

---
2025-08-12 13:29:42 +05:30
title: databaseServiceQueryUsagePipeline
slug: /main-concepts/metadata-standard/schemas/metadataingestion/databaseservicequeryusagepipeline
---
# DatabaseServiceQueryUsagePipeline
*DatabaseService Query Usage Pipeline Configuration.*
## Properties
2025-08-12 13:29:42 +05:30
- **`type`**: Pipeline type. Refer to *#/definitions/databaseUsageConfigType*. Default: `DatabaseUsage`.
- **`queryLogDuration`** *(integer)*: Configuration to tune how far we want to look back in query logs to process usage data. Default: `1`.
2025-08-12 13:29:42 +05:30
- **`stageFileLocation`** *(string)*: Temporary file name to store the query logs before processing. Absolute file path required. Default: `/tmp/query_log`.
- **`filterCondition`** *(string)*: Configuration the condition to filter the query history.
- **`resultLimit`** *(integer)*: Configuration to set the limit for query logs. Default: `1000`.
- **`queryLogFilePath`** *(string)*: Configuration to set the file path for query logs.
2025-08-12 13:29:42 +05:30
- **`processQueryCostAnalysis`** *(boolean)*: Configuration to process query cost. Default: `True`.
## Definitions
2025-08-12 13:29:42 +05:30
- **`databaseUsageConfigType`** *(string)*: Database Source Config Usage Pipeline type. Must be one of: `['DatabaseUsage']`. Default: `DatabaseUsage`.
2025-08-12 13:29:42 +05:30
Documentation file automatically generated at 2025-08-12 05:39:47.683420+00:00.