Workaround:
1. View database lock, diagnose the source and type of lock :
Select Object_id,session_id,locked_mode from V$locked_object;
or use the following command:
Select B.owner,b.object_name,l.session_id,l.locked_mode
From V$locked_object
How to create a new self-column in Oracle, in general, you need to build a sequence and pay the sequence to a column to rebuild the trigger.
First, open PD15, create a new PDM document, and create a new one, as shown in the figure:
The second
1, with the DBA role of the user login, to unlock, set the specific time format in order to view the specific time
Sql> alter session set nls_date_format= ' Yyyy-mm-dd hh24:mi:ss ';
Session altered.
2, to see the specific time locked
Sql> Select
Today, a friend asked me if I could query the physical files that were actually stored in the table or index.
Tables, indexes all have corresponding segment. Segment is the concept of physical storage, and tables and indexes are logical concepts.
A
Restore Segment Purpose:Transaction fallback--when a transaction modifies a row in a table, the old image of the modified column (the data to be restored) is stored in the restore segment. If the transaction is rolled back, the Oracle server
Today, when I helped my classmate install Oracle, I found an error (SID already exists), and here's the solution:
1, Start-> Settings-> Control Panel-> Management Tools-> ServicesStop all Oracle Services.
2, Start->
Modify the Oracle SGA to improve Oracle performance
Under normal circumstances, the query is very slow.
1, check the SGA size, as a DBA to connect to the Oracle database, input show SGA.
2, if the SGA is too small, please modify its size
To
When querying the data,
SQL Server is not case-sensitive by default. If you want to differentiate, you need additional settings.
Oracle is case sensitive by default. If you don't differentiate, you need additional settings.
The following are
Indexes have a great effect on the performance of database access, and designing a reasonable index is very important for system performance adjustment. Using indexes is the most difficult point in the database development process. There are several
1, check your server Oracle monitor is started:
lsnrctl status If you do not
create a listener or do not start, the remote is inaccessible.
2, check your client can connect to the server 1521 ports:
telnet Server IP 1521
because it is
Instructions for use:1, Long data type is stored in variable-length strings, the maximum length limit is 2GB.
2, for more than a certain length of text, the basic only long type to store, the data dictionary many objects are defined in a long to
DBA View
Serial number
1
Dba_data_files
Information about the database file
2
Dba_db_links
All database links in the database
3
Dba_extents
Include all partitions in
The database server character Set select * from Nls_database_parameters, which originates from props$, is the character set representing the database.The client character set environment select * from Nls_instance_parameters, which originates from V$
The following method requires oracle9i and more versions to support it.
Before Oracle9i, Chinese is sorted according to binary encoding.
In oracle9i, according to pinyin, radical, stroke sorting function. Set Nls_sort value
Schinese_radical_m sorted
Can be rolled back after execute execution
Flash back to restore original data after commit commitIn fact, Oracle submitted data is two-step operation, the first step execute execution, the second step commit. The corresponding Pl\sql is also to
This paper describes the method of Oracle cross-database query through the creation database link
1. Configure the local database server's Tnsnames.ora file
$vi $ORACLE _home/network/admin/tnsnames.ora
Add the following line, where Dblink is the
In the background of a news web site monitoring process, often the database began to use the swap partition, and in turn, the entire application system response is very slow, can not provide services. The server's memory is set to 4G,PGA set to 1G
A. Modifying an Oracle instance under Windows platform does not start with the service:
1, modify the registry key value to achieve the following:Hkey_local_machine\software\oracle\key_oradb10g_home1
2, found on the right to find the
Trigger TRIGGER
Always poison not invade I unexpectedly in this joint eye on the cold, the head is also dizzy, a confused don't know what to think, thief uncomfortable, cough cough cough.Today, another basic object in the Oralce database-triggers,
Stored ProceduresA set of SQL statements that are used to complete a specific database function that is compiled and stored in the database system. At the time of use, the user invokes and executes a stored procedure name that has already been
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