

# 在 Athena 中注册和使用数据目录
<a name="gdc-register"></a>

Athena 支持挂载和连接多个数据目录。
+ 您可以从 Athena 将 Amazon Redshift 数据挂载到 Amazon Glue Data Catalog 中并进行查询，而无需复制或移动数据。有关更多信息，请参阅 [Bringing Amazon Redshift data into the Amazon Glue Data Catalog](https://docs.amazonaws.cn/lake-formation/latest/dg/managing-namespaces-datacatalog.html)。
+  使用 Amazon Glue 连接将 Amazon Glue Data Catalog 连接到外部数据来源，并创建联合目录来集中管理使用 Lake Formation 进行精细访问控制的数据。有关更多信息，请参阅 [将连接注册为 Glue Data Catalog](register-connection-as-gdc.md)。
+ 从 Amazon S3 表存储桶创建目录，然后使用 Lake Formation 集中管理访问权限并限制用户对表存储桶中对象的访问。有关更多信息，请参阅《Amazon S3 开发人员指南》中的 [Working with Amazon S3 Tables and table buckets](https://docs.amazonaws.cn/AmazonS3/latest/userguide/s3-tables.html)。

**注意**  
对于任何 Glue 目录，您只能注册类似于 `123412341234:my_catalog/my_child` 的多级目录，不能注册类似于 `123412341234:linkcontainer` 或 `my_catalog` 的单级目录。单级目录只能在 Athena 查询中直接使用 Glue 数据目录来查询。有关更多信息，请参阅 [在 Athena 中查询 Amazon Glue 数据目录](gdc-register-query-the-data-source.md)。

**Topics**
+ [在 Athena 中注册 Redshift 数据目录](gdc-register-rs.md)
+ [在 Athena 中注册联合目录](gdc-register-federated.md)
+ [通过 Athena 注册 S3 表存储桶目录和查询表](gdc-register-s3-table-bucket-cat.md)
+ [在 Athena 中查询 Amazon Glue 数据目录](gdc-register-query-the-data-source.md)