# Duck on TiDB
Ed Huang
i@huangdx.net
## What's DuckDB?
- Embeddable OLAP database
- Attachable to other databases
- Read files directly
- Remote access via HTTP / S3
- Blazing fast!
## What's TiDB?
- Distributed OLTP database
- MySQL compatible / Transactional
- Horizontally scalable
- TiDB Serverless
- Pay as you go
- No need to manage the infrastructure
- Access from the edge 🤔
## Install DuckDB
```bash
$ brew install duckdb
```
## Install TiDB
```bash
$ brew install tidb
```
## Some Interesting Use Cases
Dump data from Postgres to TiDB
```
// codes
Preformatted text (code block)
is indented (by one tab, or four spaces)
```
Further Text, including command invocations.
## Section 2: Example formatting {#fmt}
Formatting:
_italic_
// A comment that is completely ignored.
: Speaker notes.
**bold**
`program`
Markup—_especially italic text_—can easily be overused.
_Why use scoped\_ptr_? Use plain **\*ptr** instead.
Visit [the Go home page](https://golang.org/).