> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DirectQuery properties

> Spring Boot configuration properties for running Atoti Market Risk in DirectQuery mode, covering general settings and connection properties for Snowflake, Databricks, Microsoft SQL Server, and ClickHouse

## Overview

These properties configure Atoti Market Risk when it runs in DirectQuery mode. They are provided by the shared
Common Library, so they also appear in [Common library properties](https://docs.activeviam.com/solutions/market-risk/6.0/properties/config-properties/common-library.md).

To run in DirectQuery mode, set `starter.deployment.type` to `direct-query`, set `directquery.database.type` to
choose the database, then configure the connection properties for that database. The Snowflake, Databricks, and
Microsoft SQL Server [profiles](../profiles) set the database type, clustering and schema validation, and read most
connection properties from environment variables.

## General properties

These properties apply to every database.

<table>
  <colgroup>
    <col />

    <col />

    <col />

    <col />
  </colgroup>

  <thead><tr><th>Name</th>
  <th>Type</th>
  <th>Default</th>
  <th>Description</th></tr></thead>

  <tbody />
</table>

## Snowflake

For the properties set by the Snowflake profile, see [application-snowflake.yaml](https://docs.activeviam.com/solutions/market-risk/6.0/properties/profiles/application-snowflake-yaml.md).

<table>
  <colgroup>
    <col />

    <col />

    <col />

    <col />
  </colgroup>

  <thead><tr><th>Name</th>
  <th>Type</th>
  <th>Default</th>
  <th>Description</th></tr></thead>

  <tbody />
</table>

## Databricks

For the properties set by the Databricks profile, see [application-databricks.yaml](https://docs.activeviam.com/solutions/market-risk/6.0/properties/profiles/application-databricks-yaml.md).

<table>
  <colgroup>
    <col />

    <col />

    <col />

    <col />
  </colgroup>

  <thead><tr><th>Name</th>
  <th>Type</th>
  <th>Default</th>
  <th>Description</th></tr></thead>

  <tbody />
</table>

## Microsoft SQL Server

For the properties set by the Microsoft SQL Server profile, see [application-mssql.yaml](https://docs.activeviam.com/solutions/market-risk/6.0/properties/profiles/application-mssql-yaml.md).

<table>
  <colgroup>
    <col />

    <col />

    <col />

    <col />
  </colgroup>

  <thead><tr><th>Name</th>
  <th>Type</th>
  <th>Default</th>
  <th>Description</th></tr></thead>

  <tbody />
</table>

## ClickHouse

> [!NOTE]
>
> ClickHouse support is a preview feature. No profile is bundled for ClickHouse.

<table>
  <colgroup>
    <col />

    <col />

    <col />

    <col />
  </colgroup>

  <thead><tr><th>Name</th>
  <th>Type</th>
  <th>Default</th>
  <th>Description</th></tr></thead>

  <tbody />
</table>
