Viewing table space Information
Statement one:
SELECT DBF. Tablespace_name "Table space name",Dbf. file_name "Table Space file",Dbf. Totalspace "Total (M)",Dbf. Totalblocks as total block number,Dfs. FREESPACE "Total surplus (M)",Dfs. Freeblocks
A stored procedure consists of three parts: a declaration, an execution section, and an exception.can have parameter-free programs and stored procedures with parameters.Non-parametric program syntax1 Create or replace procedure Noparpro2 as;3 begin4;
--------------------------
Initialize related parameters job_queue_processesAlter system set JOB_QUEUE_PROCESSES=39 scope=spfile;//maximum value cannot exceed 1000 job_queue_interval = 10//Schedule Job Refresh frequency seconds
Job_queue_process
1. Basic structure CREATE OR REPLACE PROCEDURE stored procedure name (parameter 1 in number, parameter 2 in number) is variable 1 INTEGER: = 0; Variable 2 DATE; The BEGIN end stored procedure name 2.SELECT into STATEMENT stores the results of a
One, the index type b-tree indexes Balanced binary tree, the default index type B-tree cluster indexes cluster's index type hash cluster indexes the hash index type Global and Local indexes index associated with patitioned table Reverse key indexes
The problem with a long field I have encountered, if you want to take the value of a long field, you must see the processing.
To add a new method:
/**
* Insert the method´s description here.
* Creation Date: (2002-6-4-17:37:55)
*/
public static
1 in the PowerDesigner table, and the various associations between the tables, when finished, select the menu item in the "Database" under the "Generate Database", find a path, save as a SQL statement.
2 in Pl/sql, tool "Import table, select the
010-06-18 17:47Disaster handling method after the Oracle data file was mistakenly deletedKey:oracle data File (datafile) is mistakenly deleted after the method is not restored, only the data file offline drop off, and delete the entire table
PDB tests: Creating, switching, deleting
-----------------------
The concept of CDB and PDB presented in ORACLE12CThey can be understood separately as containers and Plug-ins (PDB inserts in CDB)There is little difference between CDB management and
Oraclebackup.bat file as follows, open with Notepad
REM Call Logicbackup.bat%dump_dir%REM ==========================================================================================REM This batch implements a database logical backup of the Oracle
Original start
http://anforen.com/wp/2018/04/oracle_login_slowly/
Oracle with Pl/sql login, especially slow, more than 3 minutes, if the previous normal, and according to frequently asked questions, did not find a problem, then you can
Recently the customer requested that the system's database be backed up once a day, always keeping backup files for the last one weeks, and writing a script that might be used by a friend
New BAT file
-----------------------------------------------
Http://topic.csdn.net/u/20070327/17/e322facd-794d-48c8-9ea5-66e4a8394cfe.html
Declare num number; Begin Select COUNT (1) into NUM from user_tables where TABL E_name= '
Lead: Returns the value of the next record hire_date.
SELECT last_name, Hire_date,
Leads (hire_date, 1) over (order by hire_date) as "nexthired"
From Employees
WHERE department_id = 30;
Last_Name hire_date nexthired
------------------------- -----
Description: This import and export use the EXPDP and IMPDP command to operate, these 2 commands all need to operate on the server side
Http://www.cnblogs.com/huacw/p/3888807.html
First, export DMP files from an Oracle database
1. To the Linux
I. Description
During Oracle installation, you may experience an out of memory error due to insufficient system memory. We can solve it by adding memory.
And if it's a different situation: for example, I have two Oracle server installed on the host,
I. Installation of ORACLE12C
Install as normal installation method.
Oracle_base=/u01/app
Oracle_home=/u01/app/oracle
Oracle_sid=a4orcl
Second, install oracle11g
When installing oracle11g, the installation directory and related parameters are
Data incremental synchronization is implemented in two databases so that data between databases can be updated synchronously.
Oracle Database ip:192.168.0.1 (Source library), 192.168.0.2 (Target library)
1. Create test table in Source Library
CREATE
The DBA will periodically check the connection to the database to see if the number of sessions established with the database is normal, and if too many connections are established, the resources of the database are consumed. At the same time, some "
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.