Oracle Database files are classified into five categories:
Parameter files, data files, temporary files, control files, and redo log files.
Oralce Memory Structure
System global zone (SGA)
Process global zone (PGA)
User
Data Files and redo log files are important files in the database.
Oracle stores data in four file systems
Operating System (OS) File System
Original Partition
New Features of Automatic Storage Management (ASM) and 10g Release 1
1. Online log files
Each Oracle database has at least two online redo log file groups. Each redo log group contains one or more redo log members, the individual redo log file members of these groups actually form an image of each other. The
Errors in the Oralce database often occur. We see all the wrong code. As to the cause of the error, it is still difficult to answer at half past one, so we sorted out some common errors, it may be helpful to you.
Oracle Database is a network
When connecting to an ORACLE database, the customer must provide the "user ID", "password", and "network service name". The network service name is used to find the ORACLE service on the network. There are five methods for network service name
1. ORACLE instances
System Global Area (SGA) and Background Process are called database instances.
2. ORACLE Database
A collection of physical files:
@Data file:Store data with the suffix. dbf. One sentence: One tablespace is for multiple data
Recently, I had to study the Oracle database because of the need of the project. I think back to the last time I used Oracle for years. During my internship, BMW Brilliance's project had a simple access to Oracle. This project needs to be based on
Document directory
Read Committed Isolation
Serializable Isolation
Oracle lock type:No locks are needed for further reading. The implementation of Oracle's shared locks is a little different from that in the previous article,
Today, when I
The problem is as follows:
SQL> conn scott/tiger @ vm_databaseConnected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0Connected as scott
......
SQL> drop table student2;
Drop table student2
ORA-00054: The resource is busy, but it is
Search for user locksView Code
Select s. username,Decode (l. type, 'TT', 'table lock ','Tx ', 'row lock ',NULL) LOCK_LEVEL,O. owner, o. object_name, o. object_type, s. terminal, s. machine, s. program, s. osuserFrom v $ session s, v $ lock l, dba_
Because these functions are rarely used, they are almost forgotten. However, they are useful for greatly simplifying some SQL syntax. As for efficiency problems,As CCW said, they have no difference with EXISTS, IN, and so on, and need to analyze the
In my practical work, I have the honor to be exposed to the massive data processing problems. It is an arduous and complex task to process them. The reasons are as follows: 1. If the data volume is too large, there may be any situation in the data.
Introduce 5 required background processes in oracle database
SMON
SMONIs the abbreviationSystem Monitor. If Oracle Instance runs with error, the information inSGA,Which hasn't been written into the disk, will lose permanently. there are pending
Recently, I have seen two query syntaxes that are not commonly used on the Internet for sorting queries. For the usage of analysis functions, remember, authenticate, and explain;
How can I query the maximum and secondary values of each column in a
Tomcat is a good development and learning container, but when you use the JDBC driver ojdbc6.jar and JDK6 that come with Oracle 11g to run together, especially when you use it with the spring framework, the following error occurs: SEVERE: error
Http://blog.163.com/xxciof/blog/static/7978132720095193113752/
Connect by prior recursive algorithm in oracle
In Oracle, the start with... connect by prior clause connect by is used in structured queries. Its basic syntax is:Select... from
Http://www.oracle.com/technetwork/cn/database/windows/downloads/index-101312-zhs.html
To connect ORACLE to VS, use ENTITY.
1. If you only need to use ENTITY, you can use ODAC of the next 11G version or later. Do not enter 10. The English is
1. Stored Procedure writing
Create or replace procedure HVM_BYQ_TJ
-- Transformer statistics ---> warehouse receiving(Id in number)AsBeginFor num in 1 .. 2 loopIf num = 1 thenUpdate hvm_zsb_tj set byq = (select count (0) as hangshu from
Sga (oracle has a large memory block) Function
Maintains various internal data structures that all processes need to access;
Cache the data on the disk, and cache the data here before redoing the data to the disk;
Save parsed SQL plans.
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.