11.. _collection-tab:
22
3- =====================
4- Collections and Views
5- =====================
3+ ===========
4+ Collections
5+ ===========
66
77.. default-domain:: mongodb
88
@@ -12,32 +12,23 @@ Collections and Views
1212 :depth: 1
1313 :class: singlecol
1414
15- .. _collections-screen:
15+ A collection is a grouping of MongoDB
16+ :ref:`documents <compass-documents>`. Documents within a collection can
17+ have different fields. A collection is the equivalent of a
18+ table in a relational database system. A collection exists within a
19+ single :ref:`database <database-tab>`
20+
21+ .. _collections-screen-collections:
1622
1723Collections Screen
1824------------------
1925
20- The :guilabel:`Collections` screen lists the existing
21- :ref:`collections <compass-collections>` and
22- :ref:`views <compass-views>` in the selected database. Each
23- list item includes the name and other general information for
24- the specific collection/view.
25-
26- To access the :guilabel:`Collections` screen for a database, from the
27- :doc:`Databases screen </databases>` either:
28-
29- - Click a :guilabel:`Database Name` in the main :guilabel:`Databases`
30- view, or
31-
32- - Click a database in the left navigation.
33-
34- .. figure:: /images/compass/select-database.png
35- :figwidth: 750px
26+ .. include:: /includes/fact-collections-screen.rst
3627
3728.. _compass-collections:
3829
39- Collections
40- ~~~~~~~~~~~
30+ Collection Information
31+ ~~~~~~~~~~~~~~~~~~~~~~
4132
4233The :guilabel:`Collections` screen displays the following
4334information for each collection in the selected database:
@@ -52,37 +43,6 @@ information for each collection in the selected database:
5243 collection. Hover over a :guilabel:`Collation` banner to view
5344 the properties for that collection.
5445
55- .. _compass-views:
56-
57- Views
58- ~~~~~
59-
60- Views are read-only results of an aggregation run against a collection.
61- The :guilabel:`Collections` screen displays the following information
62- for each view in the selected database:
63-
64- - View name
65- - Collection from which the view was created
66- - Total size of all documents in the view
67- - Total size of all indexes on the collection
68-
69- |compass-short| explicitly marks views in the left navigation with
70- a unique icon:
71-
72- .. figure:: /images/compass/view-icon.png
73- :scale: 50%
74- :alt: View icon
75-
76- For more information on views, see :ref:`view-details`.
77-
78- Limitations
79- -----------
80-
81- - .. include:: /includes/extracts/readonly-not-permitted-collections.rst
82-
83- - The :guilabel:`Create Collection` button is not available if you are
84- connected to a :atlas:`Data Lake </data-lake>`.
85-
8646.. _create-collection:
8747
8848Create a Collection
@@ -119,34 +79,39 @@ collection details, either:
11979 :scale: 90%
12080
12181After you select a collection, |compass-short| shows you that
122- collection's :doc:`Documents tab </documents>`. |compass-short| provides the following
123- collection information and functionality in the detailed view:
82+ collection's :doc:`Documents tab </documents>`. |compass-short| provides
83+ the following collection information and functionality in the detailed
84+ view:
12485
12586- :doc:`/documents`
12687
12788- :doc:`Import and Export Data </import-export/>` to / from the collection
128-
129- Importing data is not available if you are connected to
130- a :atlas:`Data Lake </data-lake>`
13189
13290- :ref:`compass-agg-builder`
13391
134- - :doc:`Schema Analysis </schema>`
135-
136- Not Available in Compass Community Edition
92+ - :doc:`Schema Analysis </schema>`
93+
94+ - :doc:`/query-plan`
95+
96+ - :doc:`/indexes`
97+
98+ - :doc:`/validation`
13799
138- - :doc:`/query-plan`
139-
140- Not Available if you are connected to a :atlas:`Data Lake </data-lake>`
100+ .. admonition:: Data Lake Limitations
101+ :class: note
141102
142- - :doc:`/indexes`
143-
144- Not Available if you are connected to a :atlas:`Data Lake </data-lake>`
103+ The following functionality is not available if you are connected to
104+ a :atlas:`Data Lake </data-lake>`:
145105
146- - :doc:`/validation`
147-
148- Not Available in Compass Community Edition or if
149- you are connected to a :atlas:`Data Lake </data-lake>`
106+ - Import data into a collection
107+
108+ - Schema Analysis
109+
110+ - View Query Performance
111+
112+ - Manage Indexes
113+
114+ - Set Validation Rules for Your Schema
150115
151116.. _tabbed-view:
152117
@@ -158,17 +123,12 @@ open a new tab to view collection details:
158123
159124.. include:: /includes/steps/open-new-tab.rst
160125
161- .. class:: hidden
126+ Limitations
127+ -----------
162128
163- .. toctree::
164- :titlesonly:
129+ - .. include:: /includes/extracts/readonly-not-permitted-collections.rst
165130
166- /query-bar
167- /documents
168- /schema
169- /query-plan
170- /indexes
171- /validation
172- /views
131+ - The :guilabel:`Create Collection` button is not available if you are
132+ connected to a :atlas:`Data Lake </data-lake>`.
173133
174134.. |home| unicode:: U+2302
0 commit comments