Compare the performance differences between data pump and exp/imp for the same data export/import

Create table test as select * from dba_objects where rownum BeginFor I in 1 .. 7 loopInsert into test select * from test;Commit;End loop;End;BYS @ bys001> select count (*) from test;COUNT (*)----------1280000Elapsed: 00:00:01. 12BYS @ bys001> select

Character Set summary 2

Query the character set of the current databaseBYS @ bys1> select userenv ('language ') from dual;USERENV ('language ')----------------------------------------------------AMERICAN_AMERICA.AL32UTF8BYS @ bys1> select * from

SQL (1) usage of cursor

DECLARE @ OldId varchar (50) DECLARE @ CustomerID varchar (50) DECLARE My_Cursor CURSOR -- Define the cursor for (select CustomerID, oldid from Customer where Area = 'bj ') -- locate the desired set and put it in the cursor OPEN My_Cursor; -- OPEN

DBA classic interview questions (3)

1. Explain the differences between cold backup and hot backup and their respective advantagesAnswer: Hot Backup is applicable to databases in the archive mode. When the database is still in the working state, it is backed up. Cold backup refers to

Chinese linux installation of oracle interface garbled Solution

When xmanager is used for oracle installation in a linux Chinese operating system, garbled interface may appear. You can solve this problem by using the following methods: 1. Modify the environment attribute vi/etc/sysconfig/i18n LANG = "en_US.UTF-8

Use SQL statements to separate strings

-- Use the regular expression with t as (select 'guangdong, Guangxi, Hainan, Guizhou, Yunnan 'str from dual) SELECT REGEXP_SUBSTR (str,' [^,] + ', 1, ROWNUM) province FROM tCONNECT by rownum PROVINCE ------------------------------ Guangdong,

Brief description of oracle expdp impdp

With the data pump expdp, impdp can import and export data on the server, with high efficiency.You do not need to set the environment variable NLS_LANG. By default, it will go to the character set of the database. Create directory backup as '/backup

JDBC implementation file and Image Storage instances

/* Implemented functions: Use a database to store text data and read it and put it in the current project for analysis: the difficulty is not great. The key is to master the file stream, and there are not many database operations, but the file

First glance at ADO.net-two ways to access data

1. Non-connection mode (dependent on datasets)2. Connection Mode (directly operate on the database) You can use a command object to execute SQL statements or stored procedures. If the execution result returns a record set, you can use the

What is the difference between char and varchar?

It is very convenient for CHAR to store fixed-length data, and the indexing efficiency of CHAR fields is high. For example, if char (10) is defined, no matter whether the data you store reaches 10 characters, it takes up to 10 characters. To store

IO-related wait events troubleshooting-Series 3

Common methods to solve IO problems: Through SQL optimization, you can reduce the IO requests of the database: Adjust the instance parameters to reduce the database's IO requests: Compared to 1000 data transmission requests

SQL computing problems

Aggregate functions for computing in SQL statements: COUNT (*): calculates the number of tuples. COUNT ( SUM/AVG/MAX/MIN (): Calculate the SUM, average, maximum, and minimum values of a column (numeric type) Let's analyze the types of

Oracle FAQ (III)

After the database is upgraded, how can I determine whether the upgrade is successful? Function rounding? Returns a value rounded to the specified number of decimal places.Number: value to be processedThe number of decimal places is set to select

Config large memory

C processing ing Large Memory Optimization This appendix provides information for Processing memory optimization with large page tables on the Linux operating system, using Hugepages. It contains the following topics: Overview of HugePages

How to design a database (5)

I 've been so busy recently that I haven't written a blog for three months. This requirement was met in the use of Mongo, but I think it is easier to put this requirement into traditional RDBMS. The requirement is as follows: assume that your

Analysis on MySQL table lock

The storage engine layer can decide how to lock data by accepting the lock type passed by the Server layer.Table locks are implemented at the Server layer. If MyISAM is not implemented by itself, the table locks passed at the Server layer are used

An Analysis of the tablespace movement method in Oracle databases

Database movement is also a common phenomenon. After all, there are various reasons to force us to move. So how can we move faster? See the following. When using an Oracle database, data in the database is often moved from one database to another.

Three considerations for database standardization

To reduce IT complexity and improve data quality, enterprises always want to integrate their businesses to fewer database platforms. However, experts believe that before the database standardization project, pay attention to cultural and technical

Teach you how to implement MySQL dual-host data synchronization (1)

Editor's note: many friends may not know where to start when getting started with MySQL's dual-machine synchronization requirements. In fact, this is one of the functions supported by MySQL itself. This article provides a preliminary idea about

Database Replication performance and push mode performance tests

The first concern of people who use database replication is the performance consumption of the master server and backup server. I am also very worried about this. After checking for half a day, I basically did not find similar test instructions, I

Total Pages: 1013 1 .... 648 649 650 651 652 .... 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.