Oracle delete statement optimization example
When I got up to work today, I received an email from the customer saying that it took more than three hours to execute a delete SQL statement in the production environment. Finally, the customer had no
Create a log file in Oracle
The syntax for creating a log file in Oracle is as follows:
Alter database database_name add logfile [group group_number]
(File_name [, file_name [,...]) [SIZE number] [reuse];The syntax is described as follows;Group
MongoDB Study Notes (2)-basic connection example between Node. js and MongoDBPrerequisites
Node. js and MongoDB have been installed. The node. js used in this article is v0.12.0 and MongoDB is 3.0.0.
MongoDB Study Notes (1)-install MongoDB on
EXP-00091: Exporting questionable statistics troubleshooting
When using EXP tool to export backup or migrate data, sometimes a lot of "EXP-00091: Exporting questionable statistics" error will be reported, the specific phenomenon and solution please
Fully Distributed HBase installation and Hive remote mode (MySQL as a database) Installation
The first step is to complete the distributed installation of HBase. The environment for this deployment is Hadoop-1.2.1 + hbase-0.98.X. Because this
Install and optimize MySQL in Linux
System Environment: CentOS 6.5Mysql version: mysql-5.6.19.tar.gzSoftware upload path:/doiido/soft
1. Install Mysql1: Firewall opens the corresponding port#/Sbin/iptables-I INPUT-p tcp -- dport 3306-j
Oracle views common system information and oracle System Information
It summarizes common SQL statements used to view oracle databases, which helps Analysis and Optimization of a robust system program.
1. Number of current database
Set the primary key. In general, int> Guid/string, guidstringSet the primary key. In general, int> Guid/string
Generally, setting int as the primary key is more
Timeout expired. The timeout period elapsed prior to completion of the operation or the server..., elapsedserver ..
Problem:
Recently, the program always throws the following exception:
An exception of type 'System. Data. SqlClient. SqlException
View the SQL Execution history of the Oracle database.
Method 1: Use the LogMiner Tool
Advantage: the log content can be fully mined to find all SQL statements that have been executed
Disadvantages:
Method 2: view the HIST View
Advantage: simple,
First experience of mongodb, mongodbMongodb initial experience
A new workflow product needs to be developed after the start of the year. It is mainly used to manage the management process in the automotive industry. Because it is similar to the old
Redis BGREWRITEAOF, redisbgrewriteaof
I was pitted by redis last night. After I got down and restarted, I waited for half an hour to start successfully. By discovering that the aof file was too large, previously, I did not know that this file can
SQL stored procedure select rowscount and then insert, stored procedure rowscount
The previous blog has not been written for nearly a year and a half. It is true that there are not many technical things to be written in the past year and a half.
20 database operation optimization experience and 20 databases summarized from the actual project
1. Use indexes to improve efficiency:An index is a conceptual part of a table to improve data retrieval efficiency. ORACLE uses a complex
How to diagnose the error time returned by sysdate in rac, racsysdateRecently, some rac environments have been used to access sysdate and return the error time. This problem often occurs when the database link is created through Listener, and, in
Solve the problem that eclipse does not recognize Android phones. eclipseandroid
After setting up the Android development environment, it is no problem to use the simulator to run the Android program. However, after connecting the mobile phone to
Mysql Master never synchronizes processing-database initialization, mysql --
Learn from online content for troubleshooting
Re-master, full synchronization
After creating a new table in the master database, the data in the slave segment is not
PostgreSQL dropdb connection not closed, postgresqldropdb
For example:
Solution:
1. select * from pg_stat_activity where datname = 'lnarterydb' // query sessions in the database
The query result has two PIDs.
2. SELECT pg_terminate_backend
Upgrade Goldengate 11.1.1.1.2 to 11.2.1.0.1, goldengateConfiguration environment:
Source:OGG:11.2.1.0.1Name:zbdba1Target:OGG:11.1.1.1.2Name:zbdba2
Upgrade Target to the same version as the source.
Backup Target ogg installation directory:
[Root @
Oracle implicit conversion, Oracle implicit conversionIt is said that Oracle has implicit conversions of the NUMBER and VARCHAR2 types, which must be avoided in a strict sense, but why should we avoid them? We will verify it from the following
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