Physical Standby and logical standby
Log application services are divided into two types, one is the physical standby redo applications, similar to media recovery, its advantage is fast, but 10g case standby must be in the Mount State, Unable to
The basic usage of grouping functions is described earlier, and several more advanced uses of group by are described below.
1, rollup in Oracle database with the GROUP BY command, you can provide summary of information functions (similar to
V$parameter
Oracle parameter modification is more complex, some of the parameters can be modified at the session level, some must be modified at the system level, some parameters are modified immediately after the effective (do not need to reboot),
Today found an Oracle test library of the set of incorrect character sets, the original character set is UTF-8, the correct character set should be ZHS16GBK, because UTF-8 is a ZHS16GBK superset, can not modify, can only rebuild the database,
1, the control document function and characteristic
1 Define the current physical state of the database
2 Maintain data consistency: if the checkpoint in the control file is consistent with the data file, the data is consistent and can be started
In Friday, because the office suddenly power outages, the server restarted, the database did not follow the restart, I found that all the database did not set up automatic restart, in order to prevent future middle server restart, there will be no
One. Why to learn Oracle
We learn a thing the first time, must be asked if we have the value to learn this thing? Well, I've collected some information from the Internet! ~ sorted out the form below! ~ You can see the red part, the red indicates
Steps:
(1) Create script file bak_112.sh, as follows (automatically back up the database by current date):
#!/bin/sh
export oracle_base=/u01/app/oracle;
oracle_home=/u01/app/oracle/product/11.2.0/db_home1; Export Oracle_home
oracle_sid=xxx export
1, v$session table structure
sql> desc v$session;
is the name empty? Type
----------------------------------------- -------- ----------------------------
Saddr RAW (8)
SID number
serial# number
Audsid number
Paddr RAW (8)
user# number
The primary role of the Sys_connect_by_path function is to distinguish all child nodes under a parent node from a single character, and then connect to a column to display
select level ,sys_connect_by_path( id , '/' ) from test start with pid= 1
1. Querying all Table spacesSelect Dbf.tablespace_name,Dbf.totalspace " Total (M)",Dbf.totalblocks as total block number ,Dfs.freespace " Total remaining (M)",Dfs.freeblocks " number of remaining blocks ",(dfs.freespace/dbf.totalspace) * " idle
The first step:From the Windows desktop, execute the start → database configuration Assistant command, open the Welcome screen of the database Configuration Assistant dialog box, click the Next button in the interface, WIN10 below are: "start" →
Today I attended the OCP training to listen to the teacher told a little skill about Oracle, the feeling is very useful to record.This in the official website of the document also has everyone interested in also can go to see, official website
Type of table connection: equivalent connection, self-connect, non-equivalent connection, (left and right) outer connectionOne, equivalent connection: by two tables with the same meaning of the column, you can establish an equal join condition. =====
--View Control file pathShow parameter control_files;--Control file backup, three ways1) Copy using OS command;1) Open state, use the ALTER DATABASE command to generate a copy of the control file;2) in open state, use the ALTER DATABASE backup
--Two related viewsV$logV$logfilealter system switch logfile; --Forced log switchingAlter system checkpoint; --Mandatory checkpoint--Add a log groupALTER DATABASE Add logfile Group 4 ('/u01/app/oracle/oradata/dbtest/redo04a.log
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