Chapter 2: MongoDB Indexes Understanding Explain for Sharded Clusters (Compass Explain plan not showing up)

I have sharded cluster in my localhost, running successfully. I could get the explain() in the mongo shell, but I could’nt get it on the Compass GUI. It’s strange.

Here is the screenshot of the compass explain

In this query of explain plan, I have indexed on stars.

Here is the index

Hi @Rakshith_79674

This is a known issue in Compass 1.26 (see COMPASS-4799) and it is fixed in 1.27 which is not yet released. There are beta versions available but as you can work around this for the course I’d recommend continuing to use the shell and updating to Compass when 1.27 is released for general availability.

Kindest regards,