---
"title": "3. Spreading the Database Love"
"description": "Spring has come, and chocolate bunnies aren't the only delights worth cracking open. Your database is filled with all sorts of data that's useful to your organization and your customers. But what's the best way to get insight into that information? You could connect directly to production and run queries, but one wrong command and your database could lock up, or worse, result in data loss. And what if non-engineering teams want to run their own analytics, or if external customers are asking for results pertaining to their subscribers?\r\n\r\nThere are ways to lower the barriers of access to your database. Rather than write one-off queries for your Sales or Marketing teams--likely requiring test suites and redeploys--you can construct safer SQL queries through a web UI. That data can also be shared through an API, so you can hook it up to a Slack bot, or even generate a unique password-protected URL, to share with people outside your company."
"date": "2019-04-01"
"authors":
  -
    "name": "Jonan Scheffler"
"url": "https://www.heroku.com/codeish-podcasts/3-spreading-the-database-love/"
---

# 3\. Spreading the Database Love

Brendon Murphy, CTO of [Kajabi](https://www.kajabi.com), talks about his company’s experience with Dataclips \[1\]. Instead of requiring developers to connect to their database, everyone in the company is able to generate analytics on-the-fly, and they even democratize the information via a Slackbot. Their marketing team is able to get real-time feedback on their campaigns through Lita.io \[2\] The advantage of using Dataclips dovetails with their preference for using Heroku in general. While they could build their own wrapper to communicate with Postgres, or even manage their own infrastructure, they’ve found that the financial and operational costs are simply not worth it. By offloading this vital work, they free themselves up to focus on building features for their users. Brendon concludes by talking about Postgres, and why it’s the right choice for his team. It can act as a NoSQL document store via its JSONB data type, serve as a key-value store obviating the need for Redis, and comes with strict type assurances reducing the need for checks in the software layer. He also mentions add-ons provided by Heroku, such as PGBouncer \[3\], along with his feature request for how Heroku can better serve Kajabi’s large data needs.

## Links from this episode

1. [Sharing Query Results with Dataclips](https://devcenter.heroku.com/articles/dataclips)
2. [Lita.io chat bot](https://www.lita.io/)
3. [Heroku buildpack: pgbouncer](https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-pgbouncer)