Problem one: such as Paugaca JDBC driver:
Normally we have three ways to load drivers:
1) class.forname (string) this would like to be a class specified by a String that initializes the static content of the driver at load time, ClassLoader In
OCR corresponds to the registry of Windows. For Windows, all software information, users, configuration, security, and so on are all in the registry. And the cluster, again, all cluster-related resources, configurations, nodes, and RAC databases are
In Oracle databases, Undo has three main roles: providing consistent read (consistent read), ROLLBACK TRANSACTION (Rollback Transaction), and instance recovery (Instance Recovery).
Consistency reading is relative to dirty read (Dirty read).
In Oracle, table space is the basic method of data management, all users ' objects should be stored in the table space, that is, the user has the right to use the space, in order to create user
Object Otherwise it is not allowed to create objects,
Sql*loader principle
Sql*loader is a tool provided by Oracle for data loading, it is more suitable for business analysis type database (Data Warehouse), can handle multiple format flat files, bulk data loading is more efficient than traditional
What is CPU/PSU
The full name of the Oracle CPU is critical Patch Update, where Oracle releases a security patch package for each quarter of its products, usually to fix security risks in the product.
The full name of the Oracle PSU is patch Set
1, the establishment password file, uses in the SYS user remote login authentication (remote_login_passwordfile=exclusive), the position $ORACLE _home/dbs/orapwsid. Create command: ORAPWD
[Oracle@work dbs]$ orapwd File=orapwprod password=oracle
We sometimes have a demand that the database can help us do something regularly. For example, we want the database to be able to aggregate data from one table in the library, or from some tables, into another sheet on a regular basis. Then we can do
A backup is the preservation of the data information in the database, while recovery restores the backed-up database information to the database system.
The backup type of the database
There are 3 standard forms of Backup for Oracle databases:
1. View database Information
Show parameter instance_name
Show parameter Db_name
Show Parameter Service_Name
Select dbid from V$database;
2. Normal Shutdown database
Sqlplus/as SYSDBA
Sql>shutdown Immediate
3. Start database to mount mode
Because the B*tree index does not store null values, some Oracle queries do not use indexes when the indexed field is allowed to be empty.
Most of the time, it appears that we can use a full index scan, which may give Oracle the chance to discard
Oracle execution plans are not unfamiliar to us, and often we only look at the performance bottlenecks in our work and have no idea how the execution plan is generated. The following examples are used to simulate the evolution of data access and
or the test environment in the previous article:
sql> CREATE TABLE T1
2 (ID number, NAME VARCHAR2 (30));
Table created.
Sql> INSERT into T1
2 SELECT rownum, Tname
3 from TAB;
Created rows.
sql> CREATE TABLE T2
2 (ID number, NAME VARCHAR2 (30
Oracle allows up to 148 enabled when user roles are enabled.
In fact, this limit is strange, because 148 and 2 of the power difference is large, do not know what the reason for Oracle to determine this value:
Sql> CREATE USER U_role identified by
Oracle advanced replication, also known as symmetric replication. Unlike Oracle's other features, Oracle's advanced replication is not Plug and play, and users must have a deep understanding of how they work and the advantages and disadvantages of
SH file for full backup: exp_comp.sh
rq= ' date + '%m%d '
SU-ORACLE-C "Exp System/manager full=y inctype=complete file=/oracle/export/db_comp$rq.dmp"
SH file for cumulative backup: exp_cumu.sh
rq= ' date + '%m%d '
SU-ORACLE-C "Exp
The database is starting up.
If you detect a data file that is missing or corrupted the rollback segment tablespace, and the database is running, do not drop it. In many cases, the database is open rather than closed to solve the problem.
Two
The recovery of a missing database file depends to a large extent on the backup strategy used. Based on the flexibility of recovery, this paper discusses the backup and recovery strategy of Oracle8 database, and gives the project development example
Crystal Report version is 8.5
Stored procedures are:
create or replace package pkg_test4astype v_cursor is ref cursor;end pkg_test4;/create or replace procedure pro_test4(P_CURSOR in out pkg_test4.v_cursor)assqlstr varchar2(3000);beginsqlstr
In the large and Medium-sized database management system at home and abroad, there are more users of ORACLE as database management platform.
Oracle is not only a database management capability or security is justifiable, but it is in the display of
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