To use an Oracle database, the user first has to establish a connection to the database. For database connections, Oracle offers two solutions: private and shared connections.
In most cases, we use a private connection. For a private connection,
Since 10g, Oracle has provided more efficient data Pump (i.e., EXPDP/IMPDP) for the import and export of imports, and old exp/imp can be used, but is not recommended. Note: EXPDP/IMPDP and Exp/imp are incompatible, that is, exp exported files can
Oracle's transparent data encryption, which is part of the Oracle Advanced Security option, requires additional software costs.This option can be encrypted with a variety of means, including the use of wallet (PKCS#12 standard) and support for pkcs#1
Many students on the optimization of SQL seems to know very little, recently summed up the following 34 articles for reference only.
(1) Select the most efficient table name order (valid only in the Rule-based optimizer):
The Oracle parser
Connection errorafter installation, I log in to the Enterprise background (HTTP://UBUNTU:1158/EM) error, with Sqlplus connection Oracle also error.One, the error encountered is as follows1,ora-12505:tns:listener does not currently know of SID given
This article describes the maximum length that a table name can use in the Oralce database. This length is also the maximum length of the Oracle identifier, which is 30 characters.
Small weave today, when an Oracle database table is being built, it
The Oracle tutorial being looked at is the design and development of Oracle Platform application database system. Oracle is currently the most widely used database system. A complete database system includes system hardware, operating system,
The Oracle tutorial you are looking at is the study of backup and recovery strategies for Oracle databases. The recovery of a missing database file depends to a large extent on the backup strategy used. Based on the flexibility of recovery, this
One. Creation and use of stored procedures
1. Create the package and create the stored procedure in the program
Create or replace
PACKAGE NCS_ICP_TJ as
/*lfx@ncs-cyber.com.cn*/
/* TODO Enter Package declaration (type, exception error, method, etc.)
Enter Sqlplus
Sql> Set Timing on
Sql>
Sql> Select COUNT (*) from Comm_human_role;
COUNT (*)
----------
866
elapsed:00:00:00.05
The above digital output is: Hours:Minutes:Seconds.Milliseconds
It takes 0.05 seconds to execute, equivalent to 50
How to reset the password for Oracle 10g SYS
After installing Oracle 10g, you forget the system password that was set up during installation. With the help of colleagues through a way to solve.
1.oracle password file exists in: Oracle_home/database/
ALTER DATABASE Create datafile causes the original data file to be lost
We have a client with a small system to recover, after Oracle Database Recovery Check detection We found a strange phenomenon in the Red box section
1. The head
Query optimization on SQL statements.
The foreground application works on the database server, and ultimately relies on the SQL statements in the application. According to incomplete statistics, SQL statements consume about 80% of the database
In this paper, the configuration scheme of Oracle database is described in detail in several aspects.
All users connected to Oracle must execute two code modules:
Application or Oracle Tools: A database user executes a database application or an
Five types of policies, column-related policies, and column masks make VPD a more powerful tool in the DBA's security toolbox
The Virtual Private database (VPD), also known as fine-grained access control, provides powerful row-level security
And then, in the previous example, set up two indexes on the table:
Sql> CREATE INDEX Ind_t_owner on T (OWNER);
The index has been created.
Sql> CREATE INDEX ind_t_id on T (object_id);
The index has been created.
For full table scans, use the
"Guide" This paper presents the principle of flashback function, describes the use of Oracle 9i or Oracle 10g Flash-back function to recover accidental loss of data methods.
Objective
Human error is one of the important reasons for the failure of
Oracle's Plsql
CREATE OR REPLACE Package chapter_13 asTYPE RS is REF CURSOR;Procedure founder (ofields out RS);EndCREATE OR REPLACE Package Body chapter_13 asPROCEDURE founder (Ofields out RS) isBEGINOpen Ofields forselect * from person;End founder;
I. PreparationsTo integrate the Linux/Apache/PHP4/FastCGI/Oracle/MySQL environment, you must first prepare the following software packages:(1) Perl interface for database tutorials1. perl5 Oracle DBI Driver: DBD-Oracle-1.03.tar.gz2. perl5 universal
Before 12c, if you want to achieve automatic column growth, it is usually achieved through sequence. However, this problem has been solved in 12c, and Oracle has postponed the identity column function, this function perfectly solves previous
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