MySQL replication is actually to copy data from one node (master) to another node (slaves). Of course, depending on the application architecture, the method is also different, the replication between MySQL servers uses the binary log mechanism.
Set on the click node or Local Machine
1 SQL> archive log list; # Check whether archive mode is used
2 SQL> alter system set log_archive_start = true scope = spfile; # enable automatic archiving
SQL> alter system set log_archive_dest_1 = 'location =
Interaction between main modules (introduces the main responsibilities of various modules of mysql)
When Connection Manager receives a Connection from the client, it initializes the network Connection process and establishes the Connection handler
1. Check whether the Oracle database master service and listener service are enabled2. Check whether the listener. ora file is correctly configured.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = G: \
Method 1: offline tablespace
1. offline tablespace: alter tablespace tablespace_name offline;2. copy the data file to the new directory;3. rename: Modify the tablespace and control file;4. online tablespace;
1. offline tablespace zerone
SQL> select
OS: aix5DB: 9.2.0.8The customer needs to restore the production database to the development and testing environment through RMAN, restore data files, control files and related archive files through RMAN, and then start to recover the database, the
During daily use, hbase data in a cluster may need to be migrated to or copied to another cluster. At this time, many problems may occur.
The following are some of my practices and handling methods in the process.
Premise: the two hbase versions
Hot BackupSystemTablespace
SQL> alter tablespace system beginbackup;
Tablespace altered.
SQL>! Cp/u01/tiger/oradata/orcl2/system01.dbf/bk
SQL> alter tablespace system end backup;
Tablespace altered
Then make some transactions
Destroy
1. Description of mysql_install_dbWhen the MySQL System Database (mysql System Database) fails or a new mysql instance needs to be added, You need to initialize the mysql
When Oracle 11gR2 11.2.0.2 RAC is installed on Linux today, the following error is reported.
By querying the log file content, the following prompt is displayed:
INFO: 11rac2,11rac1
ASMCMD> pwd+ Data/myrac/onlinelog
ASMCMD> ls-ls
Type Redund Striped Time Sys Block_Size Blocks Bytes Space NameOnlinelog unprot fine sep 25 18:00:00 Y 512 102401 52429312 group_1.257.772910379Onlinelog unprot fine sep 25 18:00:00 Y 512 102401 5242931
Problems that may occur after Cacti is installed are related to the test:
1. snmp Test
Snmpwalk-c public-v 2c localhost = "The result is normal.
2. Some mysql default installation may cause poller. php connection problems. The solution is to
Basic Application of a function
1. Create a function (in the SQL window)
Create or replace function get_hello_msgReturn varchar2BeginReturn 'Hello world ';End get_hello_msg;
The function must have a return value. The return value of this function is
On one server, you can use mysqld_multi to configure multiple Mysql instances to run.
Assume that a MYSQL instance is running on the server. The data directory is/var/lib/mysql and the port is 3306. The SOCKET connection file used is located
SQL Server provides the sp_monitor stored procedure for you to view SQL Server performance statistics, including CPU, Network, and IO. With this information, you can have a general understanding of your database performance.
The following example
As shown below, 1. Restore the database test to the data volume first.2. Then shudown test. copy all datafiles, tempfile, and redofile to the yldata volume.3. Use pfile, open test Library, copy pfile --> ylpfile to change the ylpfile of the
Some Oracle users need to be granted the query permission for the dynamic performance view. The problems encountered today are as follows:
SQL> conn/as sysdbaConnected.SQL> grant select on v $ session to hr;Grant select on v $ session to hr*ERROR
I have been optimizing the SQL statements of various products recently, and I am also helping a colleague solve the deadlock problem. What I learned is that I have a deeper understanding of InnoDB locking. Let's take a look at this case today:
I have created a test data table and want to test the difference between creating an index and not creating an index. The data volume of the created table is 108631962 rows. Insert 9999999 rows at a time, about half an hour at a time. It takes 37
Creating a web server is generally the first letter of LAMP (linux: Operating System, Apache: http server software, MySQL: database software, and PHP :( sometimes Perl or Python) combined. Component Analysis: Linux Linux is a free open-source
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