# Installer sqlbench avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de sqlbench pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:sqlbench
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install sqlbench
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:sqlbench
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.1.0
- **Résumé source:** Measures and compares the execution time of one or more SQL queries
- **Page d'accueil:** <https://github.com/felixge/sqlbench>
- **Dépôt:** <https://github.com/felixge/sqlbench>
- **Dernière mise à jour:** 2026-07-26T04:03:44+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- sqlbench (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.1.0
## Historique du projet et usages

sqlbench is a Go command-line tool for measuring and comparing the execution time of SQL queries. Its README describes the main use case as benchmarking simple CPU-bound PostgreSQL query variants during local development.

### Historique du projet

The repository was created in September 2020 and published an initial v1.0.0 release shortly afterward. A v1.1.0 release later that month added CI-built release binaries and baseline CSV comparison support.

### Historique d'adoption

sqlbench was distributed through GitHub releases, source installation with Go, Chocolatey for Windows, and Homebrew for macOS users. The README explicitly documents Homebrew installation, which made it a familiar one-command install for package-manager-oriented PostgreSQL users.

### Modes d'utilisation

Users pass one or more `.sql` files to sqlbench, optionally set a PostgreSQL connection URL with `-c`, and choose iteration, duration, output CSV, baseline CSV, silent, verbose, and measurement-mode flags. By default it measures with `EXPLAIN (ANALYZE, TIMING OFF)`, while `-m client` measures client wall-clock time.

### Pourquoi les passionnés de paquets s'y intéressent

Package nerds care about sqlbench because it is a focused benchmarking executable that turns query comparisons into reproducible terminal output and CSV artifacts. It also captures the practical packaging taste of small Go tools: install from releases, Go source, Chocolatey, or Brew, then wire into local performance experiments.

### Chronologie

- 2020: GitHub repository created.
- 2020: v1.0.0 initial release published.
- 2020: v1.1.0 release published binaries and added CSV baseline comparison.
- 2021: Repository last pushed according to GitHub metadata while remaining available through package managers.

### Related projects

- The README ties sqlbench to PostgreSQL, pgx connection handling, libpq-style PostgreSQL environment variables, and Homebrew and Chocolatey package channels.

### Sources

- <https://api.github.com/repos/felixge/sqlbench>
- <https://api.github.com/repos/felixge/sqlbench/releases>
- <https://github.com/felixge/sqlbench#readme>
- source_facts.package-manager


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal


## Combined YAML source

View the package source record on GitHub. [combined/sqlbench.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sqlbench.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
