Oracle Linux 6.3 has been released for nearly 2 years, its features have greatly improved, enhanced KVM, file volume online RESIZING,LVM support RAID4, 5, 6, support more virtual CPUs and more memory, specifically, refer to Oracle official
Common scenario: When backing up an Oracle database from a server to a local machine to restore an Oracle database, you often encounter inconsistent database character encoding, you can use the following command to modify the local Oracle Database
Autotrace is an sql*plus feature that automatically tracks the generation of an execution plan for SQL statements and provides statistics about the processing of the statement. Sql*plus Autotrace can be used instead of SQL Trace, the benefit of
1.ORDER siblings byUsed in conjunction with connect by prior, mainly used to recursively query a tree structure, the structure of the tree itself can be displayed "original" (tree structure of the root node, minor points, leaf nodes rendered "tree"
Deformation of the nearest point pair, the key is to calculate the distance, if the same point, the direct decision to infinity can be.Other gossip:(1) For some reason, was forced to use the C + + for the time being.(2) long time no brush problem,
Clean up the environment of undo tablespace management Test 1:
Http://blog.csdn.net/wanghui5767260/article/details/20145959
SYS @ ORCL> select tablespace_name, segment_name, status from dba_rollback_segs;
TABLESPACE_NAME SEGMENT_NA STATUS
----------
Today, I encountered a strange problem at oracle10g. One SQL statement was very fast on database 1 and very slow on Database 2. Database 2's data was imported from database 1 and the data volume was similar.
Run 0.01 s on database 1.
SQL> SELECT .*,2
1. If it is just deleted, there are two methods:
Run the show parameter undo command to view the current database parameter undo_retention settings.
Shown as follows:Copy codeThe Code is as follows:Undo_management string AUTO
Undo_retention integer 1
ORA-01002: fetch out of sequence
Error locating:
SQL>! Oerr ora 01002.01002,000 00, "fetch out of sequence"// * Cause: This error means that a fetch has been attempted from a cursor// Which is no longer valid. Note that a PL/SQL cursor loop//
Oracle Database User Management Oracle permission settings
I. Permission classification:
System permission: The system specifies the user's permission to use the database. (System permissions are for users ). Object permission: the access permission
When using Oracle9i, oracle's task scheduling is poor. Recently, I browsed oracle11g and felt that oracle had greatly improved its ease of use. It not only became very simple in terms of memory management, storage management, and SQL tuning, A
Syntax for adding fields: alter table tablename add (column datatype [default value] [null/not null],...);
Alter table tablename modify (column datatype [default value] [null/not null],...);
Syntax for deleting a field: alter table tablename drop
I used Oracle table partitions today. Let's write a few examples to explain the partitions in this table:
I. Create a partition table
1. Range partitioning
Partitions Based on the range of data table Field Values
For example, you can partition a
The table structure is as follows:
Create table HH_BOOK_GOOD (ID VARCHAR2 (32) not null, BOOKID VARCHAR2 (32) not null, GOODID VARCHAR2 (32) not null, goodprice float not null, GOODNAME VARCHAR2 (256) not null, GOODNOTE VARCHAR2 (1024) not null)Use
I. DescriptionThe oracle exp/imp command is used to export/import databases;
The exp command is used to export data from a remote database server to a local machine to generate a dmp file;
The imp command is used to import the dmp file of the local
Oracle recommends that the OLTP (on-line TransactionProcessing) system accounts for 80% of the total system memory, and then allocates 80% to SGA and 20% to PGA. That isSGA = system_total_memory * 80% * 80%PGA = system_total_memory * 80% * 20%1.
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