Skip to content

pg-sharding/logproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logproxy

Logproxy is a tool for recording and replaying test queries.

Main features

  • Write log of incoming queries with timestamp
  • Replay queries from log file

Usage

To start querry collecting session:

logproxy run -H bdHost -p bdPort -l LogFile -P proxyPort -c tlsConfigPath

To connect use:

psql -H proxyHost -p proxyPort *creds for db*

After closing connection, queries will be saved to the log file. To replay it execute:

logproxy replay -H bdHost -p bdPort -U userName -d dbName -l LogFile

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published