Amazon Athena with DBine

How to connect DBine to Amazon Athena and what you can do once it's connected. This page is written from what the Amazon Athena driver says about itself, so it matches the version of DBine you download.

Connect

  1. In DBine, open New connection.
  2. Pick Amazon Athena in the list of engines.
  3. Fill in the fields below, press Test connection and then Save.

General

FieldDescription
RegionIf left empty, the one from the profile or AWS_REGION is used.
Example: us-east-1
AuthenticationThe default chain uses environment variables, ~/.aws, SSO or the instance role.
Options: AWS default chain, ~/.aws profile, Access keys
Default: AWS default chain
ProfileExample: default
Only with Authentication: ~/.aws profile.
Access key IDOnly with Authentication: Access keys.
Secret access keyKept in the system keychain, never in DBine's files.
Only with Authentication: Access keys.
Session tokenTemporary credentials only.
Kept in the system keychain, never in DBine's files.
Only with Authentication: Access keys.
WorkgroupDefault: primary
Data catalogDefault: AwsDataCatalog
DatabaseExample: default
Read-onlyOn or off.

Advanced

FieldDescription
Results locationRequired if the workgroup doesn't define one.
Example: s3://my-bucket/athena-results/

What the explorer shows

Under the connection: Databases. Inside each one:

Query editor

The editor uses SQL, with completion for the connection's objects. Statements and commands run against the database selected in the tab.

Ready-made templates for new objects:

Tools for Amazon Athena

Available

  • Graphical execution plans
  • Live query profiler
  • Server monitor
  • Sessions and running queries
  • Cancel another session's query from the sessions list
  • Create databases
  • Drop databases
  • Database properties
  • Visual designer for new objects
  • Rename objects
  • Compare and sync schemas
  • Native bulk load when migrating data

Not available for Amazon Athena

  • End a session
  • Locks: who blocks whom
  • Manual transactions (commit and rollback)
  • Index usage
  • Relations in the ER diagram
  • Clone tables
  • Users and permissions
  • Backups

Why a tool doesn't apply to an engine, and the details of each one, are in the engine support reference.

Generated from the Amazon Athena driver 0.1.11, which DBine downloads the first time you connect to Amazon Athena.

Download DBineAll engines