# sqlbench mit Homebrew installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für sqlbench in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install sqlbench
```

  Evidenz: local Homebrew formula metadata

## Paketfakten

- **Paketschlüssel:** brew:sqlbench
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/sqlbench>
- **Version:** 1.1.0
- **Quellzusammenfassung:** Measures and compares the execution time of one or more SQL queries
- **Homepage:** <https://github.com/felixge/sqlbench>
- **Repository:** <https://github.com/felixge/sqlbench>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/felixge/sqlbench/archive/refs/tags/v1.1.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-26T04:03:44+02:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- sqlbench (cli)
- sqlbench (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 1.1.0
- Manager aktualisiert: 2026-07-26
- lokale Daten: OK
- Upstream-Repository: https://github.com/felixge/sqlbench
- neueste erkannte Version: v1.1.0 (aktuell)
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <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


## Sicherheitshinweise

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

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal

## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sqlbench
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/de/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/de/brew/go/) - Build dependency declared by Homebrew.
- [sql-lint](https://pkg.so/de/brew/sql-lint/) - Shares pkgdb curated category or tags: cli, database-tools, developer-tools, postgresql, sql.
- [multitime](https://pkg.so/de/brew/multitime/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools, performance.
- [bench](https://pkg.so/de/brew/bench/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools, performance.
- [pyperformance](https://pkg.so/de/brew/pyperformance/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools, performance.
- [siege](https://pkg.so/de/brew/siege/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools.
- [pspg](https://pkg.so/de/brew/pspg/) - Shares pkgdb curated category or tags: cli, database-tools, developer-tools, postgresql.
- [minio-warp](https://pkg.so/de/brew/minio-warp/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools.
- [sql-migrate](https://pkg.so/de/brew/sql-migrate/) - Shares pkgdb curated category or tags: cli, database-tools, developer-tools, sql.
- [sql-translator](https://pkg.so/de/brew/sql-translator/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, database, database-tools, developer, developer-tools.

## Combined YAML source

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


## Quellen

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