Environment Introduction:Operating system version: RHEL5.4 32-bitOracle version: 10.2.0.1 32-bitOracle_SID: orclThe operating system of the source server and target server is consistent with that of oracle.
Source server: 192.168.227.20Target Server:
For more information about Oracle execution plans, see Oracle Explain Plan.
1. view the SID of the current sessionSYS @ anqing1 (rac1)> select userenv ('sid ') from dual;USERENV ('sid ')--------------137SYS @ anqing1 (rac1)> select sid from v $
There are two tables: book and book_copy. You need to delete all the records in the book table that are equal to each other according to some fields in the book_copy table.
The stored procedure is as follows:
Create or replace procedure
1. What is bitmap index?
You only need to store the key value in the index segment, instead of rowid. Each bit in a bitmap index is equivalent to a row that may have this key.
2. Benefits of creating a bitmap Index
I. It can save storage index space.
To execute the exp or imp command, first:
1. Check whether exp.exe and imp.exe files exist in the bin directory of the Oracle installation directory. Otherwise, the command may fail to be executed.
2. Alternatively, you can directly enterIn the bin
MySQL replication Overview
MySQL supports unidirectional and asynchronous replication. One server acts as the master server during the replication process, and one or more other servers act as slave servers. MySQL replication tracks all database
The following command was run in the db2 command window today:
Db2stop
Then, when we enter db2start, an error is returned !!! "SQL1397N failed to log on to the DB2 service"
Why is the Instance suspended after it is started?
I checked the
In Oracle, if you want to view the current date and time, use select sysdate from dual;
So is there a system table like dual in oracle in db2? The answer is yes at the time, that is, sysibm. sysdummy. The schema of the front edge must be added;
The following are two implementation methods:
Method 1:
This method writes a txt file larger than 4 kb to a Clob object or reads it from the Clob field and creates a txt file to save the operation. These operations are achieved through multipart
Environment Description: This environment consists of two mysql Databases and heartbeat. One ip address is 192.168.10.197, the other is 192.168.10.198, and the other is 192.168.10.200.
Note: heartbeat itself cannot automatically switch between
Due to work requirements, we need to synchronize all the data in the Business Database to another processing server today. While working on the solution, I thought a lot of ways. Of course, the fastest way is to use physical hot backup.
However, I
It is a gradual process to collect my own understanding of Mongodb's advantages and disadvantages, or to reference or extract from other reliable online files, it also expands with my understanding of Mongodb.
(1) Mongodb limitations
1. Uneven
Looking at the fat Oracle client on my computer, I almost never used anything like the Enterprise Manage Console. Its existence is a waste of my computer space.
So I checked on the Internet to see if I could unmount the ORACLE client and use PL/SQL
Hibernate provides many methods for object operations. This article briefly introduces the use and comparison of these methods.
Before describing the methods, describe the three states of objects in hibernate: transient, persistent,
The host can obtainCPU, Memory, process count parameters are used as reports, but it is difficult for the database to report performance parameters for a long time.StatspackYesOraclePerformance analysis is a report, but this report can only take the
1. Location of Region
In Google's BigTable system,TabletThe storage address is located through the three-layer directory structure ,:
Note:TabletEquivalent to Region in HBase
Illustration:
(1) METADATATable
METADATATable is a pre-defined Table.
In addition to the built-in DBCA, Oracle can create databases. Another method is to manually create databases, which must be mastered by DBAs. The following describes how to manually create a database:To manually create a database, follow these
Oracle reads the SQL language used to view tablespaces.
SELECT UPPER(F. TABLESPACE_NAME)"Tablespace name",
D. TOT_GROOTTE_MB"Tablespace size (MB )",
D. TOT_GROOTTE_MB-F. TOTAL_BYTES"Used space (M )",
TO_CHAR
Background
Statistical queries are time-consuming queries. The usage scenario is that QPS is not large. Each Query Needs to access a large amount of data and process a large amount of data for a long time (usually more than seconds ).
Analysis
A
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