[#2022] add specific query as new update
move db update to include oracle
[#2069] use VARCHAR_MAX_IDX_SIZE for r_grid_configuration index (for mysql)