Turn from: http://lzkyo.iteye.com/blog/692680
indexes and corresponding tables should be located in different tablespaces (primary key (ID) using index tablespace mytable_index), and Oracle can read data on different hard disks in parallel to avoid
sql> clear screen;#创建库表Sql> START E:\SQL. SQL;18;Table has been created.Sql> select Table_name,tablespace_name from User_tables;TABLE_NAME Tablespace_name------------------------------ ------------------------------Tb_mtbasicinfo
Nls_lang format:
Nls_lang=language_territory. Client CHARACTERSET
1, Nls_lang parameter composition
The Nls_lang parameter consists of the following sections:
Nls_lang=_.
The meaning of each part of the Nls_lang is as follows:
Oracle system backup and recovery scenarioI. Overview 1.1 Concept of backup
Backup is the process of copying a database to a dump device. Where a dump device refers to a tape or disk that is used to place a copy of a database.
What kind of
Employees table:
Department Table:
Select E.last_name,e.department_id,d.department_name
From Employees E
LEFT OUTER JOIN Departments D
On (e.department_id = d.department_id);
Select E.last_name, D.department_name
From Employees e,
Oracle Incomplete recovery means that the recovered data is lost and some data cannot be recovered.
Environment:
Os:rhel 6.0
Db:oracle 10.2.0.1.0
1, first there is a backup of the database here is the full preparation of Rman[Oracle@rhel ~]$ Rman
The comment on command in Oracle is used to describe the table or field, and the syntax is as follows:
COMMENT on
{TABLE [schema.]
{table | view}
| COLUMN [schema.]
{table. | view. | materialized_view.} Column
| OPERATOR [schema.] OPERATOR
|
Oracle Cluster (RAC) startup and shutdown
The following points need to be noted when Oracle RAC starts and shuts down:
First, check the shared device
Second, automatically start RAC and check related processes
Third, manually start RAC
In the
The Al32utf8 character set is not a (display/input) language character set, is a character set for storage and supports the world's leading language encoding.
Al32utf8 is a superset of ZHS16GBK.
The Nls_lang should be set to the language
several ways to start \ Close Oracle Database
There are a number of ways to start and close Oracle.
Here are only 3 ways to do this:
L Sql*plus
L OEM Console
L Windows Console
1. Take Sql*plus as an example:
A. Preparation
First, we use Sql*plus to
Oracle Parallel parallel execution Operations
2009-08-22 17:16:08| Category: System Management Technology | reporting | font size subscription
Introduction: The Oracle Parallel feature has not been a concern for the past. A few days ago a brother
Guide:
First, the introduction:
A rollback segment is a part of a database that records information about changes to the database. Use this information to implement the read consistency of the database and its recovery. If the rollback segment
1 Check Database connection information
2 Check the query's table name
3 View the permissions of the table and whether the currently logged on user has query permissions for the table.
4 ORACLE queries automatically convert uppercase so the
When you install Oracle, if you do not reset the password for the following users, the default password is as follows:
User name/Password login Identity descriptionSys/change_on_install SYSDBA or Sysoper cannot be logged in as NORMAL as the default
What is the relationship between the Last_date and next_date in the job, and the interval, last_date the start of the job, or the end of the execution time. Next_date is the job start time or end time plus interval.If a job has a long execution time
Several ways to migrate Oracle databases
We often need to migrate data, migrate to more performance-configurable host OS, migrate to remote rooms, migrate to different platforms, the following describes several Oracle database migration scenarios:
Oracle Data Pump detailed
The Oracle database 10g uses data pump technology that enables DBAs or developers to quickly move database metadata (object definitions) and data to another Oracle databases.the role of data Pump export import (EXPDP and
In Oracle, start With...connect by prior clause usageConnect by is used in structured queries, and its basic syntax is:Select ... from tablename start with condition 1Connect by Condition 2Where Condition 3;
Cases:
SELECT * FROM tableStart with
Turn from: http://database.51cto.com/art/201010/231126.htm
The Oracle Wm_concat (column) function is what we often use, and here's how you can use the Oraclewm_concat (column) function to implement a field merge if you are wm_concat for Oracle
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