Select an appropriate backup method for MySQL
Backing up a MySQL database is extremely important. If there is no backup, the system will go crazy in the following situations:UPDATE or DELETE whitout where... Table was DROPPed accidentally... INNODB
Oracle enhanced date functions
-- Change the database time zone to UTC + 8
Alter database set TIME_ZONE = '+ 08:00 ';
/*
An error may occur during the modification: ORA-30079: the database time zone cannot be changed when the database has a
The 0RA-01400 error is reported when the materialized view is refreshed.
Background: materialized view is one of the three major tools for data warehouse refresh. In actual work, it is used for data extraction on heterogeneous platforms. Today,
Install MySQL 5.6 using the source code in Linux
MySQL is an open-source database, so it can be installed based on the source code. Source code-based installation provides more flexibility. That is to say, we can select a suitable compiler for our
MySQL high availability solution Cluster)
1. experiment environment
I used three servers to build the mysql cluster environment. The SQL node and the data node are on the same server, and the Management node is a separate one.
Cluster node1: 192.168.
ORA-16014: Log 1 serial number 242 Unarchived, no available destination
SQL> alter database open;
*Row 3 has an error:ORA-16014: Log 1 serial number 242 Unarchived, no available destinationORA-00312: Online log 1 thread 1:'C: \ Oracle \ PRODUCT \ 10.
Installation of MySQL automated O & M
MySQL is usually installed using RPM or source code.RPM installation is fast and convenient. the disadvantage is that the installation directory cannot be customized. if you need to adjust the storage location
In sqlplus, how does one save all your operations and Result Records to your specified file?
[In sqlplus operations, we often want to record the SQL statements we write and modify the log or result information]
[First] You must connect to the oralce
Oracle queries and compiles data dictionaries, and oracle compiles dictionaries
If you need to write a data dictionary during project delivery, you can use the following method to first run a line-by-line SQL statement.
Select. TABLE_NAME AS table
Oracle (+) connector usage, oracle connector usage
In the Oracle PL-SQL, left and right connections can also be implemented as follows
Example:
SELECT stu_name, class_nameFORM students, classesWHERE students. classid (+) = classes. id
The
Java operation MySQL database access images and other types of files, other types of mysql1. Notes
1. When the database field isBlobType, must usePreparedStatementInSetBinaryStream (int, InputStream, int)Method;2. When the database field
Mysql optimization: a deep understanding of the storage engine, index optimization, mysql Index
Compare the storage methods of the two storage engines in the database:
MyIsam: If you observe carefully, you will find that the database using this
[MongoDB] The Access control of mongodb, mongodbaccess
In this blog we mainly talk about the access control including limitation of ip, setting listen port and usage of username and password. in the official document, mongodb server start without
Steps and solutions for importing MYSQL database structure in PowerDesigner
We are using PowerDesigner today and want to import the MySql table structure to PowerDesginer,
Follow these steps:
1, first of all to ensure that the machine installed
Rac _ report version too high when installing software, rac report
Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally
Mysql modifies the database's storage engine (InnoDB), mysqlinnodbThe current example is to change the engine MyISAM to innodb.View the supported database engines and default database engines of the current databaseDatabase-supported engines and
SQL Execution time, SQL Execution
Enable SQL Execution time statisticsSet timing on;
Check whether SQL statements with long execution time exist.Select a. sid, B. SQL _textFrom v $ session a, v $ sqlarea BWhere a. SQL _hash_value = B.
The use of rownum In the result set sorting in Oracle, using lerownumUse of rownum in Oracle for sorting in result setsFor the rownum problem in Oracle, many documents do not support>, >=, =, between... and. The preceding symbols can only be used (,>
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