Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thejohnfreeman/db-experiments
https://github.com/thejohnfreeman/db-experiments
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thejohnfreeman/db-experiments
- Owner: thejohnfreeman
- Created: 2021-08-19T16:41:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-19T16:41:44.000Z (over 3 years ago)
- Last Synced: 2024-10-26T00:38:21.485Z (2 months ago)
- Language: PLpgSQL
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project has scripts for benchmarking different approaches to online delete
using different databases.For now all these scripts are for PostgreSQL.
I assume you have PostgreSQL installed and running,
and that you have created a database.- **populate.sql**: Load node data from `/tmp/nodes.tsv`, and randomly
generate change data.
- **inspect.sql**: Check the `params` table and a few key indicators from the
`nodes` and `changes` tables.
- **delete.groupby.sql**: Delete ledgers [0, 250) via group-by and join.
- **delete.function.sql**: Delete ledgers [0, 250) via PL/pgSQL function.