开发者

MySQL WITH ROLLUP performance

开发者 https://www.devze.com 2023-03-31 21:28 出处:网络
MySQL\'s WITH ROLLUP clause is a handy feature, but it has its limit开发者_StackOverflowations such as inability to combine in with ORDER BY.

MySQL's WITH ROLLUP clause is a handy feature, but it has its limit开发者_StackOverflowations such as inability to combine in with ORDER BY.

Also there are some performance concerns about using it. A well-respected "High Performance MySQL" book suggests that that it may be more appropriate to implement WITH ROLLUP logic in the application instead.

Has anyone done benchmarks about the performance of WITH ROLLUP and/or comparison of having analogue subtotaling logic in application?

0

精彩评论

暂无评论...
验证码 换一张
取 消