Two features of mongoDB: master-slave replication and replica set

I. Master-slave Replication 1. Master-slave replication is a simple cluster technology for Database Synchronization and backup. 1.1 In the database cluster, you must clearly know who is the master server. The master server has only one. 1.2 The

MySQL SQL optimization: SQL crawler page turning Optimization

In the past few days, I will share and summarize some SQL experience optimized in the past few days. The first thing to share is to optimize the limit page for MyISAM. Background: A business system provided by the company to crawlers to capture data.

Introduction to MongoDB replica Sets

In recent years, with the increasing popularity of big data, the importance of non-relational databases has been recognized by more and more people, and more developers have gradually joined the NoSQL camp. We know that NoSQL means Not Only SQL. In

(09) read-only tablespaces that are often forgotten

In database management, some historical data or basically unchanged data is put into the read-only tablespace. Because such tablespaces can only be read but not DML. It can effectively prevent accidental modification or deletion, so it is suitable

Expdp and impdp practices

We often use the exp/imp command for import and export, which is indeed convenient, but also limited. For example, the tablespace names to be imported and exported must be the same, and the schema names must be the same. Recently I encountered such

Redis command details-string

1. set key Add version 1.0.0. Time Complexity: O (1 ). Maps the key and value. If the key already exists, it will be overwritten, regardless of its type.Return Value Status Code: Always OK, because SET will not fail. 2. get key Add version 1.0.

SQL server has multiple instances installed.

SQL server 2005 has been installed on one server, and everything is normal. Recently, due to the use of table type parameters, sqlserver 2008 needs to be installed, but cannot be connected after installation. The local machine can be connected

Entertainment TPC Testing

Testing TPC is a serious task. It is just for entertainment. Don't confuse it with the TPC Committee's high-end reports.1. First find a less standard TPC-C Testing ToolIt seems that this thing of Percona MySQL is used more people:

Linux commands for deleting files and folders

Zookeeper Linux commands for deleting files and folders When using this rm-rf to delete files, you must be extremely careful that there is no recycle bin in linux.You can simply use rm, but add the parameter-f, that is, the rm-f file path.-F means

Global and local partition Indexes

The partition index is a global partition index and a local partition index, and a global non-partition index (that is, a common index) is added. A total of three types of indexes are added. The organizational structure and application scenarios of

Mysql creates a stored procedure and uses Cursor to perform cyclic updates.

Use cursor) 1. Declare a cursor Cursor for select_statementThis statement declares a cursor. You can also define multiple cursors in a subroutine, but each cursor in a block must have a unique name. A single operation is performed after the cursor

Verification of building a CR block operation for SMON every three seconds from IMU copying and modifying the previous value to the BUFFER CACHE

Let's explain with Lao Guo:Step 1: store the changed data to PGA Step 2: copy the old data in the buffer cache to the private IMU buffer in the sharing pool. Step 3: store the modified data in PGA to private redo Step 4: modify data in the buffre

ORACLE uses stored outline to solidify the execution plan-private and public

The storage outline can be used to fix the SQL Execution Plan. The storage outline consists of a series of optimizer hints related to SQL statements. When the storage outline is available, oracle automatically generates an execution plan for the

Fix Oracle ASM installation in Linux

When installing Oracle RAC in Linux, It is very troublesome to get asm. To run with the kernel, Oracle Linux is better. It is available on the CD. Unlike other tasks that need to go to the Oracle official website to download asmlib. In addition,

Dbcc shrinkdatabasems SQL database log Compression Method

Ms SQL database log Compression MethodMs SQL performance is very good, but the database has been used for a period of time, the database has become very large, the actual amount of data is not large. It is generally caused by database logs! The

Sybase replication and hot Data Switching

How the replication server works The operation of the SYBASE replication server product is as follows: Data Replication in StandBy mode Generally, the data on the replication node changes with the master node. Can I switch to the replication

Application crash caused by MySQL optimization script (analyze)

When I first walked into the door of the company in the morning and walked to my desk, my development colleagues worried and said, "You can come! Me: What happened? Developer: XX database is dead! Me: Very surprised! This database has been running

Change DG to the maximum protection mode, reporting ORA-03113: end-of-file on communication channe

When adjusting Data Guard to maximum protection in the max PROTECTION mode), you encountered the following problem: end-of-file on communication channel. The execution process is as follows:   SQL> alter database set standby database to maximize

[MongoDB learning logs] Java CRUD operations on MongoDB

Speaking of Java operations on databases, we will naturally think of Sun's well-known brand JDBC. For NoSQL databases such as MongoDB, there are currently no standards such as JDBC. This article analyzes the current situation and looks forward to

O & M database query 2 (Simple entry, from shallow to deep) easy to understand

Next, let's talk about an article. Easy to understand Use LIMIT to LIMIT the number of query results Number of lines at the LIMIT position offset Displays the first four rows of Table query results. Mysql> SELECT * FROM fruits LIMIT 4; + ------ + -

Total Pages: 1013 1 .... 527 528 529 530 531 .... 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.