When you rename a database, the database and its associated directory (ARBORPATH/app/appname/dbname), and the outline file (.otl) are renamed. All other artifacts in the database (for example, calculation scripts) with the same name as the database are not renamed.
To rename a database, use a tool: