MongoDB configuration script

The mongo official website has provided a detailed introduction to mongoDB installation and configuration. Here we only list some scripts for mongoDB configuration, for your reference only. -- Enter the bin directoryMongod-dbpath "d: \ mongodb" --

Configure Oracle 10g bidirectional stream Replication

Building an Oracle two-way stream replication is a very complicated process. The purpose of writing this document is to list what needs to be done in an organized manner as much as possible to help DBAs build a stream replication environment more

Oracle REF read/write Method

1. Create a STRUCT type. Create or replace type STRUCT_TEST as object (NAME VARCHAR2 (50), TITLE VARCHAR2 (30), num number (2 )); 2. Create a STRUCT table and insert STRUCT data. Create table REF_TABLE OF STRUCT_TEST; Insert into REF_TABLE

Oracle 10g r2 rac + ASM changed to archive status

Oracle 10g r2 rac database modification archive to ASM1. Create related space directories on asmExport ORACLE_SID = + ASM1AsmcmdMkdir arch1 arch2ASMCMD> pwd+ DATA/RACDB/archiveASMCMD> lsArch1/Arch2/ASMCMD>2. modify a node in the mount status[Oracle @

Common MongoDB operation commands

Super User problems: Use admin # Adding or modifying user passwords Db. addUser ('admin', 'pwd ') # Viewing the user list Db. system. users. find () # User Authentication Db. auth ('admin', 'pwd ') # Deleting a user Db. removeUser

Question about VARRAY's not null in Oracle

If the not null restriction is added when VARRAY is defined, the element of this VARRAY cannot be NULL. Definition: Create or replace type integer_varrayAs varray (5) of integer not null;/ Then there is a PLSQL block as follows: DECLARE -- Declare

How to obtain the primary key of the Oracle database record after the JDBC Insert statement is executed

In applications, a table's primary key is often paid with an automatically increasing number, for example, the sequence of Oracle, and the expected primary key value after insertion. The following describes the related methods. 1. Use the returning

How Oracle instances are restored

Brief Analysis of Oracle data instance recovery When the database crashes suddenly, such as a sudden power failure or hardware failure, the dirty data blocks in the buffer cache are not written into the data file, and the instance crashes, the

Principles of Oracle Hot Backup

The following is my summary and my understanding about Oracle backup: 1. The data block size in Oracle is usually an integer multiple of the OS block size. The database is always available when the data file is directly copied to the backup media

Oracle uses Analytic Functions to aggregate Subtotal

Select grouping (vsaltype) as sq, Vsaltype | 'subtotal 'vsaltype, Sum (amount) as amount, ''Vvin, ''Vpropertywh, ''Vpropertywhdesc FromSPTW90_INVENTORY_NCS_TMP Group by rollup (vsaltype) The result is as follows: : Analysis conclusion: Grouping: If

ORA-00312, ORA-00313

Corrupt non-current online logs 1. Start the database, encountered a ORA-00312 or ORA-00313 error, suchORA-00313: open failed for members of log group 1 of thread 1ORA-00312: online log 1 thread 1: 'd: \ Oracle \ ORADATA \ TEST \ REDO01.LOG'Here we

Modify the control file in RAC and ASM Environments

1. Currently, there is only one control file. We plan to add three to ensure security. SQL> select name from v $ controlfile; NAME -------------------------------------------------------------------------------- + DATA/tyolap/controlfile/current.256

Install Oracle 11g in CentOS 6.0

1. installation environment: OS: Linux x86 CentOS 6.0DB: Oracle11g R1NETWORK: LAN Ii. Installation Steps 1. Check required packagesRun rpm-q to check whether the following packages have been installed and whether the version meets the

Record one Oracle SQL optimization experience-excessive CPU consumption

My colleague called and told me that the CPU usage of the database is too high and swap is frequently exchanged. I 'd like to take a look at it now. Here, I will record the entire process for your reference and let you provide some comments. $ Topas

Ultra-simple MySQL master-slave Replication

The following describes how to install the MySQL database: 1. The master and slave servers perform the following operations respectively::1.1 consistent version1.2 initialize the table and start mysql in the background1.3 modify the root password2.

Oracle tablespace utilization and object size Query

1. view the size of all tablespaces SQL> select tablespace_name, sum (bytes)/1024/1024 M from dba_data_files group by tablespace_name; 2. Used tablespace sizeSQL> select tablespace_name, sum (bytes)/1024/1024 M from dba_free_space group by

New Features of Oracle 11g-virtual Columns

Today, I will explain the new features of Oracle 11g Database-virtual Columns Introduction In the old Oracle version, when we need expressions or some calculation formulas, we will create a database view. If we need to use indexes on this view, we

PostgreSQL Chinese Learning Manual (thing isolation)

In the standard of SQL, the transaction isolation level is divided into the following four types:1. Read uncommitted)2. Read committed)3. Repeatable read)4. Serializable)However, PostgreSQL versions earlier than 9.1 only implement two of them: Read

How to achieve that user B in Oracle can only access user A's View

We have the following requirement: create two users in the database. User A creates some views and directly accesses the tables in one mode in the database, and access tables in other databases through the database link. Another user B can access

Configure master-slave replication for MySQL 5.5

MySQL provides the master-slave replication function, which is similar to Oracle's slave uard. However, configuration and management are far simpler than slave uard, and there is no so-called physical slave database or logical slave database, there

Total Pages: 1013 1 .... 806 807 808 809 810 .... 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.