11.. _collection-tab:
22
3- ================
4- Collections View
5- ================
3+ =====================
4+ Collections and Views
5+ =====================
66
77.. default-domain:: mongodb
88
@@ -14,24 +14,34 @@ Collections View
1414
1515.. include:: /includes/extracts/readonly-not-permitted-collections.rst
1616
17- Collections View
18- ----------------
17+ .. _collections-screen:
1918
20- The :guilabel:`Collections` view lists the existing
21- :manual:`collections </core/databases-and-collections/#collections>`
22- in the selected database and general information for each collection.
23- To access the :guilabel:`Collections` view for a database, from the
24- :doc:`Databases tab </databases>` either:
19+ Collections Screen
20+ ------------------
21+
22+ The :guilabel:`Collections` screen lists the existing
23+ :ref:`collections <compass-collections>` and
24+ :ref:`views <compass-views>` in the selected database. Each
25+ list item includes the name and other general information for
26+ the specific collection/view.
27+
28+ To access the :guilabel:`Collections` screen for a database, from the
29+ :doc:`Databases screen </databases>` either:
2530
2631- Click a :guilabel:`Database Name` in the main :guilabel:`Databases`
2732 view, or
2833
29- - Click a database in the left-hand pane .
34+ - Click a database in the left navigation .
3035
3136.. figure:: /images/compass/select-database.png
3237 :figwidth: 750px
3338
34- The :guilabel:`Collections` view displays the following
39+ .. _compass-collections:
40+
41+ Collections
42+ ~~~~~~~~~~~
43+
44+ The :guilabel:`Collections` screen displays the following
3545information for each collection in the selected database:
3646
3747- Collection name
@@ -44,20 +54,35 @@ information for each collection in the selected database:
4454 collection. Hover over a :guilabel:`Collation` banner to view
4555 the properties for that collection.
4656
47- .. figure:: /images/compass/collection-tab2.png
48- :figwidth: 720px
57+ .. _compass-views:
58+
59+ Views
60+ ~~~~~
4961
50- You can also :ref:`create <create-collection>` or
51- :ref:`drop collections <drop-collection>` from this view.
62+ Views are read-only results of an aggregation run against a collection.
63+ The :guilabel:`Collections` screen displays the following information
64+ for each view in the selected database:
65+
66+ - View name
67+ - Collection from which the view was created
68+ - Total size of all documents in the view
69+ - Total size of all indexes on the collection
70+
71+ |compass-short| explicitly marks views in the left navigation with
72+ a unique icon:
73+
74+ .. figure:: /images/compass/view-icon.png
75+ :scale: 50%
76+ :alt: View icon
77+
78+ For more information on views, see :ref:`view-details`.
5279
5380.. _create-collection:
5481
5582Create a Collection
5683-------------------
5784
58- In addition to the initial collection created during the :ref:`database
59- creation <create-database>`, you can create new collections in an
60- existing database.
85+ You can create new collections in an existing database.
6186
6287.. include:: /includes/steps/create-collection.rst
6388
@@ -70,34 +95,33 @@ Drop a Collection
7095
7196.. _collection-details:
7297
73- View Collection Details
74- -----------------------
98+ Collection Details
99+ ------------------
75100
76- The Collection Detail view shows detailed information for a
77- collection, including the documents the collection contains. To view
101+ The Collection Detail screen shows detailed information for a
102+ collection, including the documents the collection contains. To see
78103collection details, either:
79104
80105- Click a :guilabel:`Collection Name` in the main
81- :guilabel:`Collections` view , or
106+ :guilabel:`Collections` screen , or
82107
83- - Click a collection in the left-hand pane .
108+ - Click a collection in the left navigation .
84109
85110.. figure:: /images/compass/select-collection.png
86111 :figwidth: 750px
87112
88- |compass| provides the following collection information in the
89- detailed view:
113+ After you select a collection, |compass-short| shows you that
114+ collection's :doc:`Documents tab </documents>`. |compass-short| provides the following
115+ collection information and functionality in the detailed view:
90116
91117- :doc:`/documents`
92- - :doc:`/schema` *Not Available in Compass Community Edition*
118+ - :doc:`Import and Export Data </import-export/>` to / from the collection
119+ - :ref:`compass-agg-builder`
120+ - :doc:`Schema Analysis </schema>` *Not Available in Compass Community Edition*
93121- :doc:`/query-plan`
94122- :doc:`/indexes`
95123- :doc:`/validation` *Not Available in Compass Community Edition*
96124
97- You can also import and export documents to and from the selected
98- collection from this view. For more information on this process,
99- see :doc:`Import and Export Data </import-export/>`.
100-
101125.. class:: hidden
102126
103127 .. toctree::
@@ -109,5 +133,6 @@ see :doc:`Import and Export Data </import-export/>`.
109133 /query-plan
110134 /indexes
111135 /validation
136+ /views
112137
113138.. |home| unicode:: U+2302
0 commit comments