Oracle | PL/SQL Check constraints usage
1. Objectives
The instance explains how to use CHECK constraints (create, enable, disable, and delete) in Oracle)
2. What are Check constraints?
The CHECK constraint adds additional constraints to the columns
MySQL database startup failure Solution
After the server is restarted --> restart the Application Service (Confluence) --> An error is reported, indicating that the database connection fails (MySQL is set to boot automatically) --> View the MySQL
Use cold backup technology to quickly migrate databases to new machines
Note:1. Test EnvironmentSYS @ ocp> show relVPC: release 1102000100$ Uname-r 2.6.18-164. el5xenDatabase log mode: No Archive ModeMv or cp after shutdown immediate2. Cold backup
Invalid and unavailable objects for Oracle Database Reconstruction
Invalid and unavailable objects
Invalid PL/SQL objects and unavailable indexes may affect performance. Invalid PL/SQL objects must be recompiled before they can be used. This
Common Oracle System packages and common methods
1. dbms_metadata.get_ddl: generate the ddl information of the database object:
2. dbms_stats is used to collect, view, and modify the optimization statistics of database objects.
Exec
Explore Character Set Issues in Oracle EXP/IMP processes, oracleimp
1. Problem description:
Data migration between databases is a common job. EXP/IMP is a common data migration and conversion tool, because the exported files are platform-independent,
Small oracle-imp import error filesize settings, oracle-impfilesize
**************************************** ******************************** ***************************************
Original Works are from the blog of "Deep Blue blog". You are
Oracle array, oracle
Defines an array of 5 strings.
Type str_array is varray (5) of varchar2 (30 );
V_str_array str_array: = expr_key_array ('A', 'bb ', 'cc', 'dd', 'ee ');
For I in 1 .. v_str_array. count loopDbms_output.put_line (v_expr_key );
End
Expdp export multi-path and expdp export pathI. Preface:Some users do not use RMAN for Backup recovery because the DBA level is not too high, training RMAN for on-site engineers or users will lead to additional expenses and unnecessary troubles.
MySql Backup Recovery and mysql Backup Recovery
Mysql backup restoration method
We generally perform the following operations to back up and restore mysql databases (generally from dozens to hundreds of GB) to windows machines, then, the files on
[MonogoDB] The high update operation of MongoDB, monogodbmongodb
In the last four blog, we talked about the high query operation of mongodb. Now in this blog let's know about the high update operation about monodb.1. Saveas for save (), whose
[Database] query optimization summary and database query SummaryI. Rational Use of Indexes
Usage principles:
1. columns that are frequently used as conditions in queries should be indexed.
2. columns that are frequently sorted, grouped by, or order
New methods for configuring synchronous replication in mysql5.6 and solutions to common problems, new methods for mysql5.6
Mysql5.6 adds a method that does not need to set the log_bin file and log location. Before that, we need to view the master
Understanding of the deviation of the fromuser parameter in imp, impfromuser
There is always a problem when importing dump files in the past two days.
Symptom:
1. Run: imp xyz/xxx file = test. dmp log = imp_test.log fromuser = test1 touser =
[MongoDB] mongodb sharded cluster (6) on windows platform, mongodb Cluster
In this blog, we mainly discuss blog management. Since we have already written detailed examples in the previous five articles, we will not illustrate them here.
I.
Session cache in Hibernate, hibernatesession1. Session cache:1). The implementation of the Session Interface contains a series of Java sets.,These Java sets constitute the Session cache.Used for storageSessionAssociated object(There are many ways to
SQL Server transactions, indexes, views, SQL Server
Transaction concept:A transaction is a mechanism that contains a set of database operation commands and submits or revokes all commands to the database as a whole.These commands are either executed
Single-row oracle FunctionsZookeeper
Single Row Function①. Character FunctionsLOWER (x): converts each word in x to lowercase.UPPER (x): converts every word in x to uppercase.INITCAP (x): converts the initial letter of each word in x to
Oracle histogram, Histogram
Histogram when the data distribution of a column is uneven, in order to allow CBO to generate the best execution plan, we may need to collect a histogram for the table. The maximum number of buckets in the histogram is 254
Basic mysql knowledge ReviewCreate a databaseCreat table test (# An integer usually uses an int.Test_id int,# Decimal is usually used for decimals.Test_price decimal,# Common text is usually used and Default is used to specify the Default
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