Introduction:
Two installation methods: Binary File Installation andCompile and install(This article uses the binary installation method. If you are interested, try to compile and install your own shoes)
Environment
Ubuntu-11-10 32BitPreparation
0.
When you first access RAC, You need to specify the location when creating a spfile, for example:
Create spfile = 'xxxxx' from pfile;
$ Oracle_HOME/dbs/init $ ORACLE_SID.ora
The content is only shared with the spfile information in the disk.
For
1. Ensure that the source database is in the archive mode and the logging mode is mandatory.Shutdown immediate;Startup mount;Alter database archivelog;Alter database force logging;Alter database open;2. Make sure that you have created a password
The system is RHEL5.3, 64-bit, XFS partition, 16 GB physical memory, BUFFER_POOL is set to 11 GB, DELL 2950
MYSQL5.5.20 binary version
The system collapsed during initialization.
Then,
The system collapsed during dump.
The system
What is a distributed database?The data is physically stored on multiple nodes of the network, logically as a whole.Independence of distributed databases:The independence of distributed data means that users do not have to worry about how data is
Start Redis ServiceSrc/redis-server or src/redis-server redis. conf
Src/redis-server redis. conf 1> log. log 2> errlog. log
1 is the standard output, 2 is the error outputUse Redis as a Linux service for random startup
Vi/etc/rc. local, add the Code:
When do we need to use these two time periods? Let's briefly describe:
If the monthly subscription product you purchased on April 9 is issued at the end of the month, you will be charged for 17 days. At this time, you should determine whether the
Create Table, prompting ORA-00959: tablespace 'mc _ data' does not exist.
First, confirm the current user's tablespace.
Select username, default_tablespace, temporary_tablespace from dba_users where username = 'mcmidyl ';
The default tablespace
In daily maintenance work, users of a Database need to be migrated to another database. In this process, the same users and related permissions must be created in the target database, if the relevant user and permission information can be easily
To query the total number of fields in a table in Oracle, use an SQL statement or
Select count (column_name) from user_tab_columns whereTable_name='T_ B _AUDITOR'
The number of fields in the specified table can be found.
The following is a rough
In Oracle's Data Guard environment, the logical standby database application process stops and the log shows an error as ORA-01403 not data found.
The specific information is as follows:
Mon May 21 10:39:31 2012
LOGSTDBY status: ORA-01403: no data
Basic table operations
The table has a name.
A table consists of rows and columns.
A table is the most basic object for storing data.
We call a common tableHeap table(Heap table), which means storing data in disorder. Heap table is an important part
Version: hibernate-3.2.7
One method: Use uuid to generate a unique primary key. In this way, if the Object id is null, a UUID is automatically generated during storage. If the id is not null, this record is located in the database and then updated.
This is a real customer demand implementation solution. The customer needs to monitor the time periods, users, applications, and access records of some key tables.
The database system is Oracle9.2.0.1. Its audit function can meet this
CouchDB is very easy to implement distributed data replication.
We only need to send the POST request to the specified database_ ReplicateThe request Body is a JSON string.
Wiki.apache.org/couchdb/Replication
To continue copying, you only need to
This experiment uses the duplicate command to create a copy database in the local environment. The target database is hongye, And the copied database is catdb.
Environment alias settings:Alias SQL = 'maid sqlplus/nolog'Alias rman = 'rlwrap
It is convenient to connect to the MySql server using Jdbc.
First, import jdbc to the project or put jdbc into ClassPath. Here, I use Eclipse to directly import the jdbc jar file.
Then, the DriverManager is developed, And the froName of the Class is
You can use the scott password triger, an existing Oracle account, to log in and use the existing table to perform the test.
Create or replace procedure lpmtest2
As
Para1 varchar2 (10);
Cursor youbiao is select ename from test where sal>1300;
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