Please explain what you mean by "I want to redirect database as oracle 11gr2"?
Is there a specific reason why you want to migrate from the most commonly used database engine for Moodle, My
SQL, to the least supported one, Oracle?
You're very much on your own if you're going to run Moodle on Oracle... There aren't many people here who use Oracle for Moodle.