Decompress:
Decompress the compressed package and move the bin folder in the extracted folder to/usr/local/mongodb.
Create the directory mongodb/data/db and mongo/logs under home/tiantao /.
Create a file mongodb. log in logs
Use the root user to
Take a look at BIRT. I think of the previous company's use of Oracle BAM. At that time, I started to work on BAM by myself. from scratch, after learning something, I found that Oracle BAM was about to be used for application crash, almost tortured
Kfed and kfod in CRS_HOME/bin are very useful tools for checking ASM disk.
-Bash-2.05b $ kfed-helpAs/mlib ASM Library [asmlib = 'lib']Aun/um AU number to examine or update [AUNUM = number]Aus/z Allocation Unit size in bytes [AUSZ = number]Blkn/um
Environment:The MySQL database version on the master and slave servers is 5.1.34.Host IP: 192.168.0.1Slave IP Address: 192.168.0.2
1. MySQL master server configuration1. Edit the configuration file/etc/my. cnf# Make sure it is as downstreamServer-id
First, what will happen if Oracle is not uninstalled and then installed in Linux? In a production environment installation, an error occurs during Oracle installation, which leads to oracle Installation failure, ignore the previous installation and
Because the business needs to add a sequence every month, it is expected to use the job to create a regular one year each time. Some problems encountered when writing this job are recorded here.
Step 1: Write the stored procedure for creating a
Flashback is a technology applied from Oracle10g. It can be used to view the data of a database at a time point in the past, restore the database to a State at a time point in time, and restore tables that have been accidentally deleted. Use it to
1. Use telnet to log on to 10.149.187.18. The username is root and the password is root & admin.
2. Enter su-Oracle.
3. Enter Sqlplus and the user name system and password oracle.
4. Use the following statement to delete the original tablespace:Drop
Convert data in table t_rows to Column DisplayCreate table 't_ rows '('Dt _ str' varchar (20) not null,'Name' varchar (20) not null,'Age' int (11) NOT NULL) ENGINE = InnoDB default charset = utf8;
The result of the t_rows row isMysql> SELECT 'dt _
-- In this case, you need to add several constraints to the table. The syntax for adding constraints is as follows:-- Alter table name add constraint name constraint type (constraint field)-- Delete constraints:-- Alter table book drop constraint
In MySQL 5.1.x, the process of creating and deleting clustered indexes is as follows:
1. Create an empty table with the same structure as the original table, and then create a clustered index;
2. copy the data from the original table to the new
Some people ask whether the locks of QueryCache (QC) in MySQL are "global locks" or "Table locks ". Here is a brief description.
1. Basic QC concepts
This is a memory structure implemented in the MySQL layer (non-engine layer). The basic rule is to
Median refers to the data that is arranged in order of size to form a series that is located in the middle of the series. The median value is represented by Me.
According to the definition of median, half of the data studied is smaller than the
Oracle 11g changes the database to archivelog mode. There are three ways to set automatic archiving in ORACLE 10G:
1. When you use DBCA to install a database, configure it to the automatic archiving mode. You can enable automatic archiving after
1. Set system parameters;The following Kernel Parameter settings are required for Oracle Database 10 GB.Generally, you can set the maximum shared memory to half the physical memory. If the physical memory is 2 GB, you can set the maximum shared
The installation of MySQL 5.5.27 is somewhat different from that of MySQL in the past, as follows: 1. Download cmakeTar./ConfigureMake & make install 2. groupadd mysqlUseradd-g mysqlMkdir-pv/usr/local/mysql/data 3. tar
Four Common mysql backup tools have their own disadvantages:
0 tarDisadvantage: Hot Backup is not supported. You need to disable the mysqld server before backing up. Mysqld must also be disabled during restoration.1 mysqldumpDisadvantages: MySQL
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