The Picture migration from nuxeo-platform-imaging-core is doing a request to check for migration of images,
SELECT ecm:uuid FROM Document WHERE ecm:mixinType = 'Picture' AND ecm:isProxy = 0 AND views/*/title = 'Original' AND content/data IS NULL
This request can be very slow depending on the repository content or impl.
This should be an optional step so it is not be executed at each startup
–
The picture migration that is run on startup can be slow on big volume, this can be disable by adding a contribution like this:
<?xml version="1.0"?> <component name="disable-picture-migration-config"> <require>org.nuxeo.ecm.platform.imaging.base.properties</require> <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration"> <property name="nuxeo.picture.migration.enabled">false</property> </extension> </component>