(no title)
arjunrc | 4 years ago
For an Org. of our size, I’m not sure if these new fads make it any easier. Even if they helped with data streaming, we still are having to move it to a SQL warehouse where we can combine it with other Org. data to answer business questions. Not sure if anyone has built out a fully operational reporting architecture without using SQL on HN. Long live SQL!
bob1029|4 years ago
We are all-in on using SQL (SQLite) for our business logic these days. It's wonderful being able to watch the business build most of our customer experiences for us. No more lost-in-translation bullshit exercises between the biz and the tech. Our developers are now mostly tending to the SQL matrix that everyone else works inside of every day. Most of my support issues are along the axis of "Why isnt customer property X showing up in table Y under circumstances Z". We have built a lot of custom tooling so we can quickly answer this question with confidence. 9/10 times the resolution is 1 line in a mapper that needs to be updated somewhere.
For me, SQL only works if the schema is clean and the business can understand why it is constructed in the way that it is. If you were to dump your SQL schema to excel sheets and email it to your project manager, would they have a clue how to piece these things back together or why things are represented the way they are? A well-normalized schema should be intuitive to join together by even non-domain experts. Simply being consistent with naming throughout is 80% of this battle in my mind. When someone says the word "Customer" in context of your SQL schema, everyone on the team should implicitly be on the same page regarding properties and relations around this type.
ubermonkey|4 years ago
What would you use INSTEAD of SQL?
ginko|4 years ago
Also every time I looked into SQL DBs I felt uncomfortable having to patch together SQL queries as strings and compile them at runtime. Why can't I define a DB schema in my compiled programming language and have it produce a typesafe query that can execute immediately? I know there's wrappers that help you define queries in a typesafe manner, but afaik these still generate query strings in the background.
errcorrectcode|4 years ago
ACID, locking, referential integrity, SQL (language flavors and RE DBMSes) aren't appreciated, probably due to a lack of CS education.
grafs50|4 years ago
Zababa|4 years ago
errcorrectcode|4 years ago
The need for denormalized data and data warehousing will never go away.