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
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 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
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,
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.
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
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 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 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
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
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
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
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
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
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
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
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
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 -
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