Recently, temporary tables in Oracle need to be used for work reasons. It is found that there are still many differences between Oracle temporary tables and SQL-Server temporary tables. In order to thoroughly understand the performance of the
If the execution efficiency of a system is relatively low, a better method is to track user sessions and use the tkprof tool to format the output using the sorting function to find out problematic SQL statements.
For example, first, use the top
I. Shared pool tunning
The Optimization of the Shared pool should be given priority, because a cache miss occurs in the shared pool, which is more costly than the data buffer, because the dictionary data is generally longer than the data stored
-- I have tried the following methods 1 and 3. It is best to delete them in sqlplus. The restoration method is:002-- Write the delete table as a script:003--************************004-- ** Method 1005--************************006-- Enter the
When Oracle 11G exports data using EXPORT, the empty table cannot EXPORT the new feature in 11G R2. When the table does not have data, no segment is allocated to save space.Solution: insert a row and then roll back to generate a segment. This method
The ORA-01940 cannot delete the solution for the currently connected user 1) view the user's connection status select username, sid, serial # from v $ session (2) Find the sid of the user to delete, and serial, and delete ----------------------------
Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 Connected as scott SQL code SQL> select * from dept; deptno dname loc ------ ------------ ------------- 10 accounting new york 20 research dallas 30 sales chicago 40 operations
Problem description: Some time ago, when the project was deployed on the server of the customer's data center, we found that the tables of our test database were all placed under the system or users tablespace. The corresponding table is not placed
Oracle 11g modifies the rac scan ip address in 11gR2 and introduces the SCAN (Single Client Access Name) feature. The advantage of this feature is that between the database and the Client, A virtual service layer is added, that is, the scan ip
Description of the Decode () function in oracle: DECODE (condition, value 1, translation value 1, value 2, translation value 2 ,... value n, translation value n, default value) the meaning of this function is as follows: IF condition = value 1 then
ORA-00904: "OTHER_TAG": Invalid identifier problem SQL> set autotrace on SQL> SELECT SYSDATE FROM DUAL; www.2cto.com SYSDATE -------------- 26-9 month-12 execution plan failed ERROR: an uncaught error in function display has happened; please contact
Overview of Oracle Authentication Methods authentication is to identify users who need to use data, resources or applications. After passing the authentication, it can provide a reliable connection relationship for the database operations following
Oracle data export txt and import txt ORACLE data export TXT and import from TXT: Export to TXT file: 1. Open the CMD window with PL/SQL DEV. 2. spool d:/output.txt; 3. set heading off; -- remove header 4, select * from usergroup; 5. Import spool
We all know the role of the decode function in Oracle and Cognos Framework Manager. Now, we will introduce how to use the Decode function in the WHERE Condition Statement. Www.2cto.com is easy to understand .. SQL code with tmp as (select 1 val,
Oracle Database PL/SQL trigger 7) trigger www.2cto.com 1. two basic concepts: complete the constraints of complex business rules that are difficult to complete due to the integrity constraints of the database; monitor various operations of the
Summary of Oracle and Linux Double quotation marks and single quotation marks in general, we usually use single quotation marks, but when the character set is inconsistent, double quotation marks and single quotation marks are quite different, when
Changing the archive mode in the RAC environment the archive mode switching is slightly different from that in a single instance, mainly because of the differences in shared storage. In this case, we can switch the RAC database to a non-cluster
Flash back data archiving experiment-new features provided by oracle total recall ORACLE 11G. With this feature, ORACLE archives UNDO data to provide comprehensive historical data query. Similar to archiving logs, the new background process FBDA
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