Db scalability scripts