mimic-code icon indicating copy to clipboard operation
mimic-code copied to clipboard

Choosing a favoured database system for the public version of MIMIC

Open tompollard opened this issue 11 years ago • 4 comments

Trying to support multiple flavours of database system creates a fair amount of extra work, mostly unnecessarily. Up until now we have favoured PostgreSQL as our public database system. Switching to MySQL may be worth considering, mainly because it would move us in line with @pszolovits's group.

Some things to consider:

  • how much does the syntax differ from PostgreSQL? e.g. with clauses are not supported?
  • which syntax is most similar to Oracle: PostgreSQL or MySQL? Relevant while we continue to use Oracle internally.
  • are there any important features that would justify choosing one system over another?
  • which system is preferred by the research community?

tompollard avatar Nov 28 '15 20:11 tompollard

I suspect that generally Postgres is preferred, so my group may be out of the majority. I’m not sure I would switch just because of us. —Pete

On Nov 28, 2015, at 3:19 PM, Tom Pollard [email protected] wrote:

Trying to support multiple flavours of database system creates a fair amount of extra work, mostly unnecessarily. Up until now we have favoured PostgreSQL as our public database system. Switching to MySQL may be worth considering, mainly because it would move us in line with @pszolovits https://github.com/pszolovits's group.

Some things to consider:

how much does the syntax differ from PostgreSQL? e.g. with clauses are not supported? which syntax is most similar to Oracle: PostgreSQL or MySQL? Relevant while we continue to use Oracle internally. are there any important features that would justify choosing one system over another? which system is preferred by the research community? — Reply to this email directly or view it on GitHub https://github.com/MIT-LCP/mimic-code/issues/37.

pszolovits avatar Nov 28 '15 21:11 pszolovits

I was reading some SQL tricks a while ago, and I remember this footnote:

It is 100% standard compliant. I.e it only works with Postgres.

Franck-Dernoncourt avatar Dec 04 '15 22:12 Franck-Dernoncourt

I'll just drop this here: https://www.wikivs.com/wiki/MySQL_vs_PostgreSQL

jeblundell avatar Jul 07 '16 21:07 jeblundell

Considering 90%+ of the code in this repository is written for Postgres I'd say we know the answer to this question.

alistairewj avatar Dec 21 '16 16:12 alistairewj