In addition to relational databases, Oracle integrates object-oriented elements, such as the ability to create types and inherit between types, type can include constructors, sorting functions, various member functions, stored procedures, and so on.
I. Master-slave SynchronizationRefer
Ii. Incremental Backup:Perform full backup at PM and PM every day, and back up binlog every one hour, that is, Incremental backup. The specific operations are as follows:Enable binlog in LinuxAdd the mysqld
The SQL statement exported by MySQL may be very slow during import. Using several parameters properly during export can greatly speed up the import.
-E uses the multiline INSERT syntax that includes several VALUES lists;-Max_allowed_packet =
Creating tables in Oracle to hook the same or consistent tables can also be used in many cases. Convenient.
For example, a department table exists as follows:
SQL> select * from dept;
DEPTNO DNAME LOC
------ --------------
1. Modify the/etc/oratab file. The following dbstart and dbshut start the database based on the file.
Soadb:/u01/Oracle/product/11.2.0/dbhome_1: Y
2. Create a database initialization file:
# Cp $ ORACLE_BASE/admin/$ ORACLE_SID/pfile/init $
To prevent the mid-process output produced by semicolons, define a separator. Here, we use the mysql official example: Use two dollar signs $ as the separator, the following code is used to create a prototype of a user-defined mysql function. You
Character TypeASCIICHRLOWERUPPERINITCAPCONCATSUBSTRLENGTHINSTRTRIMDumpLpadRpadREPLACE ASCII ('characters ')Returns the ASCII value of a character.Idle> select ASCII ('A') from dual;ASCII ('A ')----------97
Idle> select ASCII ('A') from dual;
ASCII ('
B-tree Indexing is a complete technology for all large-scale relational databases and is also the default Indexing Technology for Oracle databases.
Base Number: the number of different key values in the column you want to create an index. For
Start the subscription and publish Client
On the subscription Client
Redis 127.0.0.1: 6379> PSUBSCRIBE shareReading messages... (press Ctrl-C to quit)
1) "psubscribe"
2) "share"
3) (integer) 1
Indicates that the client subscribes to the share
To understand the role of each file, you must master the basic concepts of Oracle.
I. backup and recovery of Oracle basic files
1. logfile diversification and Backup Recovery
Log query
Select * from v $ logfile;
Select * from v $ log;
Manually
Environment:Oracle11g + IE9
Problem:Oracle Database ControlThe browser cannot log on
Solution:
Open your browser and enterURL:Https: // 127.0.0.1: 1158/emOrHttps: // localhost: 1158/em
IfInternet Explorer cannot display the webpage, Follow these
MongoDB is a NoSQL database system. A database can contain multiple collections, each of which corresponds to tables in a relational database; A set of records identified by columns can be stored in each collection, and columns can be freely defined
The first time I installed MySQL on Linux (Ubuntu 10.10), I had to pay some twists and turns, and finally I had to figure out my ideas. Let's talk about how to install mysql in Ubuntu 10.10.
The current mysql version is 5.5.20 and my system version
In the master-slave replication of MySQL, the transmission process is plain text transmission, which does not guarantee data security. When compiling and installing Mysql, an option such as -- with-openssl is basically added, that is, it supports
Introduction to Oralce Character Set Oracle character set is a common problem. Set the character set of window: regedit-> HKEY_LOCAL_MACHINE-> SOFTWARE-> ORACLE-> HOMEO-> NLS_LANGWindows: SIMPLIFIEDAMERICAN_AMERICA.ZHS16GBK View character set in DOS:
Some basic concepts:A tablespace can belong to only one database at a time;In addition to the SYSTEM tablespace or the tablespace with active rollback segments, other tablespaces can be taken offline;Table space can be switched between read/write
Oracle 11g backup file imported 10g, *. dmp file imported to 10g encountered a lot of problems
The following error occurs when I export data from 11 GB and then import the data to 10 Gb.
IMP-00010: the exported file is not valid and the header
The SQL statement exported from MySQL may be very slow during import. It took nearly three hours to import only 0.45 million records. Using a few parameters properly during export can greatly speed up the import.
-E uses the multiline INSERT syntax
Today, the following error occurs when you run your own JDBC to call the stored procedure:ORA-01002 read violation orderMost of the suggestions provided on the Internet are to set Automatic SQL submission to false: cn. setAutoCommit (false );But
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