The cold backup data must be that the database is not in the open state. The detailed process is shown in the following steps:
◆ (1): Shut down the database: shutdown immediate;
◆ (2): copy all files under the oradata directory, including data
In Oracle 10g, we may often encounter OEM problems that cannot be used normally, but the causes are different. In the end, most problems can be solved through the emca command, for more information, see online help. The following describes some
Oracle JOB:
1. Set the initialization parameter job_queue_processes.
SQL> alter system set job_queue_processes = n; (n> 0)
Job_queue_processes: the maximum value is 1000.
View the job queue background process
SQL> select name, description from v $
According to the definition of NULL, NULL indicates unknown. Therefore, the results of two NULL comparisons are neither equal nor unequal, and the results are still unknown. According to this definition, the existence of multiple NULL values should
In fact, in addition to the commonly used asmcmd command to manage the asm disk group, you can also manage it through ftp. By default, the ftp port is disabled. The specific operation steps are as follows:
Db1-> sqlplus/as sysdbaSQL> @?
SQL codeUpdate test set x = 1 where y = 1;Delete from test where y = 1;It is divided into two steps:1. Locate the data rows that meet the Update Conditions in the table based on the where condition;2. Update the x value of the data row found in step
Today, I want to share with my friends how to read and write Video data from BLOB fields in Oracle. The reason is that when I used ORACLE to back up data, I accidentally deleted the control file of the database instance, as a result, project data
1. First create a custom package, which contains the declaration of the cursor variable
Create or replace package POLICE. pkg_package
As
Type type_cursor is ref cursor;
End;
2. Use of Stored Procedures
Create or replace procedure POLICE. DangXmList (
I encountered a problem a few days ago. It took more than eight hours to recreate the index of a table. Later, I checked carefully to create a slow index and found that the index was basically a global index and was rebuilt ONLINE. The
In Oracle, a statement block is used as a default transaction. That is to say, if you only execute a block of ORACLE statements, it is executed in the form of transactions by default.
Create or replace procedure sp_EditInlayOut (
Fid number, --
When I write an SQL statement todaySelect sum (. plate), sum (. qty), sum (. qly),. materialtypeid, B. name, B. spec, from fw_eqpres_materialinventory a, fw_eng_material B where. materialtypeid = B. sysidAnd B. name like '% XX %'Group by a.
Back up the database today, after shutdown immediate shut down the data, startup mount opened the database, ora-03113: Database channel appears eof.The database version I managed is 9.2.0.6, the operating system is windows server 2003, the server is
Oracle log modes include archivelog (enable archive log) and noarchivelog.View the Database Log mode:Select log_mode from v $ database;
Log_mode-----------------------------------Archivelog How to enable Oracle Archiving:1. Edit the init. ora file
In order to verify the scenario of SQL hard parsing, the following six test examples are set for Oracle hard parsing: 1. Common queries without bound variables 2. Test queries with Bound variables 3. Test queries with changed SQL statements under
Oracle view, sequence and synonym, set operation 1. View (important) function: A View encapsulates a complex query statement. 1. syntax for creating a view:
Create view name AS subquery example: create view empv20 as select * FROM emp WHERE deptno =
Oracle 10046 event tracking is generally not recommended for 10046 events, because if the performance of the instance to be processed in front of you is poor, 10046 event tracking, it may make your instance performance worse. In general, we can
The oracle Stored Procedure exception is caught in oracle.
[SQL] // SQL Execution exception when others then dbms_output.putline ('exception ');
Others indicates that an unnamed exception is caught. Other exceptions include
Access_into_null: the
Oracle self-study (1) 1. query statements
[SQL] select * from TF_ B _TERM_PREPMG_LOG; select * from TD_M_TERM_PRICE; select * from TF_ B _CEN_TERM_MANAGER_LOG, Region; // query select * from region together with two tables; select * from region;
ORACLE downgrade Import and Export we often need to import and export in different versions of the database, if you import from a lower version to a higher version, generally the problem is not big. however, importing a version from a higher version
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