This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Bench des queries /search enrichies (entreprises + dirigeants + financey) | |
| # À lancer sur le serveur Dokploy, pointe sur /tmp/duckbench/bench.duckdb | |
| set -e | |
| DB=/tmp/duckbench/bench.duckdb | |
| DUCKDB=/tmp/duckbench/duckdb | |
| if ! [ -f "$DB" ]; then | |
| echo "ERROR: $DB not found" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Benchmark du pull Postgres → DuckDB depuis le serveur Dokploy | |
| # Usage: | |
| # PG_PASSWORD=xxx ./bench-pull.sh | |
| # ou le password est injecté via env var PG_PASSWORD | |
| set -e | |
| PG_PASSWORD="${PG_PASSWORD:?Set PG_PASSWORD env var}" | |
| PG_HOST="${PG_HOST:-db.toblqnpormrlyjjunwcp.supabase.co}" | |
| PG_USER="${PG_USER:-postgres}" |