1. Check the system version number SCN according to the time point:
Select timestamp_to_scn (to_timestamp ('2017-01-07 11:20:00 ', 'yyyy-MM-DD hh: MI: ss') from dual
2. Check whether the data at the SCN time point of the table to be deleted is to
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.
When the database is an SQL Server, the Enterprise Library is very accessible. You can use the Enterprise Library Configuration tool to configure and then access the database in the code, however, it is not that convenient when data is replaced with
Select a row of records in the Table: (understanding: rownum is the number of rows sequentially allocated from the query returned by the Oracle System)Select * from (select rownum A, T. * From testtab t) where a = 2;Select * from (select rownum A, T.
Posted on Xu jianxiang
1. Execute the exp command to export the DMP File
Migrate some tablesExp username/password @ db_name tables = (Table1, table2) file = filepath. dmpMigrate a database under a userExp username/password @ db_name owner = (user1
Common commands in oracleChapter 1: Log Management
1. forcing log switchesSQL> alter system switch logfile;
2. forcing checkpointsSQL> alter system checkpoint;
3. adding online redo log groupsSQL> alter database add logfile [group 4]SQL>
Create or replace and resolve java source named "J1"...
Create or replace function f1(P1 in varchar2,P2 in varchar2) Return varchar2As language javaName 'j1. M1 (java. lang. String, java. lang. String) return java. lang. string ';
Function call.
Tree query and connect by in OracleUsing connect by and start with to create a report similar to a tree is not difficult, as long as you follow the following basic principles:When using connect by, the order of each clause should
Oracle uses block technology to ensure the serializability of concurrent operations. Oracle locks fall into two categories: Data locks (also known as DML locks) and dictionary locks. Dictionary locks are used internally by Oracle DBMS to block
The recovery mechanism in Oracle also uses two technologies: dumping and registering log files.
Oracle provides DBA with a variety of methods for dumping backup copies, such as file copying, using the Oracle Export utility, using the SQL command
Port Number
Description
1521
Default port of TNS Listener
1522-1540
Port used by TNS Listener
1575
Default port of Oracle Names Server
1630
Default port for Oracle Connection Manager-client
Create sequence command
PURPOSE:
To create a sequence. A sequence is a database object from which
Multiple users may generate unique integers. You can use sequences
To automatically generate primary key values.
SYNTAX:
Create sequence [schema.]
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
-- 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. 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
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.
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