cismet / data-objects

A hibernate wrapper of the system tables of the cids system.
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Optimise scriptgenerator isTableEmpty #24

Closed mscholl closed 9 years ago

mscholl commented 9 years ago

The isTableEmpty operation uses a low performance statement to actually check the "emptyness" of a table. As this operation is executed very often during schema diff it can cause the db to become slow and even unresponsive let alone the time it takes for the diff to complete.

ci-cismet-de commented 9 years ago

Integrated branch 'bug/24-optimise-isTableEmpty (4e444af84e0ea136ea7681e1161e90281faaf35c)' into 'dev (7fa9f8474b0bd47fe4ba11c629e9d2b2d44d72c5)' -- Build 44