Skip to content

Update README.md #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,15 @@ curl -u admin:change_this -X POST http://localhost:8000/api/test-latency \

- You can enter multi-line SQL in the terminal by wrapping it in quotes, or you can pipe in a file with `-d custom_sql="$(cat myquery.sql)"`.

### Important Note when using Custom queries ###
- Custom queries that are slower will always yield fewer completed test cycles in a fixed period. For eg: If your custom query takes, for example, 0.3 seconds and your interval is 1 second, each full cycle is actually ~1.3s, so over a 10 second period you’ll only get about 7-8 cycles.

- For `SELECT 1`, each loop is closer to 1s so you see 10 full cycles.

- This is expected behavior and the code is running safely/correctly.

- Custom queries that are slower will always yield fewer completed test cycles in a fixed period. Hence use Custom queries carefully.

## Databases Supported 🔌 :

### Oracle DB >= 12.2 📌 :
Expand Down