Toss for a long time not, the crux of the problem is not to find exactly which process caused the lock, v$locked_object this view and no permissions.The final solution is as follows:PL/SQL Developer inTools->sessions Open the Session window, in the
Stored procedures are used to perform specific operations when a stored procedure is established, you can specify either an input parameter (in) or an output parameter (out), you can pass the data to the execution part by using the input parameters
Overview of managing user passwords with Profiles: Profile is a collection of commands that are password-constrained, resource-constrained, and when a database is established, Oracle automatically establishes a form named default. When the setup
The Oralce table contains a field that stores the table name, queries all the table names in the table (that is, the table name result set), and executes the result set from the table name result set:DeclareV_ccountvarchar2( -); --defining a cursor
1. Direction of DBA Development: Business DBA, architect (course 13, may be the case, but also reference)2, develop good habits: less use of graphical interface, multi-use Sqlplus3. Remember common SQL statements:Size of the query tablespace (the
1, put the instantclient directly into the D packing catalogue2, Registry modification3, environment variable settings:Right-click Computer (My Computer) → advanced system settings → advanced → environment variablesIn the system environment variable
Only one record of the associated table is exported at the same time as the left connectionWith X as SELEC T1IDfrom DUAL UNIONselect2from DUAL UNIONselect3from DUAL), Y as(SELECT1ID, 1 NR, ' B 'CODE From DUALUNIONSELECT1, 2, ' A '
the recipient has only one of the following procedures:CREATE OR REPLACE PROCEDURE P_mail_sina (sender in VARCHAR2,--SenderRecipient in VARCHAR2,--Receiving personSubject in VARCHAR2,--Email subjectMessage in VARCHAR2) is--Email contentMailhost
DB21 Data sharing architecture, high availability2 DB2 objects are mainly in the following categories: Database,storage group, Tablspace, Indexspace, Table,index3 System Composition: Diroctory database, catalog database, work database, default
Packages are used to logically combine procedures and functions, which consist of package specifications and package bodies.1), we can use the Create Package command for creating packages such as:I, create a package sp_packageII. Declare that the
Determines whether a string is a valid time function.
A function used to determine whether a string is a valid time. If it is a valid time, 1 is returned. If it is not a valid time, 0 is returned.
CREATE OR REPLACE FUNCTION is_date(parameter VARCHAR2
Introduction to the nvl function of oracle, using lenvl Function
Nvl functions of Oracle
Nvl () function
Returns a non-null value from two expressions.
Syntax
NVL (eExpression1, eExpression2)Parameters
EExpression1, eExpression2
If the eExpression1
DBA_Tablespace table space concept and control (concept), dba_tablespace Control
2014-07-24 BaoXinjian
I. Summary
We know that the oarcle database actually stores data files );
Oarcle tablespaces (tablespaces) are actually a logical concept. They
The host of oraclelistener. ora cannot be set to localhost. Instead, it must be the machine name. Otherwise, it cannot be connected by an IP address.
# Listener. ora Network Configuration
Oracle Optimization-double-edged sword
Oracle optimization is a double-edged sword. Pay special attention to the use of this sword:OLTP or OLAP
Optimization 1: Index
During DML operations, indexes must be maintained. If a large number of DML
Installing Oracle12c in OracleLinux6
After N installation attempts to vomit blood, I hope to help you and keep a note:
Conclusion: preparations before installation are critical !!! Check and recheck!
Reference:
Relationship between OracleServiceXXX and Oracle instances in windows
In fact, oracle in windows is completely dependent on OracleServiceXXX in the window service when the oracle instance is started. This XXX is the oracle Instance name (note that
Oracle batch export AWR reports
Work requirement: in the project, all the AWR reports in the production database must be dumped and imported to the database for testing convenience. The AWR report in the test database needs to be exported one by
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