# OLTP, OLAP, and Data Mining

## Online Transaction Processing

* It deals with simple queries that update data
* The focus is on data consistency, data protection and throughput
* Ex. bank account transactions

## Online Analytical Processing

* It deals with complex queries to explore data
* The focus is on the performance of the complex queries
* Ex. finding total sales listed by product or region

## Data Mining

* It deals with finding interesting patterns in data
* It can also be used to find rules or exceptions to rules and to make the data tell a story


---

# 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://vikram-bajaj.gitbook.io/cs-gy-6083-principles-of-database-systems/main-1/oltp-olap-and-data-mining.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.
