Deep-dive on the Next Gen Platform. Join the Webinar!

Skip Navigation
Show nav
Dev Center
  • Get Started
  • Documentation
  • Changelog
  • Search
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
    • .NET
  • Documentation
  • Changelog
  • More
    Additional Resources
    • Home
    • Elements
    • Products
    • Pricing
    • Careers
    • Help
    • Status
    • Events
    • Podcasts
    • Compliance Center
    Heroku Blog

    Heroku Blog

    Find out what's new with Heroku on our blog.

    Visit Blog
  • Log inorSign up
Hide categories

Categories

  • Heroku Architecture
    • Compute (Dynos)
      • Dyno Management
      • Dyno Concepts
      • Dyno Behavior
      • Dyno Reference
      • Dyno Troubleshooting
    • Stacks (operating system images)
    • Networking & DNS
    • Platform Policies
    • Platform Principles
  • Developer Tools
    • Command Line
    • Heroku VS Code Extension
  • Deployment
    • Deploying with Git
    • Deploying with Docker
    • Deployment Integrations
  • Continuous Delivery & Integration (Heroku Flow)
    • Continuous Integration
  • Language Support
    • Node.js
      • Working with Node.js
      • Troubleshooting Node.js Apps
      • Node.js Behavior in Heroku
    • Ruby
      • Rails Support
      • Working with Bundler
      • Working with Ruby
      • Ruby Behavior in Heroku
      • Troubleshooting Ruby Apps
    • Python
      • Working with Python
      • Background Jobs in Python
      • Python Behavior in Heroku
      • Working with Django
    • Java
      • Java Behavior in Heroku
      • Working with Java
      • Working with Maven
      • Working with Spring Boot
      • Troubleshooting Java Apps
    • PHP
      • PHP Behavior in Heroku
      • Working with PHP
    • Go
      • Go Dependency Management
    • Scala
    • Clojure
    • .NET
      • Working with .NET
  • Databases & Data Management
    • Heroku Postgres
      • Postgres Basics
      • Postgres Getting Started
      • Postgres Performance
      • Postgres Data Transfer & Preservation
      • Postgres Availability
      • Postgres Special Topics
      • Migrating to Heroku Postgres
    • Heroku Key-Value Store
    • Apache Kafka on Heroku
    • Other Data Stores
  • AI
    • Working with AI
  • Monitoring & Metrics
    • Logging
  • App Performance
  • Add-ons
    • All Add-ons
  • Collaboration
  • Security
    • App Security
    • Identities & Authentication
      • Single Sign-on (SSO)
    • Private Spaces
      • Infrastructure Networking
    • Compliance
  • Heroku Enterprise
    • Enterprise Accounts
    • Enterprise Teams
    • Heroku Connect (Salesforce sync)
      • Heroku Connect Administration
      • Heroku Connect Reference
      • Heroku Connect Troubleshooting
  • Patterns & Best Practices
  • Extending Heroku
    • Platform API
    • App Webhooks
    • Heroku Labs
    • Building Add-ons
      • Add-on Development Tasks
      • Add-on APIs
      • Add-on Guidelines & Requirements
    • Building CLI Plugins
    • Developing Buildpacks
    • Dev Center
  • Accounts & Billing
  • Troubleshooting & Support
  • Integrating with Salesforce
  • Extending Heroku
  • Heroku Labs
  • Getting Started with Heroku Data Labs

Getting Started with Heroku Data Labs

English — 日本語に切り替える

Last updated May 11, 2023

Table of Contents

  • Install or Update the Heroku Data CLI Plugin
  • List Available Experimental Features
  • Enable an Experimental Feature
  • Disable an Experimental Feature

Heroku Data add-ons have experimental features that are under consideration for inclusion in the Heroku platform. By using the data:labs command, you can enable and disable experimental features on your Heroku Data add-on. Heroku Data Labs features are only available on production Heroku Postgres plans (Standard, Premium, Private, and Shield).

Features added through Heroku Data Labs are experimental and subject to change.

Install or Update the Heroku Data CLI Plugin

To use the data:labs command, you must have the latest version of the Heroku Data CLI plugin.

Installing the Heroku Data CLI Plugin

To install the data plugin, use the following CLI command:

$ heroku plugins:install @heroku-cli/plugin-data

Updating the Heroku Data CLI Plugin

The Heroku CLI keeps itself up-to-date automatically. However, if you installed the Debian/Ubuntu package, or used npm install, you must update the CLI manually. To update the data plugin, use the update CLI command:

$ heroku update

List Available Experimental Features

To get a list of experimental features available for your Heroku add-on, use the heroku data:labs:list command:

$ heroku data:labs:list ADDON_NAME
=== Experimental Features Available for ADDON_NAME:

The list command also displays the statuses of available features on your Heroku add-on. For example, if WAL compression is enabled on your Heroku Postgres add-on:

$ heroku data:labs:list postgresql-example-1234
=== Experimental Features Available for postgresql-example-1234:
[+] wal-compression         Write-ahead log compression on Heroku Postgres addons

Enable an Experimental Feature

To enable an experimental feature on your Heroku add-on, use the heroku data:labs:enable command. You must include the --addon flag. You can optionally specify the -a, --app flag for extra detail:

$ heroku data:labs:enable FEATURE --addon=ADDON_NAME -a example-app
Enabling FEATURE on ADDON_NAME... done

Depending on the feature, enabling can take 15 minutes or more. You can check the status by using the heroku data:labs:list command.

Disable an Experimental Feature

Disabling an experimental feature on your Heroku add-on is similar to enabling. Use the heroku data:labs:disable command. The --addon flag is required:

$ heroku data:labs:disable FEATURE --addon=ADDON_NAME -a example-app
Disabling FEATURE on ADDON_NAME... done

Keep reading

  • Heroku Labs

Feedback

Log in to submit feedback.

Heroku Labs: log-runtime-metrics Getting Started with Heroku Labs

Information & Support

  • Getting Started
  • Documentation
  • Changelog
  • Compliance Center
  • Training & Education
  • Blog
  • Support Channels
  • Status

Language Reference

  • Node.js
  • Ruby
  • Java
  • PHP
  • Python
  • Go
  • Scala
  • Clojure
  • .NET

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing
  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Github
  • LinkedIn
  • © 2025 Salesforce, Inc. All rights reserved. Various trademarks held by their respective owners. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States
  • heroku.com
  • Legal
  • Terms of Service
  • Privacy Information
  • Responsible Disclosure
  • Trust
  • Contact
  • Cookie Preferences
  • Your Privacy Choices