# EMx 093: Multi-Tenant DBs with Lars Wikman

> Episode of [Elixir Mix](https://podistic.com/podcast/elixir-mix.md) · Published April 28, 2020 · Duration 48:08

- **Listen on Podistic:** https://podistic.com/episode/emx-093-multi-tenant-dbs-with-lars-wikman
- **Audio:** https://dts.podtrac.com/redirect.mp3/api.spreaker.com/download/episode/58851595/stream.mp3 (audio/mpeg)

## About this episode

[JavaScript Remote Conf 2020](https://devchat.tv/conferences/javascript-remote-2020/)[May 13th to 15th - register now!](https://devchat.tv/conferences/javascript-remote-2020/) We catch up with Lars Wikman to talk about what he’s learned along his journey with Elixir and multi-tenant databases. We cover what multi-tenant means, multiple ways to do it and where it may or may not make sense. We learn about dynamic repos, query prefixes, and how to deal with migrations, testing, and much more! Panelists

*   Sophie DeBenedetto
*   Josh Adams
*   Mark Ericksen

Guest

*   Lars Wikman

  "The MaxCoders Guide to Finding Your Dream Developer Job" by Charles Max Wood is now available on Amazon.[ Get Your Copy Today!](https://www.amazon.com/gp/product/B081MBL5C9/ref=as_li_ss_tl?ie=UTF8\&language=en_US\&linkCode=sl1\&linkId=9d61363241636e2546ef46abba198746\&tag=devchattv-20)   Links

*   [Ecto.Repo](https://hexdocs.pm/ecto/Ecto.Repo.html)
*   [Ecto \& Multi-tenancy Part 1](http://underjord.io/ecto-multi-tenancy-dynamic-repos-part-1-getting-started.html)
*   [Ecto \& Multi-tenancy Part 2](http://underjord.io/ecto-multi-tenancy-dynamic-repos-part-2.html)
*   [Ecto \& Multi-tenancy Part 3](http://underjord.io/ecto-multi-tenancy-prefixes-part-3.html%20)
*   [put\_dynamic\_repo(arg1)](https://hexdocs.pm/ecto/Ecto.Repo.html#c:put_dynamic_repo/1)
*   [Multi tenancy with query prefixes](https://hexdocs.pm/ecto/multi-tenancy-with-query-prefixes.html#content)
*   Twitter: [Lars Wikman](https://twitter.com/lawik)

Picks Sophie DeBenedetto:

*   [Elixir-Style Actors in Go](https://preslav.me/2020/03/07/elixir-style-actors-in-golang/)
*   [Lasagna Bolognese](https://smittenkitchen.com/2012/02/lasagna-bolognese/)

Josh Adams:

*   [dba](https://www.dbadbadba.com)
*   [flux](https://fluxcd.io/)

Mark Ericksen:

*   [Roll and Spin Gyroscopic Exerciser](https://www.amazon.com/gp/product/B007XVCRW8)
*   [Asciiflow](http://asciiflow.com/)

Lars Wikman:

*   [Stripe CLI](https://stripe.com/blog/stripe-cli)
*   [GitHub/lumen](https://github.com/lumen/lumen)

Special Guest: Lars Wikman.  
  
Advertising Inquiries: [https://redcircle.com/brands](https://redcircle.com/brands)  
  
Privacy \& Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)  
  
Become a supporter of this podcast: [https://www.spreaker.com/podcast/elixir-mix--6102049/support](https://www.spreaker.com/podcast/elixir-mix--6102049/support?utm_source=rss\&utm_medium=rss\&utm_campaign=rss).
