Http://database.51cto.com/art/201011/233370.htm
When the MySQL database does not meet our large demand, we need to migrate the data in the MySQL database to the Oracle database. In this process, some problems are worth noting.
AD:
The night before, I learned about Oracle Enterprise Linux and Oracle database. I didn't expect to go through so much Internet traffic, which is equivalent to spending 1500 RMB. It's hard to come by. You should cherish it. We installed Enterprise
Rs. Open SQL, Conn, a, BA:
Adopenforwardonly (= 0)Read-only, and the current data record can only be moved down
Adopenkeyset (= 1)Read-only, the current data records can be freely moved
Adopendynamic (= 2)Read/write: The current data records can
(Length (TRIM (cbkssj) is nullThis statement should only be applicable to Oracle's strange situations. Should it be determined that length is equal to null ?! In addition to this, a strong SQL syntax is provided, which contains a lot of or and.
ORACLE-merge query results
Recently, I encountered a problem. I need to combine the values of a certain field in the query results to show that I had a workund und through my own efforts and wrote it down for forgetting.
The following is the form of
1. Connection:
1. equijoinDikar set connectionSelect ename, A. deptno as a_deptno, B. deptno as B _deptno, B. dname as departmentFrom emp a, DEPT BEquijoinSelect ename, A. deptno as a_deptno, B. deptno as B _deptno, B. dname as departmentFrom emp a,
0. database parameter attributesCol PROPERTY_NAME format a25Col PROPERTY_VALUE format a30Col DESCRIPTION format a100Select * from database_properties;
Select * from v $ version;
1. Find the SID of the current session, SERIAL #SELECT Sid, Serial #
Create or replace function idcard15to18 (card varchar2) return varchar2 is
Type tiarray is table of integer;
Type tcarray is table of char (1 );
Results varchar2 (18 );
W tiarray; -- number Array
A tcarray; -- character array
S integer;
Begin
If
SQL definition: SQL is a general data processing language specification for databases. It can perform the following functions: extract and query data, insert and modify data, and delete data, and generate and modify database objects, database
I. Introduction to adding CSV files to ORACLE
Add data to tables on my ORACLE server.Before proceeding to the final operation, create the text file input. ctl in the directory where prize_vs.csv is located. The content is:Load dataInfile
For rownum, it is the number of the row returned from the query that is sequentially allocated by the Oracle system. The first row is allocated 1, and the second row is 2, this pseudo field can be used to limit the total number of rows returned by
The Table Partitioning function of Oracle brings great benefits to various applications by improving manageability, performance, and availability. In general, partitions can greatly improve the performance of some queries and maintenance operations.
What is an index?
An index is an auxiliary object created in one or more columns of a table. It aims to accelerate access to data in the table;
The data structure of the Oracle storage index is B * tree, and the same is true for the bitmap
9i provides an online table redefinition method that allows you to modify the table structure without affecting the DML of the original table.
In fact, the online redefinition table is not completely online redefinition. The original and
Chapter 2: BACKUP and RECOVERY
1. v$sga,v$instance,v$process,v$bgprocess,v$database,v$datafile,v$sgastat
2. Rman need set dbwr_IO_slaves or backup_tape_IO_slaves and large_pool_size
3. Monitoring Parallel Rollback
The physical structure of oracle is in a server, and each running database has a database instance (instancename. When the database is started, the system first allocates the system global zone (SGA) in the server memory, which constitutes the
Such as the database name, database instance, SID ......
Oracle_SID
SID is the abbreviation of System IDentifier (also known as Site IDentifier), and Oracle_SID is the abbreviation of Oracle System IDentifier. in Oracle, Oracle_SID appears in the
Several lock types and Related Parameters
The blocking mechanism is mainly used to control concurrent operations, block interference, and ensure data consistency and accuracy. There are three ways to block Oracle databases: Shared blocking,
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