Problem: Sort unordered text files with 0.2 billion rows in a column to generate a new sorted text file.
1. Generate unordered file, bigfiletest. JavaCodeAs follows:
Import Java. io. bufferedwriter; import Java. io. filewriter; import Java. util.
Source code:
Create or replace type ty_str_split is table of VARCHAR2 (4000 );
Create or replace function fn_split (p_str IN VARCHAR2, p_delimiter IN VARCHAR2)
RETURN ty_str_split
IS
J INT: = 0;
I INT: = 1;
Len INT: = 0;
Len1 INT: = 0;
Str VARCHAR2
Oracle Database 10g Release 2 (10.2.0.1) Installation On Red Hat Enterprise Linux 5 (RHEL5)
In this article I'll describe the installation of Oracle Database 10g Release 2 (10.2.0.1) on Red Hat Enterprise Linux 5 (RHEL5). The article is based on a
There is an emp table, two fields, employee id and supervisor id. 1, emp_id, 2, manager_idIf you have the following information, an employee can correspond to one or more supervisor IDs, that is, an employee may have several supervisors.Emp_id
The high availability of Oracle RAC is based on the concept of shared storage. Therefore, the selection and deployment of shared storage is very important to the database performance.
Software and data to be stored in Oracle Clusters
Check:
Top output CPU usage is very low;Iostat reads 1 M/s, writes 500 K/s, and iowait 3%;V $ there are not many sessions in the session, and there are no large transaction operations;Db_writer_processes = 4;Log_archive_max_processes = 2;There are
-- Create table t (a NUMBER); -- create or replace procedure p_parallel (p_min in number, p_max in number) isbegin insert into t select trunc (DBMS_RANDOM.VALUE (p_min, p_max) from dual; COMMIT; END p_parallel;/-- create jobDECLARE x NUMBER; BEGIN
1. Use to_number
Create or replace function isnumeric (str IN VARCHAR2)
RETURN NUMBER
IS
V_str FLOAT;
BEGIN
IF str IS NULL
THEN
RETURN 0;
ELSE
BEGIN
SELECT TO_NUMBER (str)
INTO v_str
From dual;
EXCEPTION
WHEN INVALID_NUMBER
THEN
RETURN
1. Composition of the NLS_LANG ParameterThe NLS_LANG parameter consists of the following parts:NLS_LANG = _.
The meanings of NLS_LANG are as follows:LANGUAGE:-Oracle message language-Display month and day in dateSpecified by TERRITORY-Currency and
Web development involves two aspects: layout and content.On the layout, the CGI Module of PERL is powerful and easy to use. In just a few lines, HTML webpages can be dynamically generated.
To be fair, you must use a database to manage the content.
The shutdown command has four parameters: NORMAL, TRANSACTIONAL, IMMEDIATE, and ABORT. If no parameter is specified by default, the value is NORMAL. Shutdown normal: do not allow new connections, wait for the session to end, wait for the transaction
From: http://oracle.zjunbsn.com/content.asp? Id = 2900
Author: Wang Chang Source: Oracle ClubTime: 2008-10-18
Several Simple Steps greatly improve Oracle performance-I optimized the database three axes.Database optimization
From: http://hong9270503.blog.163.com/blog/static/1272923200916112245844/
To learn about oracle, we 'd better first understand the Oracle framework. In this way, we have an overall understanding of Oracle, which has the role of creating a
1. If windows is installed in the virtual machine, after you directly click [device]> [install enhancement function], the optical drive will automatically load the optical drive and directly go in, there should be an install program to run directly.
Oracle Database Import and Export method:
1. Use the command line:
Data export:
1. Export the database test completely, and the username System Password Manager is exported to D:/daochu. dmp.
ExpSystem/manager @ TESTFile = d:/daochu. dmp full = y
1. What is the Oracle character set?
The Oracle character set is a collection of symbols for the interpretation of byte data. It can be divided into different sizes and have an inclusive relationship. OracleThe architecture that supports national
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