When you work with simulations that rely on numerous objects in the solve, for example, a wall made of thousands of bricks, it can significantly affect the performance of the simulation. Additionally, it can be tedious to select each object in the Outliner. In these cases, it is best to create a Rigid Set that comprises all of the Rigid Body objects included in the solve.
To create a Rigid Set from multiple objects:
-select all the objects or groups you want to include in the solve. If you select a group, all non-intermediate mesh shapes found under the group are added as a rigid body. 
. Creating a Rigid Set groups all the selected objects so you can select them quickly in the Outliner. 

You can also export a mesh shape using an Alembic cache, which can reduces a 50 000-object scene into one single large mesh, although you need to manually reconnect the materials and shaders. See Render a Bullet simulation with Alembic for more information.
You can edit the Bullet physics attributes for the rigid set in the Attribute Editor by locating the associated Initial State node which is found under the Bullet Solver Shape node in the Outliner.