The most important task for a database administrator is to ensure that the database does not lose data. The redo and revoke mechanisms ensure that the database will never have a commit error no matter what operations the DBA has performed. However,
Question: As an Oracle DBA, it is inevitable to perform some operations on the tablespace in the database. This is an operation that I often perform when managing the database. It is recorded here, they are all presented in the form of examples. One
Recently, to delete a record in the software system, you have to associate the record with multiple tables and there are still constraints between them. Therefore, when creating a table, add constraints as follows:
SQL foreign key constraints can
By default, access between different Oracle Server databases is remotely accessed through local operations *. *
1. Create a database linkExample:Create public database link orcl211 connect to username identified by password using '(DESCRIPTION
1. Main technologies used:Lucene 2.3.1IK_CAnalyzer 1.4 Chinese Word SegmentationHtmlParser 1.6 HTML file/Text parser disadvantage: cannot ignore Content
2. Other implementation methods:
Perform incremental index content for each category every day:
How to Use the sys as sysdba permission to connect to the database for Exp/Imp:
Windows:Exp 'sys/change_on_install @ instance as sysdba 'tables = scott. emp
Unix or Linux (you need to 'escape 'the single quote ):Exp/'sys/change_on_install @
In the Oracle RAC environment, each node has multiple IP addresses: Public, Private, and Vip. What is the difference between these three IP addresses? Which occasions are used separately? Let's take a look at the answers from foreigners.1. private
Oracle has two optimization methods when executing SQL statements: Rule-Based RBO and cost-based CBO. The Oracle parameter optimizer_mode determines the optimization method used during SQL coaching.
Rule Based Optimizer (RBO) Based on RulesCost
(1) version: 1. Operating System: RHEL5.52.mysql-proxy-0.8.1-linux-rhel5-x86-64bit.tar.gz(2) installation 1. Extract mysql-proxy-0.8.1-linux-rhel5-x86-64bit.tar.gz directly.(Note: the source code has not been downloaded for self-compilation. Cause:
Table:Select * from cat;Select * from tab;Select table_name from user_tables;View:Select text from user_views where view_name = upper ('& view_name ');Index:Select index_name, table_owner, table_name, tablespace_name, status from user_indexes order
1, go to Oracle official website download basic-10.2.0.5.0-linux-x64.zip, sqlplus-10.2.0.5.0-linux-x64.zip
2. Extract the two zip packages downloaded in step 1 to the same directory, for example,/fyfeng/instantclient_10_2.
3. environment variable
When using P/l SQL to create a table, if the keyword is used as the field name, such as uid, type, date, etc., an invalid identifier (invalid identifier) is prompted ). In some cases, you have to use keywords as field names, just like what to do
PL/SQL Developer: Version 8.0.3.1510Oracle: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0When we use PL/SQL Developer to connect to 11 GB, we find that PL/SQL Developer is slow in response.There are the following phenomena:
1. When
RAC-2 Configuration
[Oracle @ RAC-2. ssh] $ ssh-keygen-t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/oracle/. ssh/id_rsa ):
Enter passphrase (empty for no passphrase ):
Enter same passphrase again:
Your
1: Generally, most of the codes used to access the database using the Hibernate Session are the same, as shown in the following two methods,
// Query the Teacher operation
Ublic Teacher getTeacher (Long id) throws DataAccessException {
1. Prepare the 1.1.linux installation environment
Version
RHAS4: RedHat Enterprise Linux Advance Server 4.01. 2. Check the environment
Hard Disk Space
[Root @ localhost/] # df-h
(Target installation directory)> 2G + 1G (package source
1. Description of rownum
For the rownum problem of Oracle, many documents say that ">,> =, =, between..." in SQL statements are not supported... and "operator. Only the following operators can be used:
Not to say ">,> =, =, .. "and" will prompt SQL
In this lab, the spfile and pfile are recovered when the database is lost in both open and shutdown conditions.
Oracle @ aoracle dbs] $ rman target rman_user/rman_user;
Recovery Manager: Release 10.2.0.1.0-Production on Thu Dec 8 19:21:38
Oracle temporary tablespace is mainly used to query and store some buffer data. Temporary tablespace consumption is mainly caused by sorting the intermediate query results. The temporary tablespace can be released when the database is restarted. If
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