docs/en/integrations/sqlite/source.md
SQLite is a software library that provides a relational database management system. The lite in SQLite means lightweight in terms of setup, database administration, and required resources.
SQLite has the following notable characteristics:
{{< list-tools >}}
You need a SQLite database file. This can be:
:memory: for an in-memory databasekind: source
name: my-sqlite-db
type: "sqlite"
database: "/path/to/database.db"
For an in-memory database:
kind: source
name: my-sqlite-memory-db
type: "sqlite"
database: ":memory:"
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be "sqlite". |
| database | string | true | Path to SQLite database file, or ":memory:" for an in-memory database. |
SQLite connections are configured with these defaults for optimal performance:
MaxOpenConns: 1 (SQLite only supports one writer at a time)MaxIdleConns: 1