P粉1808446192023-07-25 10:55:29
If you plan to use a relational database, you should use the relational model. While many relational database management systems can now handle JSON, that doesn't mean you should save your data as JSON (by default).
A good example of using JSON is if your source data is provided in JSON format. You can load it as-is into a relational database and then use SQL to "unpack" it from the staging table's JSON format into the appropriate relational format.
As for performance, there are too many variables involved to provide a useful answer. The only way you can get useful answers is to test in your environment with your data and queries relevant to you.