1. Understand PL/SQL package
The primary purpose of the package is to use a logical composition-related PL/SQL type, such as record type or collection type, PL/SQL cursor or cursor declaration, and PL/SQL subroutine, and can contain any
Description: The listener service is inexplicably terminated and must be started manually.There are a lot of information about the problem on the net, and the following points are summarized.1, the address uses the host name, modifies the host file
SCOPEThe SCOPE clause lets you specify when the change takes effect. Scope depends on whether your started up the database using a client-side parameter file (pfile) or server parameter file ( SPFile).Scope can specify when changes to the system
View Introduction: views are logical tables that are based on a table or multiple tables or views, and do not contain data in it, which allows you to query and modify the data in the table. The table that the view is based on is called the base
Sql>alter system set log_archive_dest= ' +lwk/archivelog ' scope=spfile sid= ' * ';Then close two instances, launch the instance, change the database to archive mode:Sql>shutdown immediate;Database closed.Database dismounted.ORACLE instance shut
Ora-01422:exact fetch returns more than requestedThe magical mistake that bothered me an afternoon.Problem Description: Obviously only a row of records, the result is a number of records reported errors. I can't think of the solution,There is no
Start and stop OracleStop and start Oracle needs to be switched to Oracle user only, no other user has this permissionRun Sqlplus but don't log in to Oracle:sqlplus/nologConnect to the Oracle server with the privileges of the system administrator:
The following error occurred in the database650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M00/89/C6/wKioL1gcObWztHE_AADGHTpt7Vs609.jpg "title=" 1112. JPG "alt=" wkiol1gcobwzthe_aadghtpt7vs609.jpg "/>Analysis:When the database switches logs,
Method One:
Modify Oratab (Oracle user is available)Vi/etc/oratabChange "N" in Orcl:/oracle/u01/product:n to "Y". Note: Only uppercase can be used, not lowercase.
Modify Dbstart (to enable monitoring automatically before starting an
The project involved in this article is done on a test machine, which is scaled according to the hardware capabilities of the real project.There is an aviation analysis system, its user volume is about 20, its nature between OLTP and Datawarehouse,
1, Data Preparation: Oracle installation files, Linux RAR decompression tools, XMANAGER5, Linux system image or DVD (without network conditions required)2, Environment preparation: Linux Set up Oracle usersgroupadd oinstall groupadd -G oinstall-g
1. First look at the information on the foreign website how to say
nomount , Haven database instance has been started (processes and memory structures had been allocated, but contro L file is not yet accessed). The DB instance has started (
1. Copy the table structure and its data:CREATE TABLE Table_name_new as SELECT * from Table_name_old2. Copy only the table structure:CREATE TABLE Table_name_new as SELECT * from Table_name_old where 1=2;Or:CREATE TABLE table_name_new like Table_name_
In the AWR report, it was found that a SQL is inefficient:Select Batch_status from T_batch_infowhere batch_status= ' 0 'and sys_id= ' STM06 ';View execution Plan Discovery the query takes advantage of the index, which contains the Batch_status field,
There are two types of Oracle accounts:
Required accounts, such as Sys/system/sysman, etc.
Store accounts for various applications;
User
Password
Description
ANONYMOUS
Oracledbconsoleorcl:oracle Database Console service, ORCL is the instance identity of Oracle, and the default instance is ORCL. You need to start this service when you run Enterprise Manager (Enterprise Management Manager OEM). (does not have to be
1. Basic grammarselect * from table [start with condition1] connect by [prior] id=parentid
1
2
1
2
Generally used to find the existence of a parent-child relationship data, that is, tree structure of data, and
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