Purpose
orareindex recreates/rebuilds all indexes and unique constraints in an
Oracle database schema.
Options
orareindex supports the following options:
connectstringAn Oracle connectstring.
-v,--verbose(false,no,0,true,yesor1)Produces output (on stderr) while the database is read or written.
-c,--color(yes,noorauto)Should the output (when the
-voption is used) be colored? Ifautois specified (the default) then the output is colored if stderr is a terminal.-x,--execute(false,no,0,true,yesor1)When the
-xargument is given the SQL script isn't printed on stdout, but is executed directly.-r,--rebuild(false,no,0,true,yesor1)If given, the script uses
ALTER INDEX ... REBUILDto rebuild indexes instead of dropping and recreating them.--format(sqlorpysql)If
--executeis not given, this determines the output format: Plain SQL, or PySQL which can be piped intoll.pysql.