About the Ash:v$session view is the most important dynamic performance view because it is dynamic, so once disconnected, the information previously recorded in V$session is lost, so in order to preserve these historical information, a
If you store a tree structure in a table, you need to deposit two field IDs and ParentID in the tables, indicating who the parent of each record is.
Table:treetable
Id
ParentID
Field 3
......
1
Null
A
The Show_space version is available on the web for a number of editions. Today, a generic version is sorted out for later use.
Create or Replace procedure Show_space (V_segment_name in Varchar2, V_segment_owne
explain how to unlock the user in Oracle
Absrtact: Here we will introduce Oracle's methods of unlocking users, including adding users, empowering, modifying passwords, unlocking, and so on in Oracle.
This article introduces Oracle's approach to
1.oracle Chinese Concept Manual
Both the concepts of connection (connection) and sessions (session ) are closely related to the user process , but they have different meanings.
connections : Communication channels between user processes and Oracle
This is often the case when you use Pl/sql developer to remove users."Unable to delete the currently connected user"
Workaround I post the SQL statement directly
/*
Delete the current connection user
* *-
1, first switch to SYSTEM user
With the rapid development of information technology and the deepening of enterprise information construction, the number of enterprise business system is increasing. At this time, the data interaction between the business systems, the data
☆ Database----containers for storing dataThe primary function of a database is to save data.The storage structure of the database---how the data is stored in the database
The storage structure of the ☆oracle database:Logical storage structure: How
--undo Table Space Summary
--View all table space names
Select name from V$tablespace;
--Create a new undo table space and set automatic extension parameters;
Create undo tablespace undotbs2 DataFile ' D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS02.
Set Operator: union/union All union set, INTERSECT intersection, minus difference set
one, UNION and set, the public part only contains one time
example: to find the EMP table ename containing ' a ' or containing ' M '
sql> SELECT * from emp where
Trigger
Is the code block that executes automatically when a particular event occurs. Similar to stored procedures, but users cannot call them directly.
Function:1, allow/limit the modification of the table2, automatically generate derived columns,
A version of Show_space written by Master Tom. Often used in storage space analysis.
Create or Replace procedure Show_space (P_segname in Varchar2, P_owner in Varc
Har2 Default User, P_type in varchar2 default
--Start
In the database, each row has an address, and we can query the pseudo-column ROWID to get this value.
CREATE TABLE TEST
(
NAME VARCHAR)
;
INSERT into TEST VALUES (' test ');
SELECT ROWID, NAME from TEST;
--Results
ROWID NAME
basic operations for recent Oracle use
1, about the database import and exportRegardless of the import export, the most basic or local need to install the Oracle client, or the most basic import export keywords are not recognized, this is the most
It is often encountered in production to import a larger number of table values into a local text file. There are many kinds of methods, the more commonly used is the spool command: to output data files that conform to the required format, you only
Oracle9i introduces the merge command, which enables you to perform both inserts and U on a table in an SQL statement
PDA
tes operation. The merge command selects rows from one or more data sources to upd
ATI
ng or inserting to one or more
The 3 files Listener.ora, Tnsnames.ora, and Sqlnet.ora are the 3 primary files for the configuration of the Oracle network, where Listener.ora is associated with the database server side, and Tnsnames.ora and Sqlnet.ora these 2 files are not only
Reference Document: Http://www.cnblogs.com/eshizhan/archive/2012/04/06/2435493.html
--NVL function
-NVL (string1, replace_with) function: If string1 is null, the NVL function returns the Replace_with value, otherwise the string1 value is returned.
Oracle 10G began to support the use of sga_target parameters for SGA Automatic management, Oracle can automatically adjust the size of the shared pool and data buffer pool, the following is a OS:RH AS4 U7 64bit Environment Oracle version 10.2.0.1
In general, the Oracle server is the one that holds the database. That is, the Oracle server is to some extent equivalent to an Oracle database. The client is used by users who do not install the server. For example, I don't have an Oracle database,
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