startup mount與startup restrict mount有何區別

tolywang發表於2007-10-13
Restricting Access to a Database at Startup
You can start an instance and mount and open a database in restricted mode so that the database is available only to administrative personnel (not general database users). Use this mode of database startup when you need to accomplish one of the following tasks:

perform structure maintenance, such as rebuilding indexes

perform an export or import of database data

perform a data load (with SQL*Loader)

temporarily prevent typical users from using data

Typically, all users with the CREATE SESSION system privilege can connect to an open database. Opening a database in restricted mode allows database access only to users with both the CREATE SESSION and RESTRICTED SESSION system privilege; only database administrators should have the RESTRICTED SESSION system privilege.

Start an instance (and, optionally, mount and open the database) in restricted mode by using the STARTUP command with the RESTRICT option:

STARTUP RESTRICT;

Later, use the ALTER SYSTEM statement to disable the RESTRICTED SESSION feature.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-84943/,如需轉載,請註明出處,否則將追究法律責任。

相關文章