> For the complete documentation index, see [llms.txt](https://docs.datapancake.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datapancake.com/core-concepts/scan-configurations.md).

# Scan Configurations

Introduction to scan configurations - learn and control how DataPancake scans your data.

## Overview

Scan configurations control how DataPancake scans data sources. Each configuration defines compute resources, scanning strategy, scheduling, and attribute discovery method.

## Configuration Sections

* [**Basic Configuration Settings**](/core-concepts/scan-configurations/basic-configuration-settings.md) - `CONFIGURATION_NAME`, `ATTRIBUTE_CREATE_TYPE`, `RECORD_STATUS`, `CODE_GENERATE_ON_VERSION_CHANGE`
* [**Scheduling Settings**](/core-concepts/scan-configurations/scheduling-settings.md) - `MONITOR_ENABLED`, `MONITOR_CRON_SCHEDULE`, `MONITOR_CRON_TIMEZONE`
* [**Data Source & Warehouse Settings**](/core-concepts/scan-configurations/data-source-and-warehouse-settings.md) - `SCAN_RECORD_LIMIT`, `SCAN_WHERE_CLAUSE`, warehouse selection
* [**Vertical Scale Settings**](/core-concepts/scan-configurations/vertical-scale-settings.md) - Thread count, `PROCEDURE_INSTANCE_COUNT`, `PROCEDURE_INSTANCE_ROW_COUNT`, `SCAN_ORDER_BY`, `THREAD_PROCESS_RECORD_COUNT` (semi-structured only)
* [**Source Stream Settings**](/core-concepts/scan-configurations/source-stream-settings.md) - `SOURCE_STREAM_LAST_SCANNED_TIMESTAMP` for incremental scanning
* [**Common Patterns & Best Practices**](/core-concepts/scan-configurations/common-patterns-and-best-practices.md) - Configuration patterns and optimization

## Quick Reference

**Essential:**

* `CONFIGURATION_NAME` - Unique identifier
* `ATTRIBUTE_CREATE_TYPE` - `'Discover'` (production) or `'Schema'` (prototyping)
* Virtual Warehouse - Compute resource
* `SCAN_RECORD_LIMIT` - Number of records (0 = unlimited)

**Advanced:**

* Number of Threads - Parallel processing (defaults to warehouse max, semi-structured only)
* `PROCEDURE_INSTANCE_COUNT` - Split scans across multiple calls (60-minute timeout)
* `MONITOR_CRON_SCHEDULE` - Automated scanning with cron expressions

See [Scan Processing](/core-concepts/scan-processing.md) for scanning details. See [Warehouses](/core-concepts/warehouses.md) for warehouse selection.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.datapancake.com/core-concepts/scan-configurations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
