是否仍然需要数据库规范化?

数据库规范化是否仍然是“事情?”

当我在数据库课程期间学习时,我们被教导了所有的标准化水平,并且说我们必须永远这样做.

现在,随着所有的NoSQL运动,似乎规范化不再是事情了吗?

解决方法

这取决于什么类型的应用程序正在使用数据库.

对于OLTP应用程序(主要是数据输入,具有许多INSERT,UPDATE和DELETES以及SELECT),标准化通常是一件好事.

对于OLAP和报告应用程序,规范化没有帮助. SELECT查询的运行速度要比非规范化模式快得多,这可以通过视图来实现.

您也可以在这些非常受欢迎的类似问题中找到一些有用的信息:

Should I normalize my DB or not?

In terms of databases,is “Normalize for correctness,denormalize for performance” a right mantra?

What is the resource impact from normalizing a database?

How to convince someone to normalize a database?

Is it really better to use normalized tables?

相关文章

SELECT a.*,b.dp_name,c.pa_name,fm_name=(CASE WHEN a.fm_n...
if not exists(select name from syscolumns where name=&am...
select a.*,pano=a.pa_no,b.pa_name,f.dp_name,e.fw_state_n...
要在 SQL Server 2019 中设置定时自动重启,可以使用 Window...
您收到的错误消息表明数据库 'EastRiver' 的...
首先我需要查询出需要使用SQL Server Profiler跟踪的数据库标...