Oracle 11g import 10g expdp/impdp

1. Use the expdp command to back up data on the 11g Server Expdp userid = 'sys/cuc2009 @ cuc as sysdba 'schemas = sybj directory = DATA_PUMP_DIR dumpfile = aa. dmp logfile = aa. log version = 10.2.0.1.0 The red text is rewritten as needed. For

ORA-01461: Can only assign values to LONG values inserted into LONG Columns

Recently, when inserting data, I encountered the BUG of "ORA-01461: Can only assign values to the LOGN values of the inserted LOGN columns ". The data type in oracle is varchar2 (4000 byte). The inserted data cannot exceed 4000. Changes to varchar2 (

Oracle handbook Series 5: Transaction)

1 Overview (In a session) when the transaction starts: When the database encounters the first DML (UPDATE/INSERT/DELETE/MERGE) statement. (In a session) when the transaction ends: the transaction ends at the first COMMIT/ROLLBACK/DDL/GRANT/REVOKE.

Oracle Database multi-Table insertion

Insert multiple tables.Most insert operations are for a single table. However, oracle supports insert statements for multiple tables. In terms of data warehouse extraction, transfer and loading (ETL, Extract Transform and Load) routines, you will

Oracle programming Art Study Notes (3)-SELECT FOR UPDATE SKIP LOCKED

  Consider this scenario: when a task waiting for processing is added to a database table, the PROCESSED_FLAG column of the table has only two values: Y and N. This column value is N (not processed) for records inserted into the table ). When other

Oracle sysdba is logged on normally, and other users cannot log on

  Today, a user's database suddenly finds that all clients cannot connect. However, sysdba users can log on normally;   First, it is suspected that someone has set the database to the silent mode.   Log on to the database on the server, check

Preparations for clearing historical Oracle Data

The customer requested that the historical data in the database of the two projects on the current network be cleaned up recently, so he sorted out the section usage in the next application, mainly to view the table section. The script used is as

Oracle programming Art Study Notes (20)-clear blocks

  There is an overhead space (overhead) at the beginning of the database block, which stores a transaction table for the block. For each "actual" transaction that locks some data in the block, there is a corresponding entry in this transaction table.

Summary of services to be started in Oracle

  1. When using Oracle, Oracle can run normally by starting OracleServiceMYORCL and OracleOraDb11g_home1TNSListener; 2. To allow hosts on the LAN to access your oracle database, you must start the oracleora81homemanagermentserver service. Note:

If index monitor is not enabled, check whether the index has been used.

If you do not enable index monitor, you can determine whether the index has been used. If you want to know whether an index has been used, the traditional method is to enable index monitor. However, this method has two shortcomings: (1) it will

DBA Manual: SQL _TRACE tracking and diagnosis Cases

DBA Note: SQL _TRACE is a background news publishing system used to track and diagnose cases. The main performance problem is that it is extremely slow to access news pages through connections, which usually takes more than 10 seconds to return,

Oracle up/down key prompt History Function

Oracle up/down keys prompt history when Oracle in linux is used, its up/down keys by default do not prompt historical records. Therefore, we need to install an additional package, this package can achieve this function 1: Install readline (usually

Oracle replaces a specific string in clob.

Oracle replaces a specific string keyword in clob: replace, dbms_lob.instr Step 1: Determine whether clob contains a specific string: for example, "/admin/ewebeditor/uploadfile/" Keyword: dbms_lob.20.code: [SQL] select st. id, st. content from

Demonstration of deleting the space occupied by tables in the recycle bin if the tablespace is insufficient after the flashback drop operation

After flashback drop, if the tablespace is insufficient, you can directly Delete the table occupied by the table in the recycle bin. After the demo DROP table, you can also find the table from the recycle bin, however, in DBA_FREESPACE, the space of

A shallow summary of oracle log miner

A shallow summary of oracle log miner Sometimes, we shocould recover one or more rows data which is deleted carelessly by users, but it is not necessary to recover the whole db and the flashback does not recovery the data because it's timeout. for

Database optimization Subtotal

Database optimization subtotal optimizes database tables related to XX businesses on Monday night. Cause: there are 4 tables in total, with a small data size, a minimum of 0.4 million records, a maximum of 3 million, and a size of no more than 300

Oracle database 10g falshback knowledge

Oracle database 10g falshback knowledge1. Knowledge reserve 1) when the media is damaged (such as the loss of data files), any flash back method is useless and can only perform standard backup, restoration, and recovery. 2. SCN record method [SQL]

Data Type Conversion Function Cast (,) in Oracle (,)

Cast (,) CAST, a data type conversion function in Oracle, explicitly converts a data type expression to another data type. Syntax: CAST (expression AS data_type) CAST (ytd_sales AS char (20) Example: declare @ I intset @ I = 0 while @ I   Create

DBA classic interview questions (2)

DBA classic interview questions (2) iii. backup and recovery class ======================================== ========================================================== ===== 1: backup classification logical backup: exp/imp physical backup: RMAN

Remaining Time of oracle detection rollback

When oracle detects rollback for the remaining time to operate the oracle database, a large transaction needs to be rolled back, which is very slow. It depends on how long it takes to roll back. Find the following SQL statement on the

Total Pages: 2147 1 .... 1340 1341 1342 1343 1344 .... 2147 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.