Oracle "CONNECT by" usesFunction Description:The syntax structure is as follows:[]by[] conditionDescription1. Start with: Tells the system which node to use as the root node to find and construct the result set, which is the highest node in the
Select t.recd_id from (select recd_id, ROWNUM RN from RT_TICKETS_BIS_RECD) t where T.rn = (select round (dbms_random. VALUE (1, COUNT (1))) from RT_TICKETS_BIS_RECD); 1) Select Round (dbms_random. VALUE (1, COUNT (1))) from RT_TICKETS_BIS_RECD
1. System tablesThe system parameters of the Oracle database are stored in the database and can be queried by the user Sysytem through Sqlplus. A few important tables or views are as follows:V$controlfile: Control the information of the
1. View the table history moment dataSELECT * from Tab_test as of TIMESTAMP to_timestamp (' 20140917 10:00:00 ', ' yyyymmdd hh24:mi:ss ');2. Use Flashback table to restore the tables to a certain time in the pastALTER TABLE tab_test enable row
Today in the local configuration of the Oracle client, once again need to link the service side of the LAN machine, the estimated need to configure the tnsnames.ora file, make a record, prevent the next use, once again search configuration method:
SELECT a.ID, B.iddFrom A, BWHERE a.ID (+) =b.iddEquivalent toSELECT a.ID, B.iddFrom A right OUTER JOIN B on (A.id=b.idd)Sql> select * from A; ID VAL---------- ---------- 1 A1 2 A2Sql> select * from B; IDD
Modify the database character set to: ZHS16GBKViewing the server-side character setSQL > select * from V$nls_parametersModify:$sqlplus/nologSql>conn/as sysdba~If the database server is now started, execute SHUTDOWN IMMEDIATE firstTo close the
Oracle 's data structures are divided into physical and logical structuresPhysical Structure: Data block of the operating system-> data file datafilesLogical Structure: Minimum database block-->extent-->segement--> Tablespace-->databasesWhere for a
#1, select the most efficient table name order The Oracle parser always processes the table from the back of the from right to left, so the from rightmost table will be treated as the driver table precedence, and when there are multiple table
Oracle Database Backup Recovery, inspection object settings and related recovery Overview
Database backup and recovery, inspection needs to pay attention to the object settings:
1. database Name and DBID; -- dbid is in v $ databaseSYS @ ORCL> select
Oracle session and connection Optimization
1. Modify the Oracle session and maximum number of connections
1. view the maximum number of connections
SQL> show parameter processes;
NAME TYPE VALUE--------------------------------------------------------
Oracle Database deletion and import methods
1. Start-run-cmd, and then input sqlplus/as sysdba to connect to the database;
2. delete a user: enter drop user eqm cascade in the dos window;
3. Delete tablespace: enter drop tablespace eqm including
Oracle Performance Analysis 7: Use of Indexes
This section describes how to use indexes. First, it describes how to avoid using indexes in queries, then how to determine whether the optimizer uses indexes, and how to forcibly use indexes, finally,
Difference between Oraclealterindexdisable and unusable
Alter index index_name disable, enable for function indexes.
SQL> create table test as select * from all_objects;SQL> create index ind_t_object_id on test (object_id) nologging;
SQL> exec
Oracle Basic Data Change Principle Analysis (redo and undo) -- oracle Core Technology reader I
In oracle, we have made some update operations. How does the bottom layer of oracle flow? This is what we will explain in this article.
I.
Introduction and instance demonstration of blocked in Oracle RAC environment, racblocked
The blocking in the RAC environment is different from that in a single instance, because we need to consider the session in different instances. That is to say,
Introduction to Oracle blocking blocked and instance demonstration, blockingblocked
Blocking is a common situation for DBAs. especially poor application design blocking can cause serious performance degradation until the database crashes. For DBA,
ORACLE 10g database architecture, oracle10g
The ORACLE 10g database ARCHITECTURE (ORACLE 10g (Release 2) ARCHITECTURE) provides a comprehensive, systematic, and advanced introduction to the ORACLE 10g database ARCHITECTURE. If you can fully
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