Community Day Trivia #15: What is the unique command you can use to check the cumulative size of all databases in a free Atlas cluster?

We’ll be posting trivia challenges throughout the Community Day event!

The best answer for each challenge will be marked as a solution and earn the poster a promo code for $100 of Atlas credits and a Community Day 2021 Trivia Winner forum badge that can also be used as a title on the forums.

A great answer will include some information such as a link to more information or a tip on how you figured out the solution.

You can help us decide the best answer to a trivia challenge by liking great responses! To give everyone a chance at earning Atlas credits, we will use “have you already had a trivia solution accepted” to break ties in favour of those who haven’t had a solution yet.

What is the unique command you can use to check the cumulative size of all databases in a free Atlas cluster?

atlasSize

The command is specific to Atlas free clusters. It returns the cumulative size across all databases in a free cluster.

1 Like

Thanks @Christian_Wagner! In the spirit of “great answers”, I think this could be improved with an example of how to run the command so there is something quick to try before heading to the reference docs: db.runCommand({atlasSize:1}).

Regards,
Stennie

1 Like