Restrictions on table space that can be transferred: The table space technology cannot be applied to system tablespaces or objects owned by sys users. In the transmission tablespace, The tablespace must be self-contained. The self-contained table
1. Explanation of imp Command Parameters
[Oracle @ linux exp] $ imp help = y
Import: Release 10.2.0.4.0-ProductionOnWednesday, September 16, October 5 15:48:13, 2011
Copyright (c) 1982,200 7, Oracle.AllRights reserved.
By entering the
I have always been used to learning C ++ through source code. Last month, I made a fuss about the SGI's STL source code. After all, the configuration process was smooth under Win, you can refer to the STL source code of Hou Jie. I will go deep into
Oracle log mining (LogMnr)
① Set the utl_file_dir path in the parameter file
② Restart
③ Create directory file and use execute dbms_logmnr_d.build ()
④ Add a log file and use dbms_logmnr.add_logfile
Or delete the log file, use dbms_logmnr.removefile
Oracle locates 1 billion data records:
/** The app queries the table and partition where the ID is located by ID, and locates the Stored Procedure for the first 100 table partitions in one table.* Parm id ID* Return table_name table name, par_name
Among Java and Oracle, the most common method is to call the Oracle stored procedure. The following briefly describes how Java calls the Oracle stored procedure.
I. Java calls the Oracle stored procedure [without output parameters]
The process name
Open the/etc/my. cnf file and modify the following settings. If not, add it manually.
# Cancelling the external lock of the file system
Skip-locking
# Do not perform domain name anti-resolution, pay attention to the resulting
I have been using Mysql and Oracle databases for so many years. This time I have to use the C/C ++ language to call the Oracle stored procedure, so I am too lazy to look at the OCI API, I went online to find someone else's encapsulated library, and
In practice, you need to replace the content of a field in a table in batches. The general thinking process is as follows:
SELECT
Replace str_replace
UPDATE write
In fact, this is a waste of resources and resource consumption. MYSQL has a
When I was installing OracleXE for developer Demon today, there was a prompt:
Destination Folder: D: \ oraclexe \
PortFor 'Oracle Database Listener'1521
PortFor 'Oracle Services for Microsoft Transaction Server'2030
PortForHTTP Listener:
Some students need to insert images into the table in their projects. The following provides a method for your reference:
1. Create a table. Note: The columns to insert images must be defined as BLOB.
Create table image_lob (t_id varchar2 (5) not
The imp command is executed at the dos prompt.Run the command directly after cmd instead of in SQL.
Data export:1. Export the database TEST completely, and the username system Password manager is exported to D: daochu. dmp.Exp system/manager @
Exp_p.sh
#! /Bin/sh
#$1 generate the storage path of the dmp File
If [-d "$1"]; then
Echo "" $1 "exist"
# The user name/password generated file name is automatically generated based on the date of the day, for example, 20111128.dmp
Exp
If you want to create a table with a known table structure in db2, you can use:
(1) create table a as select * from B where 1 <> 1; ---- only create a table without importing data.
(2) create table a as select * from B ---- create table a, and
To increase the query speed, generally:
1.Create a primary key for fields that do not need to be deleted; create an index for fields that may be deleted.
2. If you submit 5 million numbers at a time, each of them must be compared with the 90 million
Understand Oracle, create users, and understand data types!
Goal: Understand the orale Database
I. Data Types in Oracle:
Number Type:
A) number indicates the number type, but if there is a decimal number, it must be written as follows: number
Recently, I was working on an Oracle project for a database. It was also my first project module. It felt a lot of pain, but there were a lot of GAINS. The following are my problems and solutions. I am a cainiao-level expert. If you find any errors,
(1) multiple databases can be configured in Oracle, and only one listener can be enabled. You only need to configure the corresponding service name (for example) for multiple databases to connect.
Note the following points:1. generally, if multiple
Oracle Database REAN recovery data file recovery is what we will introduce in this article. We know that apart from the system tablespace data file (mount, other data files can be restored in the open (mount) state. restoring data files in the open
Syntax: REPLACE (char, search_string, replacement_string)
Usage: convert all the string search_string in char to the string replacement_string without matching strings.
Example:
SQL> select REPLACE ('fgsgswsgs ', 'fk', 'J') from dual; return
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