# Smart Scan

The **SmartScan** feature is designed to efficiently refresh data for specific directories or files without reprocessing the entire dataset. Instead of performing a complete refresh, which can be time-consuming and resource-intensive, SmartScan focuses only on the designated directories or files to check for any updates or modifications.

This targeted refresh approach ensures that only the relevant data is updated, significantly reducing processing time and resource usage. By refreshing only the necessary portions of data, SmartScan helps maintain data accuracy while optimizing system performance and minimizing overhead.

This feature is particularly useful for environments where data changes occur periodically in specific locations, allowing for faster and more efficient data management.

<figure><picture><source srcset="/files/a0sNjb3mVJQJIVtmd0uw" media="(prefers-color-scheme: dark)"><img src="/files/LxdLAcZq4tZW4kuI63Qh" alt=""></picture><figcaption></figcaption></figure>

#### ⚙️Steps to **Enable SmartScan**

To enable the **SmartScan** feature, simply select the **Smart Scan** checkbox while creating a new dataset. Once enabled, three additional configuration fields will appear that allow you to define how SmartScan operates.

**Configuration Fields**

1. **Template** - Specify the **path template** of the directory or file that you want SmartScan to monitor and refresh. This determines the target location where SmartScan will look for updates or changes.
2. **Backfill Hours -** Specifies how far back SmartScan should scan for updates. The default value is **48 hours**. For example, setting it to 72 hours will scan for changes made within the last 72 hours.
3. **Incremental Minutes -** Specifies the **frequency (in minutes)** at which SmartScan will run incrementally to detect and refresh new or updated data within the specified path.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://supercloudnow.gitbook.io/supercloudnow-docs/undefined/usage-guide/datasets/advance/smart-scan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
