Comments (13)
We can start with this, perhaps? https://db-engines.com/en/system/Microsoft+SQL+Server%3BMySQL%3BPostgreSQL
from jwql.
I agree completely, but I figured I'd give MSS
its due diligence ;)
from jwql.
My thoughts:
- We should throw out the possibility of
MSS
right away since (1) it has a commercial license as @gkanarek points out and (2) I don't think anyone on our team is familiar with it? - The fact that
PostgreSQL
supports array types is very intriguing and could prove to be useful down the line - With ITSD using
PostgreSQL
for confluence and jira (and perhaps other things) we know there are experts in the building that could help us if needed. - From various articles I have read there doesn't seem to be a drastic difference in performance between
MySQL
andPostgreSQL
SQLAlchemy
, which is likely what we will use to implement the database schema, supports bothMySQL
andPostgreSQL
- Thanks to
SQLAlchemy
, if we ever find the need to switch fromPostgreSQL
toMySQL
or vice-versa, it comes down to literally changing one line of code.
With these in mind, I think my official vote would be to use PostgreSQL
. I would be interested to hear if anyone else has any thoughts on this.
from jwql.
There are a lot of possible comparisons done by others that could be worth investigating, for example: http://www.postgresqltutorial.com/postgresql-vs-mysql/ , https://www.pg-versus-ms.com/
We will need to be careful to decide on how much we do or don't trust the sources/agree with their premises and how they relate to our needs.
from jwql.
I can help with this. We should make estimates of the data types, file sizes, query volume, etc. to inform our research.
from jwql.
I have started creating a draft of an evaluation matrix with the metrics that we care about: https://stsci.box.com/s/s8q5so5qjy2tmkakj99zmtnqaktjws3y
Feel free to add/edit
from jwql.
For what it's worth, I vote that we stay away from MSS, so that everything can be open source.
from jwql.
FWIW, I had a conversation with Alex Yermolaev about this. He said that they are using PostgresSQL
for confluence and jira and it has been working very well and much better than MySQL
has. He also noted that PostgreSQL
has strength in the industry right now (lots of commitment to R&D) and voiced concerns that Oracle is slowly killing support for MySQL
.
from jwql.
That all sounds good to me.
Speaking of database schema implementations, I've used both SQLAlchemy and pyDAL, and found the latter to be more significantly more intuitive. However, it's definitely not as mature as SQLAlchemy, so that's something to consider.
from jwql.
@bourque we might want to also make sure there are no known bugs in SQLAlchemy
for PostrgresSQL
that aren't in MySQL
(given that Matt and I have had the most experience using SQLAlchemy
to connect to MySQL
). Not sure if this will be easy to even look up given the level of documentation for SQLAlchemey
, but maybe their github has better bug tracking.
from jwql.
So far everything looks good, but it does seems like we want to use the psycopg
underlayer in SQLAlchemy
. I guess there are several Python to PostgreSQL adapters that SQLAlchemy
can use, but Psycopg
is the most developed. I will keep looking into things.
from jwql.
All right, I've done a lot of poking around and nothing major has come up. So I'll e-mail the list that we're good to go!
from jwql.
Thank you for your research @SaraOgaz. Based on all of this and our previous findings, we have decided that we are going to use PostgreSQL
!
from jwql.
Related Issues (20)
- Update dashboard to look at new anomaly db tables HOT 2
- Pipeline tasks are not aware of working/outputs distinction HOT 1
- Dark monitor attempts to use nonexistent "data_dir" attribute
- Improve performance of query page HOT 2
- Display information on missing exposures/observations
- Create Django models for the tables in JWQLDB HOT 1
- Migrate EDB monitors to django
- Remove existing SQL Alchemy code from JWQL
- Edit a sample monitor to query and update via the django models.
- Update Bad Pixel Monitor to Django
- Update claw monitor to use django tables
- Migrate dark monitor to django
- Migrate grating monitors to django
- Migrate bias monitor to django
- Migrate TA monitors to django
- Update filesystem monitors to use django
- Update monitor_utils to use django models
- Update data_containers to use django
- Move github/readthedocs fence code to a single file, and use it by import
- Add historical data to the NIRCam Claw Monitor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jwql.