1. Connection:
1. equijoinDikar set connectionSelect ename, A. deptno as a_deptno, B. deptno as B _deptno, B. dname as departmentFrom emp a, DEPT BEquijoinSelect ename, A. deptno as a_deptno, B. deptno as B _deptno, B. dname as departmentFrom emp a,
Oracle status before Network Configuration
1. Information in the Registry
ORACLE_BASE: ORACLE_HOME:
2. Oracle-related service information
Modified Configuration
3. Text path of Network Configuration
4. sqlnet. ora content
# This
This article will explain Oracle Data Compression in two aspects: Using index keys to compress tables that are read-only or primarily read tables.
Oracle supports the compression of index structures and database tables. The compression algorithms of
1. First, create a stored PROCEDURE in oracle. The stored PROCEDURE name library PROCEDURE prc_query
Create or replace procedure prc_query(P_tableName in varchar2, -- table nameP_strWhere in varchar2, -- Query ConditionP_orderColumn in varchar2, --
Create or replace procedure SEND_MAIL(As_sender in varchar2, -- email senderAs_recp in varchar2, -- email recipientAs_subject in varchar2, -- mail titleAs_msg_body in varchar2) -- mail contentISLs_mailhost varchar2 (30): = '***. ***'; -- address or
Oracle Data Provider for. NET has two namespaces: Oracle. DataAccess. Client and Oracle. DataAccess. Types. Oracle. DataAccess. Client is used to set database connections and other general functions. Oracle. DataAccess. Types is used to set Custom
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
---- Add and modify the check packageCreate or replace package TESTPACKAGE ISTYPE mycursor is ref cursor;Type mycursorid is ref cursor;Type
Memory Structure and dynamic memory management memory are important factors affecting database performance.
Oracle8i uses static memory management, that is, the SGA is configured in parameters in advance, and the database is internally allocated
Chapter 6: load data
1.loading data using direct_load insert
sql> insert /*+append */ into emp nologging
sql> select * from emp_old;
2.parallel direct-load insert
sql> alter session enable parallel dml;
Chapter 4: Index
1.creating function-based indexes
sql> create index summit.item_quantity on summit.item(quantity-quantity_shipped);
2.create a b-tree index
sql> create [unique] index index_name on
Q. 1: When will the rollback information applied in the event of a database crash
1. before the crash occurs
2. after the recovery is complete
3. immediately after re-opening the database before the recovery
4. roll back infrmation is never
Oracle connection Configuration Structure
There are three connection structures for Oracle databases:1) Combination of user and server structure: In this connection mode, the client and server are in the same machine. For each user, the library
Oracle Database startup and Shutdown
I. Start data$ Sqlplus "sys/pass as sysdba"SQL> startup
Ii. Start the listenerAfter the database is started, if the listening process is not started, the client cannot connect to the database. The method for
Q. 1: Physical Disk Resources in an Oracle Database are
1. Control Files2. Redo Log Files3. Data Files4. All of the above
4
Q. 2: What is a Schema1. A Physical Organization of Objects in the Database2. A Logical Organization of Objects in the
Oracle parameter file (1)
Chapter 3
In oracle databases, parameter files contain all database configuration information, which is very important. I think that if you want to manage oracle well, you must be well aware of the parameters
36.Use UNIONReplace OR (Applies to index columns)
In general, replacing OR in the WHERE clause with UNION will produce better results. using OR for index columns will scan the entire table. note that the preceding rules are only valid for multiple
Oracle Materialized View
The materialized view is like a real table for front-end database users. It has operations such as select that are similar to General tables, but it is actually a view, A view that is regularly refreshed by the system (the
Select a. tablespace_name, a. bytes bytes_used, B. largest, round (a. bytes-B. bytes)/a. bytes) * 100,2) percent_usedFrom (select tablespace_name, sum (bytes) bytes from dba_data_files group by tablespace_name),(Select tablespace_name, sum (bytes)
Oracle uses the following command line in windows:Net startOracleserviceorcl // start the ORACLE service [oracleserviceorcl is the actual service name]Net stopOracleserviceorcl // stop the ORACLE serviceNet startOracleoradb10g_home1tnslistener //
Recently, we found these strange table names in oracle. After searching online, we found that it was the oracle10g recycle bin function. Instead of deleting the table completely, we put the table into the recycle bin, at last, a bunch of strange
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