After the local Oracle connection is created, the default is the GBK character set, if the connection server is not the same GBK character set will appear in Chinese garbled problem, this situation we need to modify the local character set to match
--first log in with the administrator's account (to have permissions to modify the user) system, the default database ORCL.Create user LCS identified by LCS default Tablespace lics_cs_data;--creating users and passwords, specifying table
Today, a database synchronization problem is encountered, the main library is closed, after restarting the main library, the repository does not synchronize the main library data properly. The repository can be consistent with the main library only
SELECT * FROM (select T1. table_name as "table name", t3.comments as "table description", T1. column_name as "field name", T1. Data_type as "data type", T1. Data_length as "Length", T1. NullAble as "is empty", t2.comments as "field description", T1.
Qingli> Cat ql_mon.shNohup $ORACLE _home/bin/sqlplus-s ql_mon_$1.logDeclareInt_count number (10);N Number (10);N_tmp number (10);N_subsid number (18);N_region number (5);V_biztype VARCHAR2 (5);E_my_exception Exception;E_nobiztype_exception Exception;
This is written by a master in my collection to remind myself of Oracle learning Route1, SQL, PL/SQL (There are a lot of videos online, you can do a simple start, then read a few books, do more experiments)As the basic skill of Oracle, we need to be
ASH (Active Session history)Ash is based on v$session, sampling once per second, recording events waiting for an active session. Inactive sessions are not sampled, and sampling work is done by the newly introduced background process MMNL. The
Number can be an integer, or it can be a decimal action item with a decimal point: A (number (18,2)), B (number (18,2)),+ add)1. If the action item has a null, the add result is null, a+null= Null2. Correct notation: NVL (a,0) +NVL (b,0) sum sumand
Restart the Oracle database and listener summary under Linux:Method 1:Log in to Linux with root SSH and open the terminal to enter the following command:CD $ORACLE _home #进入到oracle的安装目录Dbstart #重启服务器Lsnrctl Start #重启监听器CD $ORACLE _home
1. Parse tables and indexes (analyze does not rebuild the index)Analyze table TableName COMPUTE statisticsEquivalent to analyze table TableName compute statistics for table for all indexes for all columnsStatistics for table exist in views:
Partitioned tables in Oracle are frequently used in systems that are more frequent in systems with large amounts of data.When you refer to a partitioned table, you must first understand what a partition is. In fact, the so-called partition is simply
1.Redo Log Features
Redo logs are primarily disk I/O, logging database operations to log files. (Disk i\o performance can be a bottleneck)
There is only one active LGWR (log writer) process per instance, at least two log groups (logfile
The value passed by the front-end program is the result of a three-field combination, which is processed by the backend program and feeds the queried data back to the front end.PS: You cannot use field rpt_no directly, because in this record rpt_no
To use a data pump, you must first create a database directory Database directory only allows SYS to be created Normal user must be authorized to useSuppose Scott User is Export import userSql>! mkdir Dp_dirSql> Create directory Dp_dir as
Select DECODE (file_name, ' M ', Tablespace_name, Lpad ('---> ', 5) | | file_name) tablespace_name from (SELECT * FROM (Selec T tablespace_name, ' M ' file_namefrom dba_tablespaces UNION SELECT dba_tablespaces.tablespace_name,
Introduction to LONGRAWBLOBCLOB type in Oracle
Note:
RAW: unprocessed type, which can store binary data or byte charactersLONG: variable-length string data. The maximum length is 2 GB. LONG has the VARCHAR2 column feature. It can store at most one
Oracle Learning (1), oracle Learning
1. After the oracle database is installed, the system cannot log on to the database for the first time. You need to enter the sys user and change it to make it valid.2. When TNS reads the configuration, if
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