Oracle recovery experiment (1)

Environment: Oracle10g, Red Hat 4, Oracle running in archive mode. Simulation Scenario: The user01.dbf data file is corrupted, and the database recovery is disabled. Procedure: 1. perform a full-database cold backup to back up control files, data

Install Oracle11gR2 on Ubuntu 11.04

Sudo ln-s/usr/bin/awkSudo apt-get install libaio-dev sysstat build-essential \ gcc make binutils lesstif2 libc6 libc6-dev rpm libmotif4 \ libaio1 libstdc ++ 6 alien autotools-dev ksh libltdl-dev \ libtool lsb-rpm unixODBC-dev unixODBCSudo groupadd

Use the oracle control file to import massive data into the database

Using oracle control files to store large amounts of data into the database is much more efficient than SQL script files.A m data file, the ctl file is stored in about 20 mins, and the SQL script file takes about 2 hours. To use the ctl control file,

Modify the port number of Marshal

SQL> connect user name/Password 02 (successful, the connection is displayed .) 03 04/****** modify the http service port ******/ 05 SQL> call dbms_xdb.cfg_update (updateXML (dbms_xdb.get _get (),

Oracle programming Art Study Notes (1)-configure the environment

  1) SQL * Plus login. SQL File When you use SQL * PLUS to log on, SQL * PLUS reads and executes the script in the following order: · $ Oracle_home/sqlplus/admin/glogin. SQL · Login. SQL in the current directory, or set an environment variable

Oracle programming Art Study Notes (9)-Oracle files-data files

    In Oracle, four file system mechanisms can be used to store data. (A database may contain all the following types of files) · "Cooked" operating system (OS) File System These files are stored in the OS file system. You can use the OS tool to

Oracle programming art study notes (8)-files in Oracle-warning log files

    The alert file is located in the directory specified by the BACKGROUND_DUMP_DEST parameter and is named alert _ . log. In addition, after 11 GB, the warning file also generates an xml version, which is located in the directory specified by

Oracle Stored Procedure compilation Error

  When PL/SQL developer is used to develop oracle stored procedures, a very confusing problem is that the stored procedures can be compiled after compilation, that is, there are errors after compilation, there is a small Red Cross in the name of

Oracle programming Art Study Notes (14)-write consistency

  Two concepts are explained first:· Consistent read: the row to be modified is the Consistent read.· Current read: Get the block to actually update the row to be modified. The obtained result is the Current read.The tkprof report shows the

Oracle 10g under rhel5.4

  Oracle 10g installation documentation OS: rhel5.4 Author: Lvan Date: 2011/10/29 After reading many documents, I will summarize them after installation. It should be useful for beginners.   1. Check the installation environment Binutils

Oracle programming Art Study Notes (24)-heap organization table

  Segments are the database objects that occupy the storage space. Each object that occupies the storage space is stored in a segment, such as tables, indexes, and rollback segments. Segment type 1) Table segment 2) table partition or

SQL * load usage

  SQL * LOADER is a data loading tool for ORACLE. It is usually used to migrate operating system files to ORACLE databases.   SQL * LOADER is large data Repository selection method, because it provides the fastest way (DIRECT, PARALLEL ). Now, let's

Oracle start learning 1 [step by step]

  Learning must follow the gradual rules. Otherwise, you will find that learning is getting harder and harder, because the previous basics do not understand.   You must learn how to create tables in basic oracle learning. But before creating a table,

Oracle self-launch in Linux

  Root @ localhost oracle] # vim/etc/oratab     1 $ ORACLE_SID: $ ORACLE_HOME: Y     ? 1 [root @ localhost oracle] # vim/etc/init. d/dbora     View sourceprint? 01 #! /Bin/sh   02 # chkconfig: 345 99 10   03 # description: Oracle auto start-stop

Oracle outputs query content to text

  Output query content to text Set echo off pagesize 0 heading off feedback off termout off Spool test. SQL Select count (*) from user_tables; Spool off   After the preceding script is executed, the query content is output to test. SQL.   The set

Study on the Extraction from ORA-01536: space quota exceeded for tablespace

  R & D colleagues said the database error during table creation: ORA-1536   [Oracle @ localhost ~] $ Oerr ora 1, 1536 01536,000 00, "space quota exceededfor tablespace '% S '" // * Cause: The space quota for the segment owner in the tablespace has /

ORACLE cursor Traversal

ORACLE cursor Traversal -- Created on 2011-10-9 by HUCHANGKUN declare -- Local variables here CURSOR C_EVENT is select t. eventname from T_Event t; temp T_Event.EVENTNAME % TYPE; begin -- for traversal cursor for temp in C_EVENT Loop dbms_output.put_

Cost increases after a SQL statement adds partition filtering conditions.

After a SQL statement is used to add a partition filter condition, the cost increases by adding a filter condition to the query Partition Table in 10.2.0.1.0. The cost increases, because this is an oracle bug. Let's test it below: SQL> select * from

Oracle table common query Experiment (2)

Oracle table common query Experiment (2) Common query experiment of Oracle table (1) http://www.bkjia.com/database/201309/242198.html 1. query the total names of all employees, SAL and COMM. Select ename, sal + nvl (comm, 0) "sal-and-comm" from emp;

After oracle modifies the character set, the database cannot be started.

After oracle modifies the character set, the database cannot be started to solve the recently modified character set experiment. The tragedy is that the database cannot be started after the modification. SQL> alter system set nls_language =

Total Pages: 2147 1 .... 1861 1862 1863 1864 1865 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.