1. Understanding Oracle External Tables
External table Definition: The structure is stored in the data dictionary, and the table data is placed in the OS file in the table
Role: Querying the database for OS file data and loading OS file data into
The author believes that when creating an index, it is three appropriate to create an appropriate number of indexes on the appropriate table and on the appropriate columns. Although this can be summed up in a sentence to optimize the basic criteria
Make a note for reference only
SELECT d.table_name tbname,//table name COALESCE (t.comments, ') Tbdesc,//Table comment A.column_name columnName,//Field name A.data_type Colu Mntype,//field type A.data_length width,//Field length A.data_scale
Function:
1, allow/limit the modification of the table
2, automatically generate derived columns, such as self-added fields
3. Enforce data consistency
4. Provide audit and log records
5, prevent invalid transaction processing
6. Enable Complex
Show parameter processes;
And then
To change the number of system connections
Alter system set processes=1000 Scope=spfile;
The following is a detailed procedure and instructions
Problem Description: Client Connection Database error
Ora-12516:tns:
Using language to achieve
Benefits:
1, can reduce access to the database.
2, good portability.
Harm:
1, the operation to consider more things, modify a place to modify another place. In other words, they are interrelated. If you change a little, it
Format:
SELECT column
From table_name
START with Column=value
CONNECT by PRIOR Parent PRIMARY KEY = child foreign key
Select Lpad (', 4* (level-1)) | | Name Name,job,id,super from EMP
Start with super is null
Connect by Prior Id=super
Example:
Raw
The Automated diagnostics information Base (ADR) is introduced in Oracle 11g, which provides a uniform and consistent mechanism for storing, formatting, and locating all database diagnostics (EASY-TO-USE file structures). ADR associates errors with
1. Copy table structure and data:
Copy Code code as follows:
CREATE TABLE Table_name_new as SELECT * from Table_name_old
2. Copy only the table structure:
Copy Code code as follows:
CREATE TABLE Table_name_new
Friend asked:
There's a school. Oracle database encoding is GBK, and the library has a lot of production data, now want to change to UTF8, if the implementation of this step, what will occur?
My answer is:
Because UTF8 's library Chinese
The permission system of Oracle database is divided into system permissions and object permissions. System permissions (Database system privilege) allows users to perform a specific set of commands. For example, the CREATE TABLE permission allows a
The comment on command in Oracle is used to describe the table or field, and the syntax is as follows:
Copy Code code as follows:
COMMENT on
{TABLE [schema.]
{table | view}
| COLUMN [schema.]
{table. | view. |
First, OracleOracle Server has Oracle Instace and Oracle Database
Instance is composed of memory structure and background process.
Memory structure includes shared pool, SGA (System Global area).
The SGA includes: Database buffer cache and Redo log
1.
The SYS user has DBA authority and has the SYS mode to log in to the database only through SYSDBA. is the highest-privileged account in the Oracle database
System has DBA authority. But no SYSDBA permissions. Usually use this account to manage
The concept of partitioned tables
Partitions are committed to resolving key issues that support large tables and indexes. It uses the method that they decompose into smaller and manageable slices called partitions (piece). Once a partition is
Kill Oracle Online users and use root to execute this script on Oracle's serverParameter description for this Oracle user
Copy Code code as follows:
#!/bin/sh
function _oracleplus () {
Su-oracle-c "$oraclehome/bin/sqlplus/nolog" Connect/
The following summarizes the MySQL conversion Oracle several points of attention, I hope to help.
1. Automatic growth of data type processing
MySQL has an automatically growing data type, and the data value is automatically obtained when you
Description: The following operating environment in CentOS 6.4 + Oracle 11GR2 (Oracle installed in Oracle_base=/opt/oracle, oracle_home=/opt/oracle/11g)
After the Oracle database is installed and configured with Oui, Oracle opens (including:
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