Skip to content
Learn › Share and export: open the docs menu

Export to Snowflake, BigQuery, PostgreSQL or SQL Server

Snowflake and Databricks on every plan; other databases on paid plans; Mammoth-managed databases on Pro · Updated 9 Nov 2026

Mammoth can write a View into a database table after every pipeline run: a database Mammoth hosts for you, or your own database or warehouse. Click Export in the View toolbar, then pick a card on the Mammoth Managed or External Destinations tab. Snowflake and Databricks are on every plan; the other databases need a paid plan, and Mammoth-managed databases need Pro (see Export destinations by plan).

To send a View into another Mammoth dataset, see Send a View to another dataset.

Get a Mammoth-managed BigQuery or PostgreSQL database

Mammoth provisions a fully managed Google BigQuery or PostgreSQL instance on demand, with no credentials to configure. Each is its own card on the Mammoth Managed tab.

  1. Click Export, open the Mammoth Managed tab and click the Google BigQuery or PostgreSQL card.
  2. Enter the destination table name (auto-filled from your Dataset and View names).
  3. Click Next: Generate Table and Copy Credentials. Mammoth creates the table, showing progress, then opens the Database Credentials dialog.
  4. Use those credentials to connect your BI tool (Tableau, Power BI, Looker) directly.
Managed databaseCredentials you get
PostgreSQLHost, port, username, password, database and table, with a Copy all credentials button
BigQueryThe dataset and table, a Service Account Email to paste into tools such as Power BI, and a downloadable Service Account JSON key file. Keep the key secure

The managed table is replaced in full on each run (drop and recreate). Managed databases have no Keep-at-end option. A workspace over its managed-database limit gets an error when it creates a managed table.

Supported external databases and warehouses

You provide the credentials; Mammoth delivers the data after each run. The form footer shows the task's Position (default: end of pipeline) and Update method; click the pencil icon to change them (see Task position and update method).

DestinationDefault port or credential typeTypical use
Google BigQuery(JSON key file)Cloud analytics, Looker integration
Snowflake(password or key pair)Cloud data warehouse
Databricks(personal access token)Lakehouse tables in Unity Catalog
Elasticsearch9243Search index, operational dashboards
SQL Server1433Microsoft ecosystem, Power BI
MySQL3306Web application backend
PostgreSQL5432General-purpose database, Tableau/Power BI
Amazon Redshift5439AWS data warehouse

Allow Mammoth's IP address in your firewall

Allow Mammoth's IP address (34.255.92.234) in your database firewall before clicking Validate Connection. The IP is shown at the top of the database, warehouse and Elasticsearch forms. See Allow Mammoth through your firewall.

Validate Connection creates and then drops a test table. Apply only checks that required fields are filled in and isn't blocked by a failed or skipped validation, so validating first is the only way to catch bad credentials before the export runs.

Export to Google BigQuery

BigQuery uses a JSON service account credentials file, not a username and password.

  1. Upload your service account JSON file. With more than one saved, pick one from the Connection dropdown; an icon next to it deletes a saved connection.
  2. Enter the Table Name.
  3. Select your Project Name from the searchable dropdown (populated from your credentials). Each entry is a project/dataset pair.
  4. Choose the Update method in the form footer: Replace, Combine or Merge. With Merge, select the Reference Column values used as merge keys.
  5. Optionally enable Partitioning: tick it, select a DATE column as the partition key, and choose Day, Month, or Year.

Partitioning needs a DATE column in the View. On a new export it works with any update method; when editing an existing export, it is only enabled with Replace. Mammoth also writes a reference table named ref_<table> alongside the data table.

Export to PostgreSQL, MySQL, SQL Server or Amazon Redshift

These four share one form.

FieldWhat to enter
HostYour database server hostname or IP address
PortPre-filled with the default (3306 for MySQL, 5432 for PostgreSQL, 1433 for SQL Server, 5439 for Redshift)
UsernameA database user with write permissions
PasswordThe user's password
DatabaseThe target database
Table name (optional)If blank, a default name from the Dataset and View
  1. Allow Mammoth's IP address in your firewall.
  2. Fill in the fields, or pick a saved connection (below).
  3. Choose Replace, Combine or Merge as the Update method. With Merge, pick at least one Reference Column.
  4. Click Validate Connection, then Apply.

Include hidden columns appears if the View has columns hidden in the grid. Column names longer than 63 characters make the export fail, so shorten them first.

External MySQL export form with an IP allowlist notice and Host, Port, Username, Password, Database and Table name fields

Reuse a saved database connection

PostgreSQL, MySQL, SQL Server, Amazon Redshift and SFTP exports remember the details you use. Once one is saved, the form shows a Connection dropdown ("Select a saved connection").

  • Pick a saved connection to fill the form; a summary appears under the dropdown. Enter details manually clears it.
  • When you apply new details, Mammoth reuses an identical saved connection if there is one, so duplicates don't pile up.
  • A removed connection shows "This saved connection is no longer available. Enter the connection details below."
  • If the list can't load: "Couldn't load saved connections. You can still enter details manually."

BigQuery has its own Connection dropdown for key files (see Export to Google BigQuery). To manage connections, see Manage saved connections.

Export to Snowflake or Databricks

Snowflake and Databricks share one warehouse form. Table and column names are created exactly as written (quoted), so they are case-sensitive.

Snowflake fieldWhat to enter
AuthenticationPassword or Key pair
Account identifier, UsernameYour Snowflake account and user
Password, or Private key (PEM) and Private key passphrase (optional)The password, or the key pair
Warehouse, Database, SchemaWhere the table goes
Role (optional), Table name (optional)The role to use and the table to write
Databricks fieldWhat to enter
Server hostname, HTTP path, Personal access tokenYour SQL warehouse connection
Catalog, SchemaWhere the table goes
Staging volume (optional)A Unity Catalog volume such as /Volumes/main/sales/landing. With it, data is bulk-loaded with COPY INTO; without it, rows are inserted in batches, which is much slower for large Views
Table name (optional)The table to write

Both forms show the IP to allow, Include hidden columns and Validate Connection. Choose Replace, Combine or Merge; with Merge, pick at least one Reference Column.

Export to Elasticsearch

FieldWhat to enter
HostYour Elasticsearch server hostname
PortDefault 9243
Username / PasswordYour Elasticsearch login
Batch SizeRecords per batch (default: 2,000)
Index NameThe index to write to
Connect ViaHTTPS or HTTP (default: HTTPS)

Allow the IP, then click Validate Connection before Apply. Include hidden columns is available if the View has hidden columns. Elasticsearch is replaced on every run, so it can't send only new rows.

Limits

ItemLimit
Column name length (PostgreSQL, MySQL, SQL Server, Redshift)63 characters
Elasticsearch batch size2,000 records by default
Live links per View1 (see Live links)

Troubleshooting database exports

SymptomCauseFix
Validate Connection failsMammoth's IP (34.255.92.234) isn't allowed in the firewall, or the user lacks CREATE TABLE and DROP TABLE permissions, which the check needsAdd the IP to your allowlist. Also grant INSERT, which delivery needs once the export runs
Schema conflict errorWith Combine or Merge the destination table persists between runs, and the View's columns no longer match itDelete and recreate the destination, or change the View back to the original columns
Merge failsThe Reference column is missing from the View or the table, or names or data types don't matchMake it exist in both, with matching names and compatible data types
The export fails on long column namesA column name is longer than 63 charactersShorten it (see Rename, format and sort columns)

For a destination that doesn't update, see Troubleshooting exports.

Was this page helpful?

Something wrong? support@mammoth.io