Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spiceaidocs/content/en/data-accelerators/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Currently supported Data Accelerators include:
| ---------------------------------------------------- | ----------------------- | ------ | ---------------- |
| `arrow` | In-Memory Arrow Records | Alpha | `memory` |
| `duckdb` | Embedded DuckDB | Alpha | `memory`, `file` |
| `sqlite` | Embedded SQLite | Alpha | `memory`, `file` |
| [`postgres`]({{<ref "data-accelerators/postgres">}}) | Attached PostgreSQL | Alpha | |
| [`sqlite`]({{<ref "data-accelerators/sqlite">}}) | Embedded SQLite | Alpha | `memory`, `file` |
| [`postgres`]({{<ref "data-accelerators/postgres">}}) | Attached PostgreSQL | Alpha | |
32 changes: 32 additions & 0 deletions spiceaidocs/content/en/data-accelerators/sqlite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
type: docs
title: 'SQLite Data Accelerator'
linkTitle: 'SQLite Data Accelerator'
description: 'SQLite Data Accelerator Documentation'
---

To use SQLite as Data Accelerator, specify `sqlite` as the `engine` for acceleration.

```yaml
datasets:
- from: spiceai:path.to.my_dataset
name: my_dataset
acceleration:
engine: sqlite
```

## Configuration
The connection to SQLite can be configured by providing the following `params`:
- `sqlite_file`: The filename for the file to back the SQLite database. Only applies if `mode` is `file`.

Configuration `params` are provided either in the `acceleration` section for a data store. Other common `acceleration` fields can be configured for sqllite, see see [datasets]({{<ref "reference/spicepod/datasets">}}).

```yaml
datasets:
- from: spiceai:path.to.my_dataset
name: my_dataset
acceleration:
engine: sqlite
params:
sqlite_file: /my/chosen/location/sqllite.db
```