Relationship between process, connection, and session
Process: divided into user process, server process, and background process.The user process is a process in the client.Processes created with user process. For background processConnect
Description of each process
Important processes: SMON, pmon, dbwn, lgwr, ckpt, and arcn
SMON: This process is used for data rediscovery. This process is mainly responsible for inspecting the system and completing the system,Pmon: Used to clear
Compared with Oracle 9, Oracle 10 Gb has changed a lot and is not suitable for use at the beginning. In use, enterprise managemer needs to be opened through a browser. Many management functions require host identity authentication. At first I want
A very powerful function in Oracle is to convert functions written in Java into functions in the Oracle database. After the conversion, we can use it as a general function.Because oracle is developed in Java itself, it is naturally compatible with
We know that most of the popularProgramming LanguageAll are object-oriented. all objects in object orientation are objects. that is to say, each class. this idea is also used in Oracle Data. most of the time, when creating a table, we specify that
Today, I plan to enable the Database Control for Oracle Database 11 GB and find that the database is not installed initially:
[Oracle @ test126 ~] $ Emctl startEm configuration issue./opt/Oracle/product/11.1.0/test126.hurray.com.cn _ Dodd not found.
Database development or management personnel often need to create a large amount of test data, and tens of thousands of data records are required. If one data entry is required, it will waste a lot of time, this article describes how to quickly
1. I was so scared to death that I accidentally deleted all the database tables in the development database. The result shows that the following statement is restored to data 1 hour ago! Very simple.
Note: Use the Administrator to log on to the
/**** @ Param stname: do not create a sequence table. Separate multiple tables with commas (,).**/Create or replace procedure proc_create_seq_trig (stname in varchar2)AsStrsql varchar2 (4000 );Tablename varchar2 (50 );PID varchar2 (50 );Pidtype
Specify scale for numbers
Includevelopers do not specify a precision for number columns. this may be in order to minimize the work that wocould be needed to increase that precision shocould the application's requirements change, but it is often just
Today, we found that the SELECT statement in Oracle can implement recursive queries using the start with... connect by prior clause. The connect by clause is used in structured queries. Its basic syntax is:
Select... from tablename start with
Oracle temporary tablespace is mainly used to query and store some buffer data. Temporary tablespace consumption is mainly caused by sorting the intermediate query results. Restarting the database can release temporary tablespace. If the instance
During the ETL process, the last or most previous record of the result set is often encountered. For example, the current interest rate, account opening amount, and agreed interest rate of current demand deposits. If you do not need the lookup
Document directory
1. Start with can be omitted
2. The start with and connect by prior locations are interchangeable.
3. nocycle keyword
4. Change the conditional order after connect by prior (???)
5. You can also add the where condition.
Document directory
Example 2:
In Oracle, a keyword is null, indicating that a value is unknown and uncertain. Since it is unknown, there are several possibilities. Therefore, null is not a definite value. Let's take a look at two
Document directory
Supplement: Let's take a brief look at the Oracle parameter types.
We are all familiar with the recycle bin in windows. You can restore the deleted files to the recycle bin. the Oracle recycle bin works exactly the same, but
1. Usage of select... connect by prior... start:
Select... from
Where -- filter condition, used to filter all returned records
Start with -- conditions for starting the root node of the query result
Connect by prior -- connection Condition
The
Database features that developers are concerned about
As a developer rather than a DBA, we certainly have different focuses on databases. we do not need to know backup, configuration, optimization, and database maintenance. we are concerned about
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