The purpose of this article is to show friends how to compile MySQL code. Some people may think that compiling MySQL code on Windows is complicated. If you have any questions about the knowledge mentioned in this article, you can seek help through
This article provides a complex method to compress logs and database files.
1. Clear logs: dump transaction database name WITH NO_LOG.
2. truncate transaction logs: backup log database name WITH NO_LOG.
3. Compress database files (if not compressed,
This article uses instances to analyze the solutions for Website access failures caused by database deadlocks.
Problem: the website cannot be accessed. After the host is restarted, the website runs normally.
Solution: Database deadlock.
Cause of
About Oracle 10 Gb performance, the most talked about is the new automatic workload repository (AWR) features and proactive performance monitoring through automatic database Diagnostic Monitoring (ADDM. They are widely reported as an alternative to
1. Explain the differences between cold backup and hot backup and their respective advantagesAnswer: Hot Backup is applicable to databases in the archive mode. When the database is still in the working state, it is backed up. Cold backup refers to
How to start em and isqlplus of Oracle10g in Linux:
Note: $ ORACLE_HOME is the installation path of oracle.
1. Use EM (enterprise Management)
1.1 start EM
$ ORACLE_HOME/bin/emctl start dbconsole
If the following information appears, it indicates
Create index idx_p_merchant_detail_id on D_ORDER_DETAIL (merchant_detail_id) Online;
After the index is created for a long time, it is not reflected. Then, when the index is deleted, the following error is returned:
Error: ORA-08104: this index
Permission managementPermission management overviewIn Oracle, user permissions are divided into system permissions and object permissions.
System permission: indicates the permission to perform an operation at the database level, such as create
Today again encountered ORA-01033: Oracle initialization or shutdown in progress this oracle service initialization error, generally I will first listen to the file to see if the host name has let me change, the port number has changed. The result
Environment:
OS: AIX Version 6.1
Oracle: 10.2.0.5 rac (node rac2)
I. Problem Description
At, I received a text message, and the database crashed. I immediately connected to the database and found in the log:
From the log, the problem is obvious:
Trace file:Each service process and background process can write some special information into the corresponding operating system file during the running process. This operating system file is called a tracking file.Each service process and
Fault recovery for loss of inactive log groupsIf the database loses a non-active log group, because the inactive log group has completed the checkpoint,The database does not suffer data losses. In this case, you only need to re-create the log group
Oracle 10 Gb partition tables do not support automated management. Generally, you must manually create and delete partitions. Today, we have a script for automated table space management.
This script consists of three parts: sys_ConfigTable. SQL,
Like many netizens, today encountered a ora-01882 problem, checked matelink solved!
Environment:Oracle server version:SQL> select * from v $ version;
BANNER----------------------------------------------------------------Oracle Database 10g
Environment
MySQL 5.1 + command line tool
Problem
MySQL table field settings Default Value
Solution
-- SQL:
Create table test (I _a int NOT NULL DEFAULT 1,Ts_ B timestamp NOT NULL DEFAULT NOW (),C_c char (2) not null default '1');
-- The
After the RegionServer node is expanded, You need to migrate some of the original Region to the new RegionServer to enable Load Balancing for each RegionServer.
To improve the HBase write performance after one node is added, You need to evenly
When you use the dbca command to delete a database instance, for example:
We can see that the column "delete database" is gray and cannot be deleted!
Some people solve this problem:
Windows 7, 10g 10.2.0.4
Find dbca. bat in bin and right-click
Modify the default MySQL engine to innodb.
1. Stop the mysql Service
#/Etc/init. d/mysqld stop
2. Back up my. cnf
Cd/etc
Cp my. cnf my. cnf_bak
3. modify my. cnf
[Mysqld] Later
# Vi my. cnf
Default-storage-engine = InnoDB
4. Delete ib_logfile0 and
The V $ view contains information about the data structure maintained by the kernel in the memory, which can be accessed through a DBA account with the SYS permission. The following is a summary of the recovery-related views:
Articles: Oracle
The Database Installation Guide on different Oracle platforms provides some recommended system parameter settings for Oracle deployment. However, the recommended value is a general conclusion, it does not completely meet different needs. Using
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