Cold backup is to copy the database-related files. It can only perform restoration operations and cannot perform restoration operations. Log on to the database, find the path for storing data files, control files, and log files, close the database,
After mysql is installed, login finds that there are only two databases:Mysql> show databases;+ -------------------- +| Database |+ -------------------- +| Information_schema || Test |+ -------------------- +,Mysql> use mysqlERROR 1044 (42000):
No matter when the process or user calls back to modify the data in the database, Oracle saves it (the data in the database) as undo data as the old value that has been modified before. This design provides many benefits for database users.
Allow
I wrote a MySQL backup script in Linux. This is the first version. Only one database can be backed up. Every night at, I run the script with a timer and it will be automatically backed up. In the future, multiple databases can be backed up. If the
In order to cope with accidents, backing up the database is essential. How to write the backup script?
Before writing the script, assume that the bin directory of mysql is/usr/local/mysql/bin/
PATH = $ PATH: $ HOME/bin
# Backup Directory
1. Delete the undo tablespace
Rm-f undotbs01.dbf
2. Error
SQL> create table t3 as select * from dba_objects where rownum Create table t3 as select * from dba_objects where rownum *ERROR at line 1:ORA-01116: error in opening database file 2ORA-0111
1. rm-f system01.dbf
2. Database disconnection Error
SQL> shutdown immediateThe ORA-01116: error in opening database file 1ORA-01110: data file 1: '/u01/app/Oracle/oradata/demo/system01.dbf'ORA-27041: unable to open fileLinux Error: 2: No such
1.
To allow PHP to support PostgreSQL, you need to re-compile PHP;
. /Configure -- prefix =/usr/local/php5 -- with-apxs2 =/usr/local/apache2/bin/apxs -- with-mysql =/usr/local/mysql -- with-config- file-path =/usr/local/php5 -- with-zlib --
In MYSQL, you can use the create function command to call different. so shared library files.
Before compilation, add the following options: -- with-mysqld-ldflags =-rdynamic.
A minor problem occurred during re-compilation, possibly because the
By default, hr users and tables are not created. You can create a table by using dbca or script.
Now I create hr users and tables in script Mode
1. Obtain the hr user script from the Internet
2. Add the script to the $
Specific installation and configuration:1)Preparations:Six machines with IP addresses192.168.0. (231-236)MGM node: 192.168.0.231 (232) SQL node: 192.168.0.233-234NDBD node: 192.168.0.235-236The system is RedHat AS 5.0The basic components are
Go to http://dev.mysql.com/downloads/mysql/5.5.html#downloads:
Download the following three files respectively (because my machine is 32-bit, the following is a 32-bit package. If your machine is 64-bit, please download the 64-bit version
When installing Oralce on Linux, you must first check whether one pair of rpm is installed. If you check them one by one each time, it will be very troublesome, so a script is simplified.
This script takes only three steps:
1) Save the following
Today, a customer's database accidentally deleted the data files in the entire directory and deleted them at the operating system level. Fortunately, the database did not crash and was still in the open state, the customer found the problem and
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0
Hardware 8c65g
About 74 I/O operations for database queries without lob
The database has lob but does not query lob I/O operations about 146.
The database has lob and query lob io operations
Read/write separation while backing up
Topology:
Database Synchronization replication software is an important part of disaster recovery for key systems. When the production system encounters exceptions or faults, the database of the backup
ERROR-ORA-12541: TNS: No listener
1. If it is on this machine, it means that the Oracle client and the oracle server are on one machine. This problem occurs because the service and listener are not started.
Computer --- management ---- Service
Five Core classes or interfaces of Hibernate:(1) Configuration: Used to parse the hibernate. cfg. xml file and XXXXX. hbm. xml file, and create the SessionFactory object. The Configuration object is used to configure and start Hibernate. The
Based on the "Mongodb cluster configuration (sharding with replica set)" cluster (SEE), try to dynamically Add a shard replica set when the Mongodb cluster is running.
(1) Start the replica set Node
Run the following three batch files to start three
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