Enable oracle automatic archiving Mode

1. Create a directory to save the backupMkdir/u01/oracle/oradata/archiveChown-R oracle/u01/oracle/oradata/archive2. Switch to an oracle userSqlplus/nologConnect/as sysdba3. Set the target address of the archived log Check whether the database is in

Complete Oracle Optimization-optimized memory

Memory optimization has always been the top priority of database or operating system optimization. In the Oracle database architecture, memory optimization is also the key to performance optimization. The memory optimization mainly improves the

Install Oracle11gR2 on Ubuntu 11.04

Sudo ln-s/usr/bin/awkSudo apt-get install libaio-dev sysstat build-essential \ gcc make binutils lesstif2 libc6 libc6-dev rpm libmotif4 \ libaio1 libstdc ++ 6 alien autotools-dev ksh libltdl-dev \ libtool lsb-rpm unixODBC-dev unixODBCSudo groupadd

Oracle System Table query

The data dictionary dict always belongs to the Oracle user sys.1. User:Select username from dba_users;Change PasswordAlter user spgroup identified by spgtest;2. tablespace:Select * from dba_data_files;Select * from dba_tablespaces; //

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

Recyclebin retention policy in Oracle

We know that Oracle 10 Gb introduces the recyclebin concept. When we delete a table without specifying purge, the system only renames the table to the name starting with BIN $, modify related data in the data dictionary.In the Administrator's Guide,

Oracle programming Art Study Notes (9)-Oracle files-data files

    In Oracle, four file system mechanisms can be used to store data. (A database may contain all the following types of files) · "Cooked" operating system (OS) File System These files are stored in the OS file system. You can use the OS tool to

Oracle programming Art Study Notes (15)-atomicity of transactions

Four features of transactions: ACID· Atomicity: all actions in a transaction either occur or do not.· Consistency: A transaction changes a database from a consistent state to one of the following.· Isolation: the impact of a transaction is invisible

Oracle programming Art Study Notes (14)-write consistency

  Two concepts are explained first:· Consistent read: the row to be modified is the Consistent read.· Current read: Get the block to actually update the row to be modified. The obtained result is the Current read.The tkprof report shows the

Oracle self-launch in Linux

  Root @ localhost oracle] # vim/etc/oratab     1 $ ORACLE_SID: $ ORACLE_HOME: Y     ? 1 [root @ localhost oracle] # vim/etc/init. d/dbora     View sourceprint? 01 #! /Bin/sh   02 # chkconfig: 345 99 10   03 # description: Oracle auto start-stop

ORA-39213: Metadata processing is not available solution

  Oracle 11.2.0.3 impdp error:   Gg2:/u01/backup> impdp dave/dave directory = backup dumpfile = pdba. dmp logfile = table. log tables = pdba table_exists_action = replace;   Import: Release 11.2.0.3.0-Production onWed Nov 16 12:35:19

Use csscan to convert character sets of ORACLE databases

  1. Install Character Set Character Refer:   Http://www.oracle.com/technetwork/database/globalization/index-085942.html   Generally. This tool is available when you install the oracle system.   Bash-3.00 $ which csscan /Orahome/oracle/product/11.2.0

Oracle Linked database

  Package com. csdn. util; Import java. SQL. Connection; Import java. SQL. DriverManager;   Public class OracleUtil { Public static void main (String [] args) throws Exception { // Step 1 load the Driver com. mysql. jdbc. Driver Class.

Cost increases after a SQL statement adds partition filtering conditions.

After a SQL statement is used to add a partition filter condition, the cost increases by adding a filter condition to the query Partition Table in 10.2.0.1.0. The cost increases, because this is an oracle bug. Let's test it below: SQL> select * from

ORA-27302: failure occurred at: skgpspawn3

ORA-27302: failure occurred at: skgpspawn3 Applies to: OracleServer-Enterprise Edition-Version: 10.2.0.1 to 10.2.0.3This problem can occur on any platform. symptomsThe database can not start up due to the following errors: Errors in file ....... Trc

How to change the password of ASM sys

How to modify the sys password of ASM. Note that the sys password of asm is different from the db password. 10g: WINDOWS: orapwd file = /database/PWD . ora password = UNIX: orapwd file = /dbs/orapw password = although the password file can be

Oracle log mining Solution

Oracle log mining solution preparation cd c: \ oracle \ product \ 10.2.0 \ db_1 \ BIN Sqlplus sys/slims as sysdba; -- check whether archive log list is in archive mode; -- If archive is not found -------------------------- shutdown immediate;

Use merge into for Performance Optimization

Using merge into for performance optimization sometimes the development team has such a requirement that a table and its backup table replace some fields in the backup table with the original table, when the data size is very large, it will be very

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 .... 2097 2098 2099 2100 2101 .... 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.