Skip to content

Commit 426f8de

Browse files
DOCSP-11193 restructured doc pages (#44)
* DOCSP-11193 restructured doc pages
1 parent c4ba5db commit 426f8de

14 files changed

+463
-183
lines changed

config/redirects

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
define: base https://docs.mongodb.com/datalake
22

33
raw: /reference/cli/datalake-cli -> ${base}/reference/cli/administration-commands/
4+
raw: /reference/config-files/data-lake-configuration -> ${base}/reference/format/data-lake-configuration
5+
raw: /reference/config-files/sql-schema-format -> ${base}/reference/format/sql-schema-format

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "MongoDB Atlas Data Lake"
33

44
intersphinx = ["https://docs.mongodb.com/manual/objects.inv","https://docs.atlas.mongodb.com/objects.inv"]
55

6-
toc_landing_pages = ["/config/config-data-lake", "/tutorial/getting-started", "/admin/query-with-sql"]
6+
toc_landing_pages = ["/config/config-data-lake", "/tutorial/getting-started", "/admin/query-with-sql", "/query/query-data-lake"]
77

88
[constants]
99
adl = "Atlas Data Lake"

source/admin/optimize-query-performance.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ The performance of your {+data-lake+} is affected by the
1919
following factors:
2020

2121
- The structure of your data in |s3| and how you represent it in your
22-
{+data-lake+} :doc:`configuration file </reference/config-files/data-lake-configuration>`.
22+
{+data-lake+} :doc:`configuration
23+
</reference/format/data-lake-configuration>`.
2324
- The size of your data files.
2425
- The format and structure of your data files.
2526

@@ -29,13 +30,13 @@ Data Structure in |s3|
2930
For easier management, make sure that your data is
3031
logically grouped into partitions. You can leverage partitions to
3132
improve {+data-lake-short+} performance by mapping them to partition
32-
attributes in your :doc:`configuration file
33-
</reference/config-files/data-lake-configuration>`.
33+
attributes in your :doc:`configuration
34+
</reference/format/data-lake-configuration>`.
3435

3536
You can improve your {+data-lake-short+}\'s performance by ensuring that
3637
your partition structure maps to your query patterns and that it is
37-
defined in your :doc:`configuration file
38-
</reference/config-files/data-lake-configuration>`. By mapping your *partition
38+
defined in your :doc:`configuration
39+
</reference/format/data-lake-configuration>`. By mapping your *partition
3940
attributes* (the parts of your |s3| prefix that looks like a folder) to
4041
a query attribute, {+data-lake-short+} can selectively open the files
4142
that contain data related to your query. This both reduces the amount of
@@ -55,14 +56,14 @@ and downloads less files from |aws|.
5556
|--phone
5657

5758
You can set a partition attribute for "metric type" by defining
58-
``/metrics/{metric_type string}/*`` in your configuration file. If
59+
``/metrics/{metric_type string}/*`` in your configuration. If
5960
you issue a query that contains ``{metric_type: software}``,
6061
{+data-lake-short+} only processes the files with the prefix
6162
``/software`` and ignores files with the prefix ``/hardware``.
6263

6364
You can then set a partition attribute for "software type" by
6465
defining ``/metrics/{metric_type string}/{software_type string}`` in
65-
your configuration file. If you issue a query that contains
66+
your configuration . If you issue a query that contains
6667
``{metric_type: software, software_type: computer}``,
6768
{+data-lake-short+} ignores files with the prefix ``/phone``.
6869

source/admin/query-with-sql.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ automatically removes the schema for a collection or view when you:
6464
.. toctree::
6565
:titlesonly:
6666

67-
SQL Schema Format </reference/config-files/sql-schema-format>
67+
SQL Schema Format </reference/format/sql-schema-format>
6868
Generate SQL Schema </reference/cli/sql/sqlgenerateschema>
6969
Set SQL Schema </reference/cli/sql/sqlsetschema>
7070
Retrieve SQL Schema </reference/cli/sql/sqlgetschema>

source/administration.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ This section contains the following:
1818
.. toctree::
1919
:titlesonly:
2020

21+
/config/manage-stores-cli
22+
/config/manage-dbs-cli
23+
/config/manage-collections-views-cli
2124
/admin/manage-namespace-catalog-cli
22-
/admin/optimize-query-performance
23-
/admin/determine-query-status
25+
/config/update-region

source/config/config-data-lake.txt

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ Overview
1616
--------
1717

1818
You can configure {+data-lake+} using the :ref:`datalake-configuration-file`.
19-
The configuration file defines mappings between your {+data-lake-stores+}
20-
and {+data-lake-short+}. To learn more about the configuration file including
21-
the configuration fields and file format, see
22-
:ref:`datalake-configuration-file`.
19+
The configuration defines mappings between your {+data-lake-stores+}
20+
and {+data-lake-short+}. To learn more about the configuration including
21+
the configuration fields and format, see :ref:`datalake-configuration-file`.
2322

2423
You can retrieve and update the {+data-lake-short+} configuration by
2524
connecting a :binary:`~bin.mongo` shell to the {+data-lake-short+}:
@@ -56,8 +55,8 @@ database commands to retrieve the {+data-lake-short+} configuration:
5655
db.runCommand( { "storageGetConfig" : 1 } )
5756

5857
The command returns the current {+data-lake-short+} configuration. For
59-
complete documentation on the configuration fields and file format,
60-
see :ref:`datalake-configuration-format`.
58+
complete documentation on the configuration fields and format, see
59+
:ref:`datalake-configuration-format`.
6160

6261
.. _datalake-setstorageconfig:
6362

@@ -72,12 +71,12 @@ database commands to set or update the {+data-lake-short+} configuration:
7271
use admin
7372
db.runCommand( { "storageSetConfig" : <config> } )
7473

75-
Replace ``<config>`` with the {+data-lake-short+} configuration
76-
file. For complete documentation on the configuration fields and file
77-
format, see :ref:`datalake-configuration-format`. You can validate
78-
your :ref:`configuration <datalake-configuration-file>` before setting or
79-
updating the {+data-lake-short+} configuration by running the
80-
:ref:`storageValidateConfig <datalake-validatestorageconfig>` command.
74+
Replace ``<config>`` with the {+data-lake-short+} configuration. For complete
75+
documentation on the configuration fields and format, see
76+
:ref:`datalake-configuration-format`. You can validate your :ref:`configuration
77+
<datalake-configuration-file>` before setting or updating the
78+
{+data-lake-short+} configuration by running the :ref:`storageValidateConfig
79+
<datalake-validatestorageconfig>` command.
8180

8281
To set or update the storage configuration through the |service| UI:
8382

@@ -103,9 +102,9 @@ You can run the following command to validate your {+data-lake-short+}
103102
use admin
104103
db.runCommand( { "storageValidateConfig" : <config> } )
105104

106-
Replace ``<config>`` with the {+data-lake-short+} configuration
107-
file. For complete documentation on the configuration fields and file
108-
format, see :ref:`datalake-configuration-format`.
105+
Replace ``<config>`` with the {+data-lake-short+} configuration. For complete
106+
documentation on the configuration fields and format, see
107+
:ref:`datalake-configuration-format`.
109108

110109
The command returns the following if your {+dl+} configuration is valid:
111110

@@ -168,16 +167,13 @@ and run the following database commands:
168167
use admin
169168
db.runCommand( { "storageGenerateConfig" : 1 } )
170169

171-
For complete documentation on the configuration fields and file format, see :ref:`datalake-configuration-format`.
170+
For complete documentation on the configuration fields and format, see :ref:`datalake-configuration-format`.
172171

173172
.. class:: hidden
174173

175174
.. toctree::
176175
:titlesonly:
177176

178-
/reference/config-files/data-lake-configuration
177+
/reference/format/data-lake-configuration
179178
/reference/examples/path-syntax-examples
180-
/config/manage-stores-cli
181-
/config/manage-dbs-cli
182-
/config/manage-collections-views-cli
183-
/config/update-region
179+
/supported-unsupported/supported-partition-attributes

source/includes/extracts-data-lake.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,21 @@ content: |
4040
<https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html>`_.
4141
4242
* - ``dataProcessRegion``
43-
- Optional
43+
- object
4444
- The cloud provider region to which {+data-lake+} routes
4545
client connections for data processing.
4646
4747
If ``null``, the {+data-lake+} routes client connections to the
4848
region nearest to the client based on DNS resolution.
4949
5050
* - ``dataProcessRegion.cloudProvider``
51-
- Required
51+
- string
5252
- Name of the cloud service provider.
5353
54-
{+data-lake+} only supports ``AWS``.
54+
{+data-lake+} only supports ``aws``.
5555
5656
* - ``dataProcessRegion.region``
57-
- Required
57+
- string
5858
- Name of the region to which {+data-lake+} routes client
5959
connections for data processing.
6060
@@ -215,7 +215,7 @@ content: |
215215
response body.
216216
217217
* - ``dataProcessRegion``
218-
- Optional
218+
- string
219219
- The cloud provider region to which {+data-lake+} routes
220220
client connections for data processing.
221221

source/index.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@ the |mongo| shell, :dl:`MongoDB Compass <compass>`, or any
3232
When you create a |data-lake|, you grant |service| either read only or
3333
read and write access to |s3| buckets in your |aws| account. To access your
3434
|service| clusters, |service| uses your existing :manual:`Role Based Access
35-
Controls</core/authorization>`. You can view and edit the generated
36-
data storage :ref:`configuration file <datalake-configuration-file>` that maps
37-
data from your |s3| buckets and |service| clusters to virtual databases and
38-
collections.
35+
Controls</core/authorization>`. You can view and edit the generated data
36+
storage :ref:`configuration <datalake-configuration-file>` that maps data from
37+
your |s3| buckets and |service| clusters to virtual databases and collections.
3938

4039
A database user must have one of the following roles to query an |service|
4140
|data-lake|:
@@ -107,6 +106,7 @@ for same-region, region-to-region, or region-to-internet data transfer.
107106
/tutorial/getting-started
108107
/config/config-data-lake
109108
/administration
109+
/query/query-data-lake
110110
/admin/query-with-sql
111111
/reference
112112
/supported-unsupported

0 commit comments

Comments
 (0)