Add support for command `DBSIZE`
Add support for the DBSIZE command in DiceDB similar to the DBSIZE command in Redis. Please refer to the following commit in Redis to understand the implementation specifics - source.
Write unit and integration tests for the command referring to the tests written in the Redis codebase 7.2.5. For integration tests, you can refer to the tests folder. Note: they have used TCL for the test suite, and we need to port that to our way of writing integration tests using the relevant helper methods. Please refer to our tests directory.
For the command, benchmark the code and measure the time taken and memory allocs using benchmem and try to keep them to the bare minimum.
Hey @arpitbbhayani, I would like to work on this issue. Can you please assign it to me?
@Saumay Go for it. Thanks.
Hey @arpitbbhayani, I am late in implementing this. I can see @raknay has already picked this up and it's been merged as well. https://github.com/DiceDB/dice/pull/328
Can we assign it to @raknay and close this issue then?