CurrentlyOracleRemote database replication and Disaster Tolerance mainly involve the following technologies or solutions:Solution:
1. Based onStorageDisaster recovery replication solution at the Layer
The replication mechanism of this technology
Oracle RBO/CBO Optimizer
Oracle optimizer has two optimization methods: Rule-Based Optimization (RBO) and cost-based optimization (cost-based optimization, (for short, CBO). In oracle8 and later versions, the CBO method is recommended for Oracle
This is a feature of the Oracle client, is for the ApplicationProgramProvides driver-level ha functions. You can directly configure it in tnsnames. ora, which is very convenient!
1. The client automatically selects a valid connection address
Transferred from: http://huangqiqing123.iteye.com/blog/1234817what is the start and suspension of external key constraints of oracle&db2data warehouse
Blog type:
DB2
Oracle
At work, you sometimes need to import data from a
By default, a PL/SQL external is installed.Program(EXTPROC) Entries in listener. in ora, It is a listener that Oracle calls the default configuration of external programs. Its name is EXTPROC or plsextproc, but it is generally not used and can be
Reply to the deleted data by mistake.
1. Execute alter table table_name enable row movement;
2. Execute flashback table table_name to timestamp to_timestamp ('2017-05-24 14:59:36 ', 'yyyy-mm-dd hh24: MI: ss ');
Query historical operation data.
1. Two Ways to delete table data
A. Delete * From my_table;
B. truncate table my_table;
2. Delete the entire tableDrop table my_table;
How can we recover tables accidentally dropped? In fact, Oracle also has a similar "recycle bin"
For
ORACLE:
Considering the implementation paging in MySQL, the Select * from table name limit starts to show the number of records and how many records can achieve our paging effect.
However, there is no limit keyword in Oracle, but the rownum
Use Oracle Database 10GThe flash back table feature in allows you to easily restore accidentally deleted tables.
The following is a situation that should not happen frequently: the user deleted a very important table.-Of course, it was
Oracle obtains the current date and Date Format
Get system date: sysdate ()Format Date: to_char (sysdate (), 'yy/MM/DD hh24: MI: SS)Or to_date (sysdate (), 'yy/MM/DD hh24: MI: SS)Format the number: to_number
Note: to_char converts a date or
The ORACLE tutorial is: naming rules for Oracle database management scripts. The data dictionary in Oracle is a very important part of the database and provides information about the relevant database. It is used by all Oracle users (from
Stored Procedures and stored functions refer to the stored procedures and stored functions that are stored in the database and called by all user programs..The stored procedure does not return values. Stored functions return valuesCreate a stored
In the where clause of Oracle SQL, input the character type parameter '19th-August 08 ', so that it can be directly compared with the date type or converted to the same date type comparison.If the entered character format is the same as
Learning oracle 10g r2 concepts in the afternoon
Leave a note here.
Oracle manages the storage space in the database data file. The unit is data block ). A data block is the smallest (logical) data unit in a database. The minimum physical storage
ROW_NUMBER () OVER (partition by COL1 order by COL2)Indicates grouping by COL1 and sorting by COL2 within the groupThis value indicates the sequential number after sorting in each group (the continuous and unique in the group)RANK () is similar.
What is a multiline string (connection string), for example:SQL> desc test;Name Type Nullable Default Comments------------------------------------------COUNTRY VARCHAR2 (20) YCITY VARCHAR2 (20) YSQL> select * from test;COUNTRY CITY-------------------
The ORACLE tutorial is: several methods to optimize the design of Oracle database tables.
PrefaceMost Oracle Database performance problems are caused by unreasonable Database design. Only a small number of problems are rooted in the unreasonable
The ORACLE tutorial is: Oracle Database Security Policy Analysis (1 ).
Database security has always been a nightmare for database administrators. The loss of database data and the intrusion of illegal database users make the database administrators
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