# Amazon DocumentDB ODBC Driver Documentation ## Overview The ODBC driver for the Amazon DocumentDB managed document database provides an SQL-relational interface for developers and BI tool users. ## License This project is licensed under the Apache-2.0 License. ## Architecture ODBC is wrapping the Amazon DocumentDB JDBC Driver with JNI. This will add a translation layer between C++ objects and Java objects. This is a 2-tier approach, where document scanning, metadata discovery, and SQL to MQL translation is performed using Java/JVM on a local machine. The communication from ODBC Adapter to JVM will be using JNI. For performance reasons, a separate (C/C++) client driver connection will be used to query and return results from the DocumentDB database. ```mermaid graph LR A(BI Tool) --> B(ODBC Driver Adapter) subgraph Driver [ODBC Driver] B --> C(JAVA Adapter) B --> D(Native Adapter) end C --> E[(DocumentDB Server)] D --> E ``` ## Documentation - Setup - [Amazon DocumentDB ODBC Driver Setup](setup/setup.md) - [DSN](setup/dsn-configuration.md) - Development Envrionment - [Amazon DocumentDB ODBC Development Environment Setup](setup/developer-guide.md) - Managing Schema - [Schema Discovery and Generation](https://github.com/aws/amazon-documentdb-jdbc-driver/blob/develop/src/markdown/schema/schema-discovery.md) - [Managing Schema Using the Command Line Interface](https://github.com/aws/amazon-documentdb-jdbc-driver/blob/develop/src/markdown/schema/manage-schema-cli.md) - [Table Schemas JSON Format](https://github.com/aws/amazon-documentdb-jdbc-driver/blob/develop/src/markdown/schema/table-schemas-json-format.md) - SQL Compatibility - [SQL Support and Limitations](https://github.com/aws/amazon-documentdb-jdbc-driver/blob/develop/src/markdown/sql/sql-limitations.md) - Support - [Troubleshooting Guide](support/troubleshooting-guide.md) ## Getting Started Follow the [requirements and setup directions](setup/setup.md) to get your environment ready to use the Amazon DocumentDB ODBC driver. Assuming your Amazon DocumentDB cluster is hosted in a private VPC, you'll want to [create an SSH tunnel](setup/setup.md#using-an-ssh-tunnel-to-connect-to-amazon-documentdb) to bridge to your cluster in the VPC. If you're a Tableau or other BI user, follow the directions on how to [setup and use BI tools](setup/setup.md#driver-setup-in-bi-applications) with the driver. ## Setup and Usage To set up and use the DocumentDB ODBC driver, see [Amazon DocumentDB ODBC Driver Setup](setup/setup.md). ## Connection String Syntax ``` DRIVER={Amazon DocumentDB};[HOSTNAME=:];[DATABASE=];[USER=];[PASSWORD=][;