Awesome !
So to synthesize sql requests via phpmyadmin and equivalent to OCC commands it gives:
Up to NC14:
ALTER TABLE `oc_share` ADD KEY `share_with_index` (`share_with`) USING BTREE; ALTER TABLE `oc_share` ADD KEY `parent_index` (`parent`) USING BTREE; ALTER TABLE `oc_filecache` ADD KEY `fs_mtime` (`mtime`) USING BTREE;
Up to NC15:
ALTER TABLE `oc_share` ADD KEY `owner_index` (`uid_owner`) USING BTREE; ALTER TABLE `oc_share` ADD KEY `initiator_index` (`uid_initiator`) USING BTREE; ALTER TABLE `oc_filecache` MODIFY `mtime` bigint NOT NULL DEFAULT '0'; ALTER TABLE `oc_filecache` MODIFY `storage_mtime` bigint NOT NULL DEFAULT '0';
Thank you very much to the community