user_management
This is an old revision of the document!
Table of Contents
User_Management
Users created when installing Oracle 11.2.0.4 Standard Edition
0@@
Users created when installing Oracle 11.2.0.4 Enterprise Edition
1@@
Show list of database users and their roles / privileges
2@@
Rename an Oracle schema without exporting and importing all schema data
If the user is very large, it can take a very long time to use the standard way expdp / impdp.<br /> It can be done more efficiently using transportable tablespaces technique to remap the schema.
Basic steps
- check with DBMS_TTS.TRANSPORT_SET_CHECK that tablespace can be transported
- Make the tablespace read only
- Export tablespace metadata
- Drop the tablespace but keep its datafiles
- Create the new user account representing the renamed schema and grant needed privileges
- Import tablespace metadata and rename schema objects owner at the same time
- Make tablespce read write
- Set password for new user account and set default tablespace for this new account
- Drop old user account representing the schema before renaming
Unsupported way
An unsupported workaround to rename a schema is to simply update the username in sys.user$ and restart the database.
3@@
4@@
5@@
6@@
Create external user
Check the authentification prefix
7@@
On Unix...
8@@
On Windows...
Watch out on Windows - the domain name needs to be included!
9@@
Additionally, the following option must be set in “%ORACLE_HOME%\network\admin\sqlnet.ora”<br /> If this is not present, you will not be able to connect as sysdba
10@@
user_management.1544130327.txt.gz · Last modified: 2018/12/06 21:05 by 91.177.234.129
