Use oracle_datapump to create an external table

1. Create an External table using datapump. The data comes from an internal entity table. -- First create the scott. countries entity table for experiment SQL> create table scott. countries ( 2 country_id number, 3 country_name varchar2 (30 ), 4

UTL_FILE package usage in Oracle

The UTL_FILE package can be used to read and write text files on the operating system. UTL_FILE provides file access functions on the client (FORM, etc.) and on the server. Create a test directory: Create a new command window; Create a directory:

The sequence starts from 0 every morning when the Oracle stored procedure is updated.

The sequence starts from 0 every morning during Oracle storage. Create or replace procedure seq_resetN NUMBER (10 );Tsql VARCHAR2 (100 );BEGINExecute immediate 'select SQD_LSH.nextval from dual'INTO n;N: =-(n );Tsql: = 'alter sequence SQD_LSH

Build a MySQL-Cluster architecture

Lab requirement: deploy a MySQL cluster to reduce single point of failure (spof) of the database. Tutorial solution: prepare five servers, mgmd (192.168.100.1) as the management node, sqlA (192.168.100.2) and sqlB (192.168.100.3) as the SQL node,

How to obtain snapshots and views of a DB2 database

At work today, my colleagues mentioned how to obtain the space occupied by the LOB in a table. We usually use syscat. tables queries information such as fpages and npages In the table, but this does not separate the common field from the LOB field.

Oracle 10g Stream table-level replication Configuration

1. experiment environment ConfigurationThis experiment is carried out in the vmware9.0 environment, the installation of the operating system CentOS-6.4-x86_64, database version is Oracle10g10.2.0.1, the source database and the target database are

Set up phpMyAdmin Management Platform in CentOS 6.5

Lab requirement: Build a mysql Graphics Management Tool on the server Linux: CentOS 6.5 1. Simple deployment of LAMP Platform # Yum-y install httpd mysql-server php-mysql php-pdo # Rpm-ivh php-mbstring-5.3.3-26.el6.x86_64.rpm // this package is not

PostgreSQL hstore Column Performance Improvement case

PostgreSQL supports hstore to store data such as KEY-> VALUE, which is also similar to ARRAY or JSON. To use this type of data efficiently, you must use efficient indexes. Let's take a look at the performance of two different types of indexes for

MongoDB master-slave replication experiment master/slave

MongoDB has been widely used as a NoSQL Database in recent years. More and more enterprises are trying to use MongoDB instead of the original Database. MongoDB also performs well in clusters, sharding, and replication. I will introduce various

Oracle 11g uses DBCA to create a database in non-interactive (silent) Mode

Use DBCA to create a database in non-interactive (silent) ModeRun dbca-h |-help to view help options.[Oracle @ jyrac1 ~] $ Dbca-helpDbca [-silent |-progressOnly |-customCreate] {}| {[[options]-responseFile} [-continueOnNonFatalErrors]Please refer to

Compile and install the MySQL 5.6 script in the source code package

The MySQL5.6 script is compiled and installed in the source code package. Two MySQL databases are installed on one machine. The port, installation path, and socket file location are specified during compilation. The installed MySQL installation file

ORA-39125 during impdp Import

Background: Recently, we are engaged in data migration. We have migrated data from U1 users in database A to U2 users in database B. We have used open-source kettle to work with the Data Pump. It's Okay during the test, but it's actually going

Redo log modification and Reconstruction

Sometimes, as the business grows, you need to re-plan the redo log. For example, if there are three groups of existing logs, one member in each group, and each member is 50 MB in size, it is obviously unreasonable for the production database. We

ORA-04031 troubleshooting

Diagnose and resolve ORA-04031 errors When we try to allocate large blocks of continuous memory in the Shared Pool, Oracle first clears all the objects currently not used in the pool to merge idle memory blocks. A ORA-04031 error occurs if the

Add data files (bare devices) to the tablespace in AIX)

$ LsvgRootvgVg_oradata $ Lsvg-l vg_oradata......DBF_5G_031 raw 20 20 1 open/syncd N/DBF_5G_032 raw 20 20 1 open/syncd N/DBF_5G_033 raw 20 20 1 open/syncd N/DBF_5G_034 raw 20 20 1 open/syncd N/DBF_5G_035 raw 20 20 1 open/syncd N/DBF_5G_036 raw 20 20 1

Expdp exports the joined data of two tables

There are two tables t1 and t2 Table t1 is structured Id, name, age Table t2 is structured Id The join statement is select t1. * from t1, t2 where t1.id = t2.id; We now need to retrieve the data after the association query. We recommend that

An example of ORA-01882 troubleshooting on Oracle 10.2.0.4

Upgrading any software, especially enterprise-level system components, is a very complicated process. The upgrade path, data retention plan, rollback steps, and impact degree of original business functions all require repeated tests and

Create an experiment with the same name database in a remote environment using RMAN

As the version continues to increase, the role of RMAN as a standard backup tool is constantly enhanced. From the traditional backup and restoration tools in the past to the new environment migration and building of DG, we can see the enhancement of

RMAN preview function

During RMAN backup, preview is often used to verify the recoverability of the current database, as well as the backup piece, archivelog, and whether the corresponding file exists during restoration. -------------------------------------- Split line -

MySQL automatic installation script (Ubuntu and CentOS 64)

Ubuntu MySQL automated installation script #/Bin/bashFunction hasDpkg{R = 'dpkg-l | grep "$1 "'If [-n "$ r"]ThenH = 'dpkg-l | grep "ii $1 "'If [-n "$ h"]ThenReturn 1ElseReturn 0FiElseReturn 0Fi} Mysql = mysql-server-5.5"HasDpkg $ mysql R = $?If [$ r-

Total Pages: 1013 1 .... 826 827 828 829 830 .... 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.