Oracle typically uses sequences (Sequence) to process primary key fields, while MySQL provides a increment for similar purposes;
But in the actual use of the process found that MySQL's self growth has a lot of drawbacks: can not control the step,
The advantages and disadvantages of a large community, more than one m area meaningful? Table Space management technology Management is the district, the Local management table space LMT in each data file header added bitmap area management is
1. Table structure
Sql> desc v$sort_usage
is the name empty? Type
----------------------------------------- -------- ----------------------------
USERNAME VARCHAR2 (30)
USER VARCHAR2 (30)
Session_addr RAW (8)
Session_num number
Sqladdr RAW (8
1. Settings for parameter files
(1) View the dynamic parameter file
SELECT * from sys.props$ wherename= ' Nls_characterset ';
Dynamic parameter file: SPFile: Dynamic parameter modification in which can take effect immediately
(2) Modify dynamic
1. Keep for seven days
This is the only way to keep backups for seven days
Rman> Connect target/
Connected to target Database:dbsid (dbid=3100778490)
Rman> Configure retention Policy to recovery windows of 7 days;
2. Backup Scripts
1. Check the status of OLR:
[Root@vmrac1 ~]# ocrcheck-local
Status of Oracle Local Registry is as follows:
Version:3
Total Space (Kbytes): 262120
Used Space (Kbytes): 2748
Available Space (Kbytes): 259372
id:935756415
Device/file
The Oracle 10g clusterware processes on unix-based systems are:
Oracle Clusterware
Oracle-provided Clusterware that manages clusterdatabase processing including node membership, group services, global Reso Urcemanagement, and high availability
-----The growth of the database in the last seven days, this is only an estimate.
Select SUM (space_used_total)/1024/1024/1024 "Last 7 days DB increase-g"
From
Dba_hist_seg_stat S,
Dba_hist_seg_stat_obj O,
Dba_hist_snapshot SN
where
s.obj# =
First, DBV description
DBV is a commonly used tool, Oraclemos has an article on Dbv:[id 35512.1].
The main purpose of the Dbverify tool is to check the physical structure of the data file, including whether the data file is corrupted, whether
--Create Pfile file
sql> Create pfile = '/tmp/pfile ' from SPFile;
File created.
Sql> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0-production
With the partitioning, OLAP and Data Mining options
--Modify the
In 10g, the Rman backup is optimized to no longer back up the data blocks in which the table frees space.
The backed up document is 9i, so it has always been considered that the Rman backup only backs up the blocks where the data was written, and
The test found that even in 11.2, the problem still existed:
Sql> SELECT * from V$version;
BANNER
--------------------------------------------------------------------------------
Oracle database11genterprise Edition release11.2.0.1.0-64bit
Case 1: Database most datafile lost (recover db, must be under mount)
1) test environment
07:21:12 sql> Conn Scott/tiger
Connected.
07:21:16 sql>
07:21:16 sql> SELECT * from tab;
Tname Tabtype Clusterid
------------------------------ ------- -
1) View the database character set
03:12:58 sql> Select Userenv (' language ') from dual;
USERENV (' LANGUAGE ')
----------------------------------------------------
American_america. Zhs16gbk
2 Edit Linux Nls_lang variables
03:13:20 sql>!
Subroutines are named Pl/sql blocks that can accept parameters and are invoked by other programs. There are two types of pl/sql subroutines, procedures, and functions. In layman's terms, a procedure is used to perform an action, and a function is
1, the meaning of the backup
1 protection of data, to avoid loss of data due to various failures
2. Introduction to Basic terms
Mean Time Between Failure--MTBF
Mean Time to Repair--mttr
Mean Time to Failure--mttf
(1) The mtbf--full name is
The database is starting up.
If you detect a data file that is missing or corrupted the rollback segment tablespace, and the database is running, do not drop it. In many cases, the database is open rather than closed to solve the problem.
Two
Case 2:recover tablespace (recover tablespace (delete all datafile of tablespace))
When you delete a data file in Guanqu state, this restores: Dumps the datafile, makes the missing datafile offline, recover tablespace
(1) Simulation environment
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service