CREATE INDEX IF NOT EXISTS dlb_perf_1 ON docadmindir (pluginguid, title);
CREATE INDEX IF NOT EXISTS dlb_perf_1_acl ON docadmindir (globalaclgrp, pluginguid, title);

CREATE INDEX IF NOT EXISTS dlb_perf_2 ON docadmindir (parentdirid, pluginguid);
CREATE INDEX IF NOT EXISTS dlb_perf_2_acl ON docadmindir (globalaclgrp, parentdirid, pluginguid);