|
|
|
Ask HN: What database is best for storing financial statements?
|
|
2 points
by vicenobelium
2266 days ago
|
|
I want to store financial statements (income statement, balance sheet, cash flow) and run comparative operations on those statements. Ex: Find percentage increase in revenue for company A between year 1 and year 5. Find all companies that increased debt over past 5 years. I'm deciding between SQL or document-oriented db like Mongo (AWS DocumentDB). In SQL I would plan for each company-time period pair to get its own row i.e. company A Q1 2020 is its own row and each column represents an accounting measure, like revenue. SQL seems like it would perform these calculations fast, but NoSql would allow for less structured data (even within GAAP accounting different names are used for similar accounting measures.) What are the pros and cons of each? Any better solutions than these? |
|