"Oracle" Physical architecture

I. ORACLE Physical Architecture Principle Structure diagram Each part explains:PGA: Private memory area for use by the current initiating user only.Three effects The session information after the user logs in will be saved in

Oracle take month-without the previous 0

Source: http://www.2cto.com/database/201208/145611.html Today, just take the month and the number of days, if 0 in front of the month to get rid of 0. For example, 2010-01-08, the required result is 1-8. Leads to a series of SQL statements first:

Oracle GROUP by multiple table multi-field Association query

Group by multiple table multi-field Association queryOneself encounter a problem, is the beginning of the time need a field name and number, but the same table.The database code is as follows:Select L.batchnum,count (l.batchnum) Batcount from

Oracle's optimization Principles

First, Oracle has an optimizer (Optimizer), and Oracle's optimization mechanism starts with Optimizer. Clear two concepts: there are two ways to optimize Oracle Optimizer, one is rule-based, we call RBO (rule-based optimization), One is the

Querying Oracle Tablespace Usage

1 SELECT UPPER(F.tablespace_name) Tablespace name, D.TOT_GROOTTE_MB table space Size (M), D.TOT_GROOTTE_MB-F.total_bytes "used Space (M)", To_char (ROUND((D.TOT_GROOTTE_MB-F.total_bytes)/D.tot_grootte_mb* -,2),'990.99')||'%'"Use ratio (%) ",

Oracle not all in will be replaced with exists

Oracle query optimization using exists can be more speed than using in, of course, this can only be in the case of only one in, generally there are multiple in the case, can not be all in the exists, I am not clear, I just based on the actual

Oracle modifies the archive log path

One: First query the database whether to open the archive mode:sql> archive Log list; ----Archive mode is turned onDatabase Log Mode Archive modeAutomatic Archival EnabledArchive Destination Use_db_recovery_file_dest----Modify this archive

Oracle Backgroup Processes

Pmon:process Monitor uses automatic registration for dynamic monitoring to handle abnormal processes.Smon:system Monitor is used for instance recovery.LCKN: Use only the RAC database for blocking between instance.RECO: For the recovery of

Oracle client installation in Linux under explanation

1, first go to Oracle official website Download the following installation package

How Oracle rac--archive logs are opened

How to open Oracle rac--archive log 2011-10-07 15:53:04Category: OracleOracle rac--Archive Logging Method ================================== 10g R1 To modify the cluster_database parameters, 10G R2 and later versions will not be required1. Example (1

Oracle service boot from boot

1. Modify the Oracle System configuration file::/etc/oratabVi/etc/oratabOrcl:/opt/oracle/product/10.2.0/db_1:Y2. Create the file Oracle startup script under/etc/init.d/, with the following content: #!/bin/sh# chkconfig:35 80 10#

Oracle Array type

Create or Replace functionMy_test (p_strvarchar2)return Number as--Common VariablesV_varvarchar2( +);--fixed-length arraysType V_ar isVarray (Ten) of varchar2( -); My_ar V_ar:=V_ar ('g','m','D','Gong','Handsome');--variable Length valueType

ORA-01722: invalidnumber

--- ProblemSelect owner, index_name, DEGREE from DBA_INDEXES where DEGREE> 1*ERROR at line 1:ORA-01722: invalid number.-- 1 get execution trace informationSQL> set autotrace traceonlySQL> select owner, index_name, DEGREE from DBA_INDEXES where

Use hint to optimize Oracle execution plans

Background: A table suddenly experienced slow queries, with a cost of more than 100 seconds, seriously affecting production. Original SQL: explain plan for select * from (select ID id,RET_NO retNo, FROM_SYS fromSy, TO_SYS toSys, COMMAND_CODE

Oracle basic learning 4-Oracle permission Transfer

An example is provided below: First, connect to Oracle as a guest (sysdba) Then create two users, "lisi" and "zhangsan" Then authorize lisi and grantCreate a tablePermissions Lisi connects to the database and creates a table named

[Oracle] uses bbed to restore delete data

After the data in the table is deleted, it does not actually delete the data. Instead, it is marked with a delete mark and can be restored as long as it is not overwritten. The experiment process is as follows: SYS @ ORCL> create table bbed_test (x

Oracle11gRAC construction in linux (9)

Oracle11g RAC construction in linux (9)8. Create an ASM warehouse Perform operations on the GUI [Root @ node1 ~] #Su-grid [Grid @ node1 ~] $Asmca // Create two disk groups: Data File disk groups and fast recovery disk groups [Grid @ node1 ~] $Cd/u01/

Auto scaling of oracle tablespace

Select a. FILE_NAME, a. AUTOEXTENSIBLE, a. MAXBYTES, a. INCREMENT_BY from dba_data_files; -- AUTOEXTENSIBLE auto Scaling-- MAXBYTES maximum -- INCREMENT_BY: automatically scales the number of blocks. SQL> show parameter db_blockNAME TYPE VALUE ------

Single-Line Character functions of ORACLE Functions

1. ASCII (C) Returns the corresponding decimal number of the first character of C in the ASCII code. Example: SQL> select ascii ('A') A, ASCII ('A') B, ASCII ('0') C, ASCII ('') D FROM DUAL; A B C D ---------------------------------------- 65 97 48 3

How Should EXSITS be used?

Whether it is a project or SQL, we usually use IN. It is easy to understand. However, IN the face of multi-layer query nesting, or the number of result sets IN the IN keyword is huge, the query efficiency will decrease linearly. In this case, we

Total Pages: 2147 1 .... 1843 1844 1845 1846 1847 .... 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.