A Complete Oracle database consists of an Oracle database instance and a database.
1) A database is a collection of physical files (data files, control files, online logs, parameter files, etc );
2) an Oracle database instance is a group of
Database connection is a key, limited, and expensive resource.ProgramIs particularly prominent. Database connection management can significantly affect the scalability and robustness of the entire application, and affect the performance indicators
Oracle provides a wide range of Flexible backup, restoration, and recovery management mechanisms and measures!
The three concepts must be clarified first:
Backup-Backup: "photographing" and archiving based on status points
PLSQL object:
Local Stored Procedure
Local Functions
Package
Package body
Type
Type Body
Anonymous Process
Compilation type
Intermediate interpreted bytecode
LocalC LanguageTarget executableCode(Not applicable
ASM is a data storage solution launched by Oracle for Oracle database systems. it is similar to the soft RAID of OS. However, it has a special hierarchy in the system architecture and serves upper-layer software (ASM) applications directly, it can
Sequence Number functions provided by Oracle
Take the EMP table as an example:1: rownum is the simplest sequence number, but the value is determined before order.Select rownum, T. * from EMP t order by enameRow rownum empno ename job Mgr hiredate
1. IntroductionOracleDatabaseThere are many backup methods. No matter which backup method is used, the purpose of backup is to restore the fault at the lowest possible time and cost.System. For example, using exportProgramExportDataDatabase objects,
Stored Procedure of the returned result set in Oracle
OracleUnlike SQL Server, you can use select to return data in the stored procedure.ResultThe result set is returned through the out parameter. It is actually using ref cursor
-- Procedure:
--
ORA-00031: session marked for kill handles the locks that cannot be killed in Oracle Author: moonsoft (http://moonsoft.itpub.net)Posted at: 2006.09.06Category: Oracle basic/Data Warehouse/BiSource: http://moonsoft.itpub.net/post/15182/203828---------
1. Use IMP to export data
Run cmd to enter the orcle installation directory bin and enter the following command:
Exp username/password @ oracleepp file = c: \ hysjb. dmp owner = magazine_hy rows = y
2. Use IMP to generate the index. SQL
Oracle will acquire Sun Microsystems for $7.4 billion
Http://news.csdn.net/a/20090420/210589.html
Oracle acquired sun, and said it would use MySQL, an open-source database for the snow collection.
Http://news.csdn.net/a/20090421/210595.html
Create or replace procedure t_ps_trycalculate (v_date in varchar2)
As
/*
The monthly performance check determines whether the employee's performance is successful based on parameters.
Parameter: v_date performance year/month
*/
-- Define error
The following conclusions can be drawn:
Most basic parameters need to be set
Parameters related to the OS path need to be set
Basic memory, process, and cursor parameters need to be set
If you set parameters in spfile, you
Testing server debugging recentlyProgramThe following errors occasionally occur:
System. accessviolationexception: attempts to read or write data to protected memory. This usually indicates that other memory is damaged.In system. Data. Common.
1.
View tablespace Information Java
Code
Select F. tablespace_name, A. Total, U. Used, F. Free, round (U. Used/a. Total )*100)"% Used",
Round (f. Free/a. Total )*100)"% Free"
From
(Select tablespace_name, sum (Bytes /(1024*1024)
From: http://hi.baidu.com/hexiong/blog/item/a6464954848d6c50574e006c.html
In the future, Java stored procedures will become more and more popular among major database manufacturers and become more and more powerful. The following uses oracle as an
In actual project development, we need to use VB (or other language tools) to call Oracle
Program The returned result set of the stored procedure in the package. Here, a call from the SMS operation platform is used as an example to describe this
1. select an appropriate ORACLE optimizer
2. Access Table
3. Share SQL statements
4. Select the most efficient table name sequence (only valid in the rule-based Optimizer)
5. The connection sequence in the WHERE clause.
6. Avoid '*' in the SELECT
Two goals:1. Enabling programs to be maintained by humans1) respectively write the program as handler and package it into a package.2) Follow naming rules for objects, links, and programs2. Write the function only once and share the Function1.)
-- Oracle Hot Backup-- ======================================
Oracle Hot Backup refers to a series of backup operations on database data files, control files, parameter files, and password files when the database is open.Hot Backup is a backup
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