MySQL replication details

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.

Oracle Database archive Mode settings

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 =

MySQL Internal notes

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

ORA-12514: TNS: The Listener currently cannot identify the Service requested in the connection Descriptor

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: \

Oracle changes the data file location

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

A solution process for ORA-00600 [25012]

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

Hbase data migration between Hadoop Clusters

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

Recovery of corrupted system tablespace with hot standby

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

MySQL database initialization mysql_install_db

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

Oracle 11gR2 RAC installation reports [INS-20802] (PRVF-5436) Error

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 

Oracle 10 Gb RAC online logs are also stored on the shared Disk

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

Exceptions during Cacti installation and Solutions

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

Functions in Oracle

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

One server starts two MySQL instances

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

Use sp_monitor to view SQL Server statistics

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

One Oracle soft enables two Clone Databases

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

ORA-02030 Solution

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

An InnoDB Lock Case

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:

Oracle index and execution plan

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

MySQL usage ---- Based on Web Servers

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

Total Pages: 1013 1 .... 810 811 812 813 814 .... 1013 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.