To modify the number of Oracle connectionsProblem Description: Client Connection Database error
Resolution process:
1. View the current number of sessions, processes, and sessions values, and found that the values of the session
If I hadn't used the Oracle lead this time, I wouldn't have found anything so useful.
Oracle statistical analysis function lead
Syntax structure:
Leads (value_expr [, Offset][,default]) over ([Query_partition_clause] ORDER by
After Oracle 10g installation is complete, its directory structure differs greatly from that of oracle9i. The main structure of the Oracle Database 10g and Oracle9i file directories is shown in the following illustration. The ora92 in the Oracle9i
--oracle How to bulk export the database table structure (build table statement)--1.
Use the System user creation path Utl_dir to hold the file-D:\HSX\DBA must be a pre-existing directory create or replace directory Utl_dir as ' D:/HSX/DBA ';
--Log
Oracle partitioned tables into different table spaces
Reference: http://hougbin.iteye.com/blog/1470505
Blog Categories:Database
query partition: Select *from user_extents WHERE partition_name= ' partition name ';
1 Create a table space
Create
There are two types of annotations in Oracle
First: "--" to annotate a line
The second: The beginning of the annotation "/*", the end of "* *" can be annotated multiple lines.
=================================================================
Table joins in three different ways: sort merge joins (sort merge join), nested loops joins (Nested Loops join), Hash joins (hash join). 1. Sort merge joins (sort merge Join)
The execution of the sort merge join IS as follows:
* Sort the rows of
The basic principles of cursors:
In Oracle, when a pl/sql block of a SELECT, INSERT, update, and DELETE statement is executed, Oracle assigns a buffer to it in memory, puts the execution result in the buffer, and the cursor is a pointer to it.
One. Sql*plus Client Tools
1. Download, URL: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html (click to open link)
2. Select the corresponding version of the operating system of the client, the window system as an
Download the installation package from the following website and choose your own version
Http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
Download the client and Sqlplus programs from the Oracle official website.
Take 11g as an
--Start LONG
Long is actually a string, and Oracle does not recommend that we use long, which is designed for backward compatibility, using CLOB, NCLOB, or blobs if necessary.
LONG RAW
Long Raw is used to store binary data, and Oracle does
Oracle rownum pseudo fields are used more frequently, especially in pagination, but because of its particularity many people may not understand its actual behavior, the network has many articles to introduce this rownum usage, but many are speaking
I. Use of the SQL language1. in operatorThe advantages of SQL in write are easier to write and easy to understand, which is more suitable for modern software development style.But SQL performance with in is always lower, and the steps taken from
Several ways to start Oracle database1, startup Nomount;Non-installation boot, this way startup executable: Rebuild the control file, rebuild the database, read the Init.ora file, start the instance, that is, start the SGA and background process,
Exceptions and rollbacks for OracleDECLAREDept_no Number(2) := -;BEGIN --Start a transaction INSERT intoDeptVALUES(Dept_no,'Marketing Department','Beijing');--Insert Department record INSERT
Objective to introduceA problem with project development now is the need to access the Oracle database from PostgreSQLAs a slag-slag ape, a face is crazy. So consulted the company's database on the Daniel Han. Tell me to use ORACLE_FDW can be
declare i number; temp_sum number; temp_hfmpcode temptable.pubname%type; --temptable.pubname%type指的是temptable表的pubname字段的类型 temp_fullname temptable.pubcode%type;begin select count(*) into temp_sum from temptable b; i := 1; while iThe above code can
First, the host descriptiondbprimary:192.168.1.57 Host name DB1DBSTANDBY:192.168.1.58 Host name DB2Sid:orclSecond, the configuration of TNS, the configuration of the file content:Dbprimary Listener.ora (/db/app/oracle/product/11.2.0/network/admi
Connect to Oracle database using Python;1. Install python3.0;2. Install the Cx_oracle module;3. Install oracle_client;(Oracle_client and Python bits are consistent; either install 32-bit or all 64-bit)导入连接oracle的模块import
(a) Insert data mode oneInsert statement syntaxINSERT into table [(column [, Column ...])]VALUES (value [, value ...]);Use this syntax to insert only one piece of data into a table at a timeIf you assign a value in the order of the columns, you can
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