Topics
Topic 1: Reset Network and Execution Statistics in CLI
This topic will cover what trivial misconfigurations may lead to if you don't keep client and server versions uniform. These mismatched versions may lead to unforeseen consequences. This is one of those situations where a user reported missing info from their CLI. In this case, they were missing execution and network latency which we conveniently output after every query.
artem@free-tier.gcp-us-central1.cockroachlabs.cloud:26257/defaultdb> select * from results limit 1;
id | city | type | owner_id | creation_time | status | current_location | ext
---------------------------------------+-----------+---------+--------------------------------------+---------------------+--------+-----------------------+-------------------
aaaaaaaa-aaaa-4800-8000-00000000000a | amsterdam | scooter | c28f5c28-f5c2-4000-8000-000000000026 | 2019-01-02 03:04:05 | in_use | 62609 Stephanie Route | {"color": "red"}
(1 row)
Time: 49ms total (execution 2ms / network 48ms)Specifically, the last line of the output above.
from DZone.com Feed https://ift.tt/3krbywb
No comments:
Post a Comment