Full and incomplete Oracle database recovery and user management Backup Recovery
Comparison between full recovery and Incomplete recovery:
1. Full recovery: restores the database to the latest status, including all submitted data changes until the request is restored.
2. Incomplete recovery: restores the
All about Oracle User-Managed Database Backups The V $ BACKUP view is most useful when the database is open. it is also useful immediately after an instance failure because it shows the backup status of the files at the time of the failure. use this information to determine whether you have left any tablespaces in back
Oracle creates a user-managed copy database on the same hostThe following are some steps:1. Back up all data files in the primary database (rau), and back up the control files to the tracking files. (Rau is the primary database ).[Oracle
1. Use the sys account to create a database connection
The installation of Oracle 11g will bring a tool called SQL developer. It has very powerful functions and has never been known before. It also uses plsqldev and navicat to connect to the database, in fact, this tool has all the functions of the previous two software (if you say it is absolutely correct ). Fi
10Log_archive_max_processes Integer 2Processes integer 450Sql>Concurrency refers to active,i see Sql> Select COUNT (*) from V$session #连接数Sql> Select Count (*) from v$session where status= ' ACTIVE ' #并发连接数Sql> Show parameter Processes #最大连接Sql> alter system SET processes = value scope = spfile; Restart database #修改连接Unix 1 user session corresponds to an operating system processWhile Windows embodies the t
$session #连接数Sql> Select Count (*) from v$session where status= ' ACTIVE ' #并发连接数Sql> Show parameter Processes #最大连接Sql> alter system SET processes = value scope = spfile; Restart database #修改连接Unix 1 user session corresponds to an operating system processWhile Windows embodies the thread The DBA will periodically check the connection of the database to see if th
Log on to the operating system where the Oracle database server is installed. Open a Command window: (My demo machine is windows)
To view the settings for the environment variable ORACLE_SID:Windows:echo%oracle_sid%Linux:echo $ORACLE _sid
Set the value of the environment variable ORACLE_SID to the SID of the Oracle
not equal to zero.
We need to analyze the generated rebuild _ username. SQL files to determine whether they need to be rebuilt:
ANALYZE the INDEX to see if the fragmentation is serious. SQL> ANALYZE INDEX index_name VALIDATE STRUCTURE;
Col name heading 'index name' format a30
Col del_lf_rows heading 'deleted' | Leaf Rows 'format 99999999
Col lf_rows_used heading 'used | Leaf Rows 'format 99999999
Col ratio heading '% Deleted | Leaf Rows' format 999.99999
SELECT name,
Del_lf_rows,
Lf_rows-del_
Create user cmsuser identified by "cmsuser ";
SQL> create user uumcuser identified by "password ";
User Created.
SQL> grant connect, DBA to uumcuser;
Grant succeeded.
SQL> grant exp_full_database, imp_full_database, resourc
Create user Cmsuser identified by "Cmsuser";
Sql> create user Uumcuser identified by "password";
User created.
Sql> Grant CONNECT,DBA to Uumcuser;
Grant succeeded.
Sql> Grant Exp_full_database,imp_full_database,resource,cre
In Oracle database operations, there is a ORA-01940: Unable to delete the current connected user error, how to solve? This article introduces the solution, hoping to help you.SQL> drop user a cascade;Drop user a cascade*ERROR is located in row 1st:ORA-01940: Unable to delete
Issues with CDB User Creation and tablespace allocation in Oracle 12c Database
In Oracle12c, the concept of database plug-in is added, that is, PDB, which allows a database container (CDB) to host multiple pluggable databases (PDB ). CDB is called ContainerDatabase, and the
Oracle database use process, for the system will establish a separate database users, but some time in the test or other reasons need to delete, the original DB users, then we can use the following method.The premise of the subordinate operation is to ensure that the database service and monitoring are in the boot stat
Tags: style blog color sp file data div on log --CREATE table space and database files and default tablespace sizeCreateTablespace tablespace_test datafile'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\DataBase_Test.DBF'size 200m;--set up automatic database growthAlter DatabaseDataFile'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\Dat
Oracle Database CMD command creates a new user and connects
ORACLE Configuration
Three users of Oracle
Connect with Super Admin identity
Create a new user
Connection
Add a database
Oracle DatabaseYou can query the name of the logon user.TablespaceAnd table space usage? The answer is yes, but executing select username, default_tablespace from dba_users order by username requires the dba permission. This article introduces this implementation method, next let's take a look at it.
1. view the user's default tablespace name
First, you need to know the user name you are logged on to, and t
objects created by other users, which the user has the right to access.
DBA _ *: Information about objects in the entire database.
-- View the relationship between the user and the default tablespace
Select username, default_tablespace from dba_users; select * from user_tables;
-- Oracle queries
DEFAULT. Of course, some will also be others, such as NEW_PROFILE, which is to find out what it is.
2. SELECT * FROM dba_profiles s WHERE s. profile = 'default' AND resource_name = 'password _ LIFE_TIME ';
PROFILE RESOURCE_NAME RESOURCE LIMIT--------------------------------------------------------------------------------------------------------------DEFAULT PASSWORD_LIFE_TIME PASSWORD 180dys
========================================================== ======================================
3. Mod
Popular point to say
First you install Oracle, which is a software in itself, right.
Once Oracle is installed, you can create a database
This is a warehouse, a place to put things.
Then this warehouse (database), there is a warehouse administrator, its name is "instance"
In many cases, a warehouse has only one wa
User Management under Oracle database
1. Create User
to create a user's basic command:
(1) must be administrator rights to create a user
(2) What is the command to learn to create a user
(3) The newly created
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.