Profile {Profile (password & session), Role (object & system), User} Profile — is for resource limit, we can enforce password & session parameters to the user Role — is for system & object level permission for user Profile It’s a collection of user security resource limit. We can apply password and session parameters. You can enforce a limit on resource utilization using resource limit parameters. Also, you can maintain database security by using password management feature. User accounts can have only a single profile. By default a DEFAULT profile will be assigned for the user. Types: 1. Password management 2. Session management Password management parameters: Default for all…
-
-
Oracle Startup and shutdown options-08
Startup and shutdown options Startup Options Startup nomount – Read initialization parameter Startup mount – Read Control file Startup / Open Startup force Startup restrict Startup upgrade/migrate Startup nomount — Read initialization parameter Instance will start and parameter file read. For database creation needs to start from here. Control file corruption can recover from here. Any parameter changes from pfile to spfile has to done from here, if the database uses a spfile. Startup mount — Read Control file The followings are possibility Read control file content Data file rename, redo log file rename. Archive log to no archive mode vice vera. Flash back database ON/OFF Startup…
-
Oracle Physical Database files-07
Physical Database files: Password file It’s a physical file. “ORAPWD” is a command utility to create the file. To connect the oracle database as DBA, either by password file or OS group which has SYSDBA access. It assists the DBA with granting SYSDBA and SYSOPER privileges to other users. The init parameter REMOTE_LOGIN_PASSWORDFILE specifies if a password file is used to authenticate the Oracle DBA or not. If it set either to SHARED or EXCLUSIVE, password file will be used. Sql> show parameter password SQL> select * from v$pwfile_users; The only time the password file is accessed is if someone logs on ‘as sysdba’. orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=secret Parameter files It’s…
-
SQL server Oracle difference concepts architecture-06
SQL oracle difference concepts architecture In this post, I am just referring similar to the concept to understand better, but it is not exactly same as what I have referred. Oracle SQL Comments System Master SYSAUX Resource Model MSDB temporary TempDB More than one & User can have their own There is no TempDB and it doesn’t need to re-create DESCRIBE sp_help dba_views Identity Sequence Auto generate number DBA_SCHEDULER_JOBS Sys.sysjobs DBMS_SCHEDULER / OEM-Oracle Scheduler SQL Agent SMON Recovery PMON User kill/rollback show parameter sp_configure Pfile & Spfile SQL server property you can change system and session level Data file Data file ARCHIVELOG mode Full mode NOARCHIVELOG mode Simple mode Default…
-
Oracle Tablespace-05
Tablespace: A database is divided into one or more logical storage units called tablespaces. All tablespaces, including the SYSTEM tablespace, can be locally managed. https://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:7116328455352 http://www.orafaq.com/node/3. Types: 1.System tablespace 2. Non System tablespace System SysAUX Undo Temporary — A different block size object cannot move between the tablespace. — All the data file name should be created as unique. Since, it might have some issues in cloning a database. TEMPFILEs are not fully initialized (sparse). When you create a TEMPFILE, Oracle only writes to the header and last block of the file. This is why it is much quicker to create a TEMPFILE than to create a normal database…