<div dir="ltr">We have a thread here about a lot of the 3.0 stack choices, although it seems to skip past the assumption that we're moving to postgres:<div><br></div><div><a href="https://www.redhat.com/archives/pulp-list/2016-May/msg00042.html">https://www.redhat.com/archives/pulp-list/2016-May/msg00042.html</a><br></div><div><br></div><div>I can't quickly find another summary of why, so I'll describe the highlights here:</div><div><br></div><div>- Pulp has highly relational data. The core use case is managing the relationships between content and repositories. Using a relational DB makes that a lot easier.</div><div>- A schemaless DB makes it easy to do writes, but you have to be very careful when doing reads that the your software is prepared for whatever data structure comes out. If you want to enforce a schema, it has to be done in software. It's doable, but requires great care.</div><div>- Transactions!</div><div>- The HA story with mongodb is more complex than most people realize (certainly more complex than we expected). To get real HA with data safety, you have to do a lot of the work in your own software.</div><div><br></div><div>MongoDB is great at what it does and a good fit for some use cases, but we learned that it's not the best fit for Pulp.</div><div><br></div><div>Michael</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 13, 2016 at 3:21 AM, Filip Nguyen <span dir="ltr"><<a href="mailto:fnguyen@redhat.com" target="_blank">fnguyen@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I heard that Pulp is switching from Mongo to Postgre. Just out of curiosity, I would like to learn more about the reasons why you decided to go this direction. Is there any document/email thread about it?<br>
<br>
______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-dev</a><br>
</blockquote></div><br></div>