System tables with two record constraints in Oracle

The following two system tables are used to query the table where a constraint is located. User_constraints constraints table, which records all constraints of the user. Such as non-null and index. User_cons_columns constraint field table, which

Experience in using Oracle BAM

Take a look at BIRT. I think of the previous company's use of Oracle BAM. At that time, I started to work on BAM by myself. from scratch, after learning something, I found that Oracle BAM was about to be used for application crash, almost tortured

Create and expand tablespaces in Oracle (Linux supported)

1. Create a tablespace in Oracle Create tablespace tianzh Logging Datafile'/Opt/oracle/oradata/dqjz/jwzh01.dbf' Size 30720 m Autoextend on Next 50 m maxsize 32768 m Extent management local; 2. Expand the tablespace based on the original

MySQL master-slave replication + OpenSSL

MySQL implements master-slave Replication 1. To make it easier for mysql to expand automatically as data grows beyond our expectation, and to implement mysql in LVM 1.1 create LVM Create two new partitions, each of which is 5 Gb. My partitions

New Features of MySQL 5.6 synchronous Replication

After the 5.5 semi-synchronous replication, MySQL 5.6 has optimized and improved it. Two of them are important: 1. It should be a big pleasure for O & M personnel. After the master-slave switchover, in the traditional mode, you need to find the

Use the Oracle expdp/impdp Tool

Oracle Data Pump I. Role of Data Pump: 1. implement logical backup and logical recovery 2. move objects between database users 3. move objects between databases 4. Implement table space Transfer Ii. Differences between Data Pump

Create DBLINK in Oracle10

Example: Remote Data Information: User name: interface Password: interface Ip: 10.7.237.17 Database: uidb Local database information: Username: jucks Password: jucks Database: gilbert 1. Check whether the user jucks has the dblink creation

Use Logminer to restore operation records

Today, I was about to leave after work. As a result, the developers said that the data in a test table suddenly disappeared and that no one should delete the table, ask me if it is an Oracle Bug (this is a bit of a problem, I can think of it all,

Command for exporting data from MySQL to a csv file

1. MySQL exports local database data to a local file Mysql-A service_db-h your_host-utest-ptest Mysql> select * from t_apps where created> '2017-07-02 00:00:00 'into outfile/tmp/example .csv 2. MySQL exports remote database data to a local file

Use MySQLDumper to back up and restore Data

MySQL database itself provides the mysqldump command to back up data. Of course, we can also use other tools such as phpMysqlAdmin to back up the MySQL database. However, data corruption may occur when backing up a large amount of data. After all,

Modify the Oracle Instance name

A two-node Oracle 11g rac with the host names rac1 and rac2 respectively. The instance names are db4qg_1 and db4qg_2. The effect required is that the rac1 node starts the instance db4qg_1 and the rac2 node starts db4qg_2, but in actual operation, it

DG modify SGA in case of ORA-00845

Oracle 11G: Generate PFILE file: create pfile = '/home/oracle/initorcl. ora' from spfile;Modify the value of *. memory_target = 536870912 in PFILE.Then restart the database from the new PFILE file to the NOMOUNT state.SQL> startup nomount pfile =

Explanation of MySQL execution plan

1. explain extended select .....Decompile the execution plan into a SELECT statement and run show warnings to obtain the query statement optimized by the MYSQL optimizer. 2. explain partitions select ....Used to EXPLAIN the Partition Table 3.

Oracle control file backup recovery resetlogs Method

Alter databasebackup controfile to trace as '/bk/col. SQL '; Consistency database stop destroys log files and Control Files Start Database SQL> startup Oracle instancestarted.   Total SystemGlobal Area 314572800 bytes Fixed Size 1219136

Oracle performance problem diagnosis example

As soon as I opened the database and did nothing, I found that the hard drive lights went viral. Why? It is preliminarily determined that Oracle's scheduled task is running, but it is unknown which one is running. Therefore, the first step is to

Oracle insert Extension

Send a shotgun to a table: (1) insert into table_name [(column [, column...])] select_statementOnly one table can be inserted at a time, but the performance is higher than writing multiple insert statements. In addition, Oracle also provides create

MySQL O & M notes (1) -- terminate high-load SQL statements

When the database table size is large and the load is high, it is inevitable that the time consumed by an SQL statement is prolonged. Half a month ago, a scheduled task ran for eight hours in the early morning and suddenly fell helpless. Finally,

Packages in Oracle

Basic concepts of a package A package can organize several functions or stored procedures and store them as an object. A package usually consists of two parts: specification and body ). The program reports can also contain constants and variables.

Sort basic MongoDB queries

Exact match For a single key-Value Pair: {"age": 28}, all documents whose "age" value is 28 are returned. Multiple key-value pairs: {"username": "tom", "age": 28} combine multiple query conditions, equivalent: condition 1 AND condition 2 AND...

Use XtraBackup to implement MySQL master-slave replication and quick deployment [master-slave table lock-free]

Four Common mysql backup tools have their own disadvantages: 0 tarDisadvantage: Hot Backup is not supported. You need to disable the mysqld server before backing up. Mysqld must also be disabled during restoration.1 mysqldumpDisadvantages: MySQL

Total Pages: 1013 1 .... 968 969 970 971 972 .... 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.