Hibernate : dynamic-update dynamic-insert - Performance Effects

后端 未结 3 2043
太阳男子
太阳男子 2020-12-05 07:15

Using dynamic-update or dynamic-insert has positive, though generally slight only on performance, as also mentioned by http://www.mkyong.com/hibernate/hibernate-dynamic-upda

3条回答
  •  执念已碎
    2020-12-05 07:54

    I think many indices also slow down updates and inserts, so, beside large columns, dynamic-update should be good for tables with great width/content per row and many indices. You know, in "real life", databases aren't always with small, normalized tables...

    Rebuilding indices on large tables may take much longer than the overhead for creating and parsing SQL queries.

提交回复
热议问题