citusdata / citusdata/pg_shard
Consider using binary protocol
Open
research
testing
- Dominant language
- C
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
We have the option of using the Binary protocol between the master and the worker nodes using `PQexecParams`. We currently use `PQexec`, which defaults to `TEXT`. We thus pay the cost of converting the results from text back to the internal Postgres format, which has performance implications.
We should develop a prototype to test performance of the binary protocol and switch to it if that is worthwhile.
Contributor guide
Assessment
This issue has not been assessed yet.