Two days ago in the pub to see someone met this problem, today's lectures met, but the night to simulate the dead and alive are not reproduced.
The problem is to first block the Flash recovery area function, and then restore the function, the
It's not good to look at Doc.
sql> shutdown Immediate
The database has been closed.
The database has been unloaded.
The ORACLE routine has been closed.
Sql> Startup Mount
The ORACLE routine has started.
Total System Global area 104857600
ORACLE10GR2 new features: Asynchronous COMMIT
For Oracle's commit mechanism, I believe that we are already very familiar with. Oracle takes a synchronous write transaction log for a commit, that is, once a commit is issued, all redo that must wait
Conn System/manager
----------------------------Create a user, assign quotas, and create a table---------------------
DROP USER test2 CASCADE;
Create user test2 identified by Test2;
Select Username,password,profile,default_tablespace from
There is a problem that has been puzzling for a long time, in case of a failure when upgrading CRS. The RAC is a joke that can't be easily opened.
This test is done on the Linux platform, and the production library operations need to be cautious.
1
--The syntax is as followsMerge into QCFANG.BBB b using (SELECT * from QCFANG.AAA) aOn (b.a_id=a.a_id)When matched thenUpdate setB.a_name=a.a_name, B.a_sex = a.a_sex, B.a_type = A.a_type,b.a_salary = A.a_salaryWhen not matched
Scenario: Temporary table space Full, unable to release
The solution is summarized as follows:
--1 Create transit temporary table space
Create temporary tablespace temp02
Tempfile '/oradata/crpt_temp_tra.dbf '
Size 20G reuse autoextend on next 1
Starting with Oracle 9i, Oracle allows you to make a reputation for primary keys, unique keys, and foreign KEY constraints for view. The NOT NULL constraint can inherit from the base table, so it is not allowed to display the declaration.
Because
1. RAID definition
RAID, full name Redundant array of inexpensive disks, Chinese name is redundant array of inexpensive disks. RAID can be divided into soft raid and hard raid, soft raid is the software to achieve multiple hard disk redundancy.
1. Compare Sql*loader performance differences that are loaded using conventional traditional and direct methods.
First, the concept
1. Direct Load Advantage
(1) Direct loading is higher than traditional loading efficiency
(2) Do not scan the
"Data compression" used to be a new word for me, not have not heard, but did not actually use, has been doing project manager work is also designed to the database operations, but because the storage design is more abundant, in addition to the
The Pl/sql code in Oracle involves two execution engines, one that specializes in standard SQL statements, and another process code that handles Pl/sql, which typically leads to extra CPU overhead on engine switching. For example, the difference
The way in which roles (database permission sets) interact with stored procedures, functions, and packets is one of the most difficult parts of the Oracle security model to handle. Object permissions in Oracle can be indirectly granted to users,
Codesmith is a code generation tool for. NET, and many of its own templates are almost all systems for SQL Server architecture, and when Oracle is used, many templates need to be customized because of the differences between Pl-sql and T-SQL. There
The following function is the function I write when I write the Oracle database stored procedure, I feel that this function is more versatile, so it is published for the reference of the people who need it.
This function is primarily used to remove
In Sql_plus,
spool ExecCompProc.sqlselect 'alter procedure '||object_name||' compile;' From all_objects where status = 'INVALID' and object_type = 'PROCEDURE';spool off@ExecCompProc.Sql;
Organize into a stored procedure
Create Or Replace
Oracle provides a variety of diagnostic tools for the RDBMS, and diagnostic events (event) is one of the common, easy-to-use methods that enable DBAs to easily dump database structures and track specific occurrences.
The usual format and
Oracle has launched a new execution plan with two tips native_full_outer_join and no_native_full_outer_join to control this execution plan.
The use of these two hint is simple and requires no additional parameters. The following example continues
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