This problem is often encountered during the use of Oracle, so I also summarized some solutions :)
1) Find the deadlock process:
Sqlplus "/As sysdba"
Select S. username, L. object_id, L. session_id, S. serial #, L. oracle_username, L. OS
Symptoms: It can be started, but it cannot be started after I change the domain name and machine Name:
Solution:1. Delete % ORACLE_HOME %/Network/agent/*. Q2. Restart the service.C:/agentctl start
The above content from: http://blog.csdn.net/tesge/
Specify the index statement when Oracle queries or deletes the query.
You can specify the index statement when querying.
Select/* + index (tb_alias ix_g_cost3 )*/Tb_alias .*From g_cost tb_aliasWhere item_two = 0And flight_date> = to_date ('201409
The instr syntax is as follows:Instr (string1, string2 [, start_position [, nth_appearance])
Function Description:This function returns the position of string2 in string1.
Start_positionThe parameter indicates the number of characters starting
The dbms_metadata.get_ddl package obtains the DDL script of the database object. As follows (executed in sqlplus ):1. Get the DDL statement of a table:Set serveroutput onSet linesize 1000Set feedback offSet long 999999 ------ incomplete displaySet
(Environment: Oracle 9i. All statements are executed under sqlplus)
1. query invalid objects
Queries the total number of invalid objects
Select count (*) from dba_objects where status = 'invalid ';Number of invalid objects in a category
I. multiple choice questions
1. When you execute the following query statement:
Select empno, ename
From EMP
Where empno = 7782 or empno = 7876;
In the where statement, which of the following operators can replace or?
A. In
B. ...... And
C. Like
Noarchivelog mode:U confirm log working mode: First method: Query v $ databasesql> select log_mode from V $ database; LOG_MODE------------ARCHIVELOG indicates that the current database is running under the archive log, that is, the database works in
This ordinary Thursday, like the past, goes to the company, opens a computer, and receives emails. In a few minutes, I received a text message with a mobile phone alarm. I checked it and put it there. I was able to receive hundreds of alarm
To query the list of users that are CRS administrators:
[Grid @ Rac1 ~] $ Crsctl query CRS AdministratorCRS administrator list :*
To enable role-separated management and grant privileges to non-permanent CRSAdministrators, you must add specific
I. Concepts of Data Pump:Oracle Data Pump technology can quickly migrate data and metadata from one database to another.Oracle Data Pump consists of three unique parts:
1. command line Client: expdp and impdp2. DBMS_DATAPUMP PL/SQL package (also
Description of the concept of automatic workload Repository
Automatic workload repository (AWR) collects, processes, and maintains Performance Statistics for problem diagnosis. The data is stored in both the data block and the memory. The data
Oracle vs SQL server script syntax
Luo Weifeng 2010-7-9
The original Article is published in the QQ space.
In other words, du boss (which cannot be called now) will use Oracle and SQL Server to write scripts for ** respectively. This is terrible
Refresh Oracle Materialized View
The materialized view is like a real table for front-end database users. It has the same select operations as general tables, but it is actually a view, A view that is regularly refreshed by the system (the specific
Truncate and delete have the following differences:1. truncate is very fast on various tables, whether large or small. If the rollback command Delete is used, the truncate command is not used.2. truncate is a DDL language. Like all other DDL
[1] CRS (cluster ready services) is a new feature of 10grac. It is different from database and can be downloaded free of charge on OTN.[2] before installing 10g RAC, you must first install 10g CRS[3] CRS can run on other cluster software, such as
Oracle is a multi-process DBMS. Every connected instance triggers a process, which consumes resources of the database server. SQL Server is a multi-threaded DBMS, and multiple threads share a process space, therefore, the system resources consumed
I seldom use any, some, and all in my daily work. Today I suddenly see this usage, which is very good and should be used in my work;
Use some, any, and all to process the multiple rows returned by the subquery.
Next we will briefly introduce the
1. What is a bare device?A bare device, also called a raw partition, is a special character device that is not formatted and not read by UNIX through a file system. It is read and written by the application. It is not buffered by the file system.
2.
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