Does the benchmark tool actually write data to ETCD? #19823
-
Hi, I want to test and verify the overhead of etcd creating snapshots. To do this, I need to insert some data into etcd in advance. After I used benchmark to insert data, I found that the data was not actually in etcd. I am not sure if I did it wrong or if the benchmark itself did not insert data. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @wangwangwang23333 - Thanks for your question, yes the benchmark tool does insert data into etcd, refer to discussion in #17105 for how to introspect any keys created by the benchmark utility. You can run |
Beta Was this translation helpful? Give feedback.
Hey @wangwangwang23333 - Thanks for your question, yes the benchmark tool does insert data into etcd, refer to discussion in #17105 for how to introspect any keys created by the benchmark utility.
You can run
etcdctl endpoint status -w json
to see the database size in use incrementing as you run the benchmark utility.