mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-31 15:04:19 +01:00
Table ID is an opaque identifier that is only meaningful to the MV store. Each checkpointed MVCC table corresponds to a single B-tree on the pager, which naturally has a root page. We cannot use root page as the MVCC table ID directly because: - We assign table IDs during MVCC commit, but - we commit pages to the pager only during checkpoint which means the root page is not easily knowable ahead of time. Hence, we: - store the mapping between table id and btree rootpage - sqlite_schema rows will have a negative rootpage column if the table has not been checkpointed yet.
52 lines
453 B
Plaintext
52 lines
453 B
Plaintext
/target
|
|
/.idea
|
|
/.vscode
|
|
**/target
|
|
|
|
*.so
|
|
*.ipynb
|
|
*.o
|
|
|
|
# Python
|
|
.mypy_cache/
|
|
.pytest_cache/
|
|
.ruff_cache/
|
|
.venv*/
|
|
__pycache__/
|
|
.coverage
|
|
venv
|
|
env
|
|
.env
|
|
.venv
|
|
dist/
|
|
.tmp/
|
|
|
|
*.db
|
|
**/*.db-wal
|
|
**/*.db-shm
|
|
**/*-wal
|
|
# perf
|
|
/Mobibench
|
|
# OS
|
|
.DS_Store
|
|
|
|
# Javascript
|
|
**/node_modules/
|
|
|
|
# testing
|
|
testing/limbo_output.txt
|
|
**/limbo_output.txt
|
|
testing/*.log
|
|
.bugbase
|
|
limbostress.log
|
|
simulator.log
|
|
**/*.txt
|
|
profile.json.gz
|
|
simulator-output/
|
|
|
|
&1
|
|
bisected.sql
|
|
*.log
|
|
|
|
*.db-lg
|