Recently, my NC project runs in Linux. Write down the installation process.============= Manually start Oracle ======## note: in this example, the oralce command is in the/home/oracle/product/10.2.0/db_1/bin directory. # You can change it to your
DBWn: the Database Block Writer is responsible for the background process of writing dirty blocks to the disk.
CKPT: The Checkpoint Process is only the header of the file for updating the data file to assist in creating the Checkpoint Process (DBWn )
Description: The structure of table ta and table tb is identical. To update table ta with data in table tb,
Requirements: Take the ta as the standard. If the ta does not have data, the data in the tb is fully merged into the ta;
If the data in ta
When installing Oracle 11g R2, the following message is displayed: swap size failed. The SIZE of SWAP space is smaller than the SIZE of SWAP space required by ORACLE. You do not want to re-partition the SWAP partition. Therefore, create a SWAP file
Oracle 9i changed the character set AL32UTF8 to ZHS16GBKSQL> conn/as sysdbaSQL> shutdown immediate;SQL> startup mountSQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 0;SQL> ALTER SYSTEM SET AQ_TM_PROCESSES =
Prepare to export the database from the server to the Local Machine for testing,
1. Install Oracle 10g on the local machine
2. Create a tablespace and a temporary tablespace
3. Create a user and be granted Permissions
First, start SQL * puls
Configuration in Oracle 10 GBUse RMAN> show all;The following shows the RMAN configuration parameters:
Configure retention policy to redundancy 1; # defaultConfigure backup optimization off; # defaultConfigure default device type to disk; #
There are two methods
1. The installation port is 3306 mysql
Tar-zxvf mysql-5.1.44.tar.gz
Cd mysql-5.1.44
Create a mysql user group
Groupadd mysql
Create a user named mysql3306
Useradd-g mysql mysql3306
Compile and install
. /Configure -- prefix
1. USERENV (OPTION)Returns the current session information.OPTION = 'isdba ': TRUE if the current role is a DBA; otherwise, FALSE.OPTION = 'language' returns the character set of the database.OPTION = 'sessionid' is the current session
Oracle does not have an auto-increment field, which can be indirectly implemented through sequence + trigger. In cmd, you can log on to sqlplus and run it directly. It usually takes a few steps:
1. Create a data table
Create table Test_Increase
In vim editing mode, the number of lines "sudo vi/etc/vim/vimrc" can be displayed. Add "set nu" to the opened file and save the settings and exit.
Use: "vi. bash_history" to view the previously entered commands
When compiling the database program
Read consistency ensures that the query results are consistent with the data at the time when the query is initiated, regardless of whether other transactions have changed the data during the query.
Assume that we have the following function to
I. Exceptions:
During database operations during development, the field encounters big data and the field is not BLOB. When the CLOB type is used, if the PreparedStatement method is used to setString, the following exception occurs: java. SQL.
UseSome, anyAndAllProcess the multi-row results returned by the subquery. Next we will briefly introduce the meanings of these keywords.
SomeThis indicates that one of the meanings is satisfied.OrThe comparative clause.
AnyIt also indicates
SQL> select name, value $ from props $ where name like '% NLS % ';
Name value $------------------------------------------------------------NLS_LANGUAGE AMERICANNLS_TERRITORY AMERICANLS_CURRENCY $NLS_ISO_CURRENCY AMERICANLS_NUMERIC_CHARACTERS
Problem description:
Export the table structures of all user tables in the Oracle database and store them in an Excel table. The storage information is shown in:
Select a. TABLE_NAME, A. COMMENTS, B. COLUMN_NAME, B. comments from USER_TAB_COMMENTS a,
Check memory and swap partition size# Grep MemTotal/proc/meminfo# Grep SwapTotal/proc/meminfo
Check disk space size# Df-h
Check the libaio package. CentOS 4.8 is not installed by default.Note: The error "ORA-12547: TNS: lost contact" is reported
Oracle Introduction
Oracle is the first word for English translation of oracle (Oracle bone inscriptions) Unearthed from Yin.
Oracle is the world's largest supplier of information management software and services. It was founded in 1977 and is
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