mattn / mattn/go-sqlite3

Increment of in-memory database size

Open
#1,086 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
9.2k
Forks
1.2k
Avg merge
19m
Merged PRs (30d)
4

Description

Is there a way to utilize configurations like in https://www.sqlite.org/c3ref/c_config_covering_index_scan.html ?
I want to know if I can run SQLite on going while setting SQLITE_MEMDB_DEFAULT_MAXSIZE.

Alternatively I would like to be able to run sqlite3_config() as I understand this needs to be done before db init.

Thank you.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how SQLite is initialized in the Go driver and where the sqlite3_config() entry point and SQLITE_MEMDB_DEFAULT_MAXSIZE setting could be applied. Determine whether the driver can safely expose this configuration before database initialization; done means a documented, supported approach or a clearly scoped feature proposal.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sqlite
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.