You can use below commands to check IDB and media consistency: (use before and after upgrade)
omnidbutil -extendinfo
omnidbutil -info
omnidbcheck -media_consistency
omnidbcheck -bf
omnidbcheck -dc
omnidbcheck -media <MediaPoolName>
omnicellinfo -db
New IDB requires more disk space due to format changes. Before upgrading, make sure you have enough free space available.
Close the DP gui or DP folders if opened.