Dex-MongoDB index optimization tool

Dex is an open-source MongoDB optimization tool. It analyzes query logs and current database indexes and proposes efficient index optimization policies to administrators.Quick Start Installation pip install dexStart monitoring dex -f mongodb.log

Parameters for the DBA to sign the contract with the Boss: fast_start_mttr_target

When we sign the contract with the boss, there is a very important parameter: fast_start_mttr_target 1 fast_start_mttr_target: The target for quickly starting the average fault recovery time. Unit: s. The default value is 0 (disabled ). 2 fast_start_

ORA-00918: columns not explicitly defined

There is an SQL statement, similar to the following: Select..., createdate from A left join B on... where... The createdate field exists in both table A and table B. The local Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 runs normally,

Enhancing SCN in Oracle and Case Study

In the Oracle database, we can use oracle internal events to adjust the SCN. There are two common methods to improve SCN: 1. alter session set events 'immediate trace name ADJUST_SCN level x ';-- Database OPEN is required 2. Event 10015Alter session

Oracle Stored Procedure syntax

1 create or replace procedure stored PROCEDURE name2 IS3 BEGIN4 NULL;5 END;  Row 1:Create or replace procedure is an SQL statement that notifies the Oracle database to CREATE a stored PROCEDURE called skeleton, and overwrites it if it exists;Row

Differences between restore and recover in Oracle rman

Differences between recover and restore in Oracle rman: Restore just copy the physical file, recover will consistent the database. Restore is a file-level restoration. Physical file restoration.A recover is a data-level recovery. Logical recovery,

Expdp export simple notes

Expdp export simple notes 1. To create an accessible Oracle directory, you must grant the oracle: oinstall permission.[Root @ oracle/] # chown-R oracle: oinstall/data1 2. Switch to an oracle user[Root @ oracle/] # su-oracle 3. Create an expdp

View the number of Oracle connections

1. view the maximum number of Oracle connectionsSQL> show parameter processes # maximum number of connections 2. Modify the maximum number of connectionsSQL> alter system set processes = value scope = spfile # value indicates the number of

Problems and Solutions for upgrading MySQL 4.0 to 5.1

1. database data volume surge. Compared with databases similar to other services, the data volume of a table is abnormal. Finally, a bug of repeated data migration is identified... 120301 17:30:43 [ERROR] Column count of mysql. db is wrong.

Create user in Oracle and grant permissions

View login users:You can:Show user;Select sys_context ('userenv', 'session _ user') from dual;Select user from dual; View all login users must be DBA users:Select username from v $ session;DBA users such as sys and system View objects (tables) in

Oracle getting started Tutorial Study Notes

For Oracle's learning and discussion, I will proceed directly below, and I will not discuss the history of Oracle, because the Oracle official team has a better explanation, here is a refinement of my knowledge about Oracle. For more information

Oracle-XE manual database creation

First, use Oracle-xe to create a database (use root ).Rpm-ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpmOracle. dba is created.Basic Configuration:/Etc/init. d/oracle-xe configure In this case, You Can su-oracleConfigure environment variables.Focus on

An error occurred while using DBCA to create a database ora-12547 in AIX

Cocould not load program Oracledevmdm:Symbol resolution failed for/usr/lib/libc. a [aio_64.o] because:Symbol kaio_rdwr64 (number 1) is not exported from dependentModule/unix.Symbol listio64 (number 2) is not exported from dependentModule/unix.Symbol

Range partitions in the Oracle Partition Table

RangePartition: RangeA partition is a table partition with a wide range of applications. It uses the range of column values as a partition condition to store records to column values.RangePartition. For example, by time,2010Year1Monthly

The SQL statement contains Chinese characters and cannot be queried.

When I was writing JDBC, I met the problem that the SQL statement cannot run because it contains Chinese characters. So I put this sentence in the mysql client for testing and the result passes, I guess it's not a matter of character encoding. It's

Java-based self-growth field in MongoDB

In the database design principle, the purpose of the Self-increasing field is to determine the uniqueness of each record for the unique index, and to ensure the query speed when the database volume is large. However, there are separate fields in

Kill slow query script-MongoDB

In many cases, some slow queries cause a lot of pressure on MongoDB. It took some time to write a script and kill some slow query operations. Var j = 0; Var _ DEF_TIME = 10;// Set the slow query time For(Var I in db. currentOP ().

Startup of inconsistent Oracle implicit parameters scn

Oracle implicit parameter: Use of allow_resetlogs_uption Tip: Implicit parameters of Oracle should be used only in the test environment or with the Support of Oracle Support. When the redo file in oracle is corrupted:1: If the damaged non-current

Oracle ORA-01157 AND ORA-01110 troubleshooting

Cause: In the RAC + RAW + ARCHIVE environment, several RAW files are added, but the host is modified on one side. The following error occurs: ORA-01157: cannot identify/lock data file 129-see DBWR trace file ORA-01110: data file 129:

Oracle ref Dynamic Cursor

Oracle ref Dynamic Cursor: Create or replace procedure pro_cursor_type_V AsT_tmp table3 % rowtype;Type c_type is ref cursor;Cur c_type;V_taname varchar2 (100 );BeginV_taname: = 'a ';Open cur for 'select * from table3 where taname =: a order by taid

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