项目
在 GitHub 查看
simon-engledew/gocmdpev
关于
一款命令行 GO Postgres 查询可视化工具,深受 pev (https://github.com/AlexTatiyants/pev) 启发。
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文gocmdpev
A command-line GO Postgres query visualizer, heavily inspired by the excellent (web-based) pev

Usage
go get -u github.com/simon-engledew/gocmdpev
or via Homebrew:
brew tap simon-engledew/gocmdpev
brew install gocmdpev
Generate a query plan with all the trimmings by prefixing your query with:
EXPLAIN (ANALYZE, COSTS, VERBOSE, BUFFERS, FORMAT JSON)
Then pipe the resulting query plan into gocmdpev.
On MacOS you can just grab a query on your clipboard and run this one-liner:
pbpaste | sed '1s/^/EXPLAIN (ANALYZE, COSTS, VERBOSE, BUFFERS, FORMAT JSON) /' | psql -qXAt <DATABASE> | gocmdpev
Python 3 Bindings
Check out the repository and run make python3 to build and test the bindings.
Using with Ruby on Rails
Try the pg-eyeballs gem
探索相关项目
加载中…