'); --Get a DML statement that reverses the transaction based on the transaction number operation Undo_sql----------------------------------------------------------------------- -------------------Update Update "flasher". " TB2 "Set" SAL "= ' n ' where ROWID = ' Aaanupaagaaaaakaan '; [emailprotected]> SELect Operation,undo_sql from Flashback_transaction_query 2 where Xid=hextoraw (' 08000400c9010000 '); --Get a DML statement that reverses the transaction based on the transaction number operatio
Tags: oracle 11g OCP test Bank Analysis certification Exam TU Institute Oracle Oracle OCP Certification ExamQUESTION 4In which of the scenario would the DBA perform recovery? (Choose all, apply.)A. The alert log file is corruptedB. A Tablespace is accidentally droppedC. One of the redo log members is corruptedD. A database user terminates the session abnormallyE.
Oracle New Feature 4-maintenance, upgrade, recovery and Data Pump
1. Contents
1) enhanced table partition maintenance.
2) Database Upgrade and improvement.
3) Restore/restore data files across networks.
4) Data Pump enhancement.
5) Real-time ADDM.
6) collect concurrent statistics.
2. Enhanced table partition Maintenance
In other articles, I have explained how to
Oracle memory management (Part 4)
[In-depth analysis-eygle] Study Notes1.3 SGA Management
SGA refers to the System Global Area. It is a memory Area used to load data, objects, and save running status and Database Control information. It is allocated when the database instance is started, when the instance is released, each instance has its own SGA zone.
In chapter I, I used? When the database is started to
Today, after repeated tests, the RAC was successfully configured. Now, the detailed operation steps are posted for your reference, we hope that we can avoid unnecessary detours when we are confused about RAC configurations. We also hope that our friends will find many shortcomings and make common progress.
1. Environment:
Vmware server 1.7, ORALCE 10 Gb, system platform is Red Hat 4 Enterprise Edition, based on RAW device RAC, disk array is replaced b
There are a lot of friends who are confused about the 4 IPs when configuring Oracle 11GR2 RAC, this article explains here.Open a/etc/hosts file for a RAC nodeCat/etc/hosts# public IP192.168.1.138rac1.localdomain Rac1192.168.1.139rac2.localdomain RAC2#Private IP172.16.10.138rac1-priv.localdomain Rac1-priv172.16.10.139rac2-priv.localdomain Rac2-priv#Virtual IP192.168.1.140 Rac1-vip.localdomain RAC1-VIP192.168
statement has. 9:PL the DDL language in SQLPrecede the EXECUTE statement with execute immediate, and the CREATE statement is enclosed in single quotation marks, if there is a single quotation mark inside the single quotation mark,Then use double quotation marks instead of single quotes.BeginExecute immediate ' CREATE TABLE T (ID number (4), name varchar () not null) ';End 10:PL branch structure in SQL if elsif else DeclareV_sal Emp.sal%type;BeginSel
(data.amount),'.')+1=length(data.amount)then
data.amount||'0'
else
to_char(round(data.amount,2))
endasamount_format
Method 3: You can use the parameter settings provided by Oracle, that is
columnamountformatl9999999999.99
The disadvantage of this method is that the number of 9 decimal points on the left of Oracle in the format must be known. Otherwise, the number exceeding the number
Note:1. When Oracle8.1.6 is installed in WIN2000 to create a database, a credential retrieval failure error often occurs. This is because Oracle cannot apply OS authentication results. You can modify sqlnet. AUTHENTICATION _ SERVICES in SQLNET. ora to NONE. In this case, Oracle uses Password File authentication.2. Since Oracle has several pre-built users, it is b
Oracle memory-Spur (4) if you start an automatically managed pga, You need to configure two parameters: pga_aggregate_target and workarea_size_policy. I learned these parameters before, however, when creating a new database, you can set the pga_aggregate_target parameter through the steps recommended by oracle. However, after a period of operation, we still need
4 states of the constraint:
Disable novalidate will neither constrain new data nor validate existing data, equivalent to disable
Enable novalidate constraint new data but does not validate existing data
Disable validate constraint new data but does not validate existing data, disable DML when enabled
Enable validate constrains new data and verifies existing data, equivalent to enable
Extended Explanation:
Disable/enable for new data (for uniqueness c
The Securefile feature is a fully redesigned implementation of the large object (LOB) storage format in Oracle 11g, the original LOB storage format now known as Basixfile, which is still the default storage method, but the Securfile keyword opens a new storage method, It allows encryption, use of compression to save space and data de-duplication.
Initialization parameters
The Securefile feature is available when the initialization parameter compati
";
REMif the object in the first parenthesis is a file name, enclose it in double quotes .
REMTokens=1-3 "for the 1 to 3 columns, behind the suspect is%%a, how can it be%%b?"
for/F "Usebackq delims==. Tokens=1-3 "%%a in ('SetOra[%%i] ') Do SetOra_cur=%%bSetora[%%i]=REM\ \ means escaped/
Echo!ora_cur!| Findstr "\" >nul 2>nul Echo!ora_cur!| Findstr "@" >nul 2>nul (Set/A J+=1SetOra[!j!] =!ora_cur! )
)
) Wrote a lot of notes in order to understand Bat
Label:This article is mainly a summary of the problem, will be updated continuously.1. When executing environment *env = Environment::createenvironment (), throws an exception, the code is ORA-32104, but there is no error messageThe reason is to use the library and mismatch, such as I used 11 of the library, the environment is 10g, so the F:\PProject\oci\32\instantclient-basic-nt-11.2.0.4.0\instantclient_11_ 2 Add to the environment variable path, and before the path of 10g.The other is to use
Label: 1 CREATE OR REPLACE FUNCTIONTo_time (secinch Number)RETURN VARCHAR2 is
2 /*Turn the seconds into a time and minute format3 Auth Lzpong 201/09/164 */
5 BEGIN
6 RETURNTRUNC (NVL (sec,0)/3600)||':'||SUBSTR (Numtodsinterval (NVL (sec,0),'Second'), the,5); 7EXCEPTION whenOTHERS Then RETURN '0:00:00';
8 ENDTo_time;9
Ten
One CREATE OR REPLACE FUNCTION IsNumeric(Str inch VARCHAR2)RETURN Number is
A /*detects whether a string is a digital null:-1; notnumeric:0; isnumeric:1 - */
-V_strFL
Football and oracle series (4): from Brazil to Germany, think of the different RAC topology comparison !, OracleracFootball and oracle series (4): from Brazil to Germany, think of the different RAC topology comparison!
Preliminary review:
I was going to say that tonight, I thought it would be the second semi-finals th
Four steps to quickly start the oracle bbed environment: ora10g RHEL5.8 Introduction: bbed is called data block browsing and editing. Deep Learning of oracle block and disaster recovery in special circumstances.1 Compilation connection: cd $ ORACLE_HOME/rdbms/libmake-f ins_rdbms.mk $ ORACLE_HOME/rdbms/lib/bbed www.2cto.com 2 migration execution file: cp $ ORACLE_HOME/rdbms/lib/bbed $ ORACLE_HOME/bin 3 confi
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.