I. Oracle's (Resource limit) profileto control the use of system resources , resources can be used to limit profiles. Resource restriction profiles are an important part of Oracle's security policy, and resource restriction profiles allow you to
I. SQL ClassificationDDL: Data Definition language (Language)DML: Data manipulation language (manipulation Language)TCL: Transaction Control Language (Transaction control Language)DQL: Data Query Language (Language)DCL: Data Control Language
A RAC cluster of a newly installed Oracle 11GR2Three nodesCreate a good database, everything is in normal progressThen went to install an Oracle client, and when the link was made there was a ORA-12545Then a simple Baidu, some people say is 11gr1
Summarize Oracle system views and table Daquan:Dba_ opening .....Dba_users Database user InformationDba_segments Table Segment InformationDba_extents Data Area InformationDba_objects Database object InformationDba_tablespaces database table Space
Topic One: Oracle queries1.where Query
The department number is 1 Department information
Select *fromwhere deptno=1;
The query name is an employee of KW, the string uses ' ', the content is case sensitive
Select
Control Panel → Services Find about ORCL Total 7 services:After the successful installation of Oracle 11g, a total of 7 services,The meanings of these seven services are:1. Oracle ORCL VSS Writer Service:Oracle Volume Mapping copy write service, VSS
select log_mode,open_mode ,database_role from v$database; --View Dataguard Master Standby status Select status from v$instance; --View Database Status alter database recover managed standby database cancel; --canceling the log application
Date Processing Time Date type
The date datetime type, which contains the time portion of the year, month, day, hour, minute, second, not containing the number of decimal digits and time zone of the second. Valid data range is January 1, 47
CommandDescriptionCrsctl start hasStart the database has service.CRSCTL Stat res-tCheck the status of each service (DG, monitor, asm instance, etc.) in ASM.SRVCTL Status ASMView the ASM instance state, normally the ASM instance of the master standby
1.Select query data in the tableSelect * from Stu;---Query the stu table for all data, * represents all2.dual , pseudo-table, the data to be queried does not exist in any table when usedselect sysdate from dual;----Query the current time of the
Query for WHERE statement--WHERE clause--The Enquiry department number is 10 of all employeesSelect * fromEmpwhereDeptno= Ten;--employees in the enquiry department with a salary of 3000Select * fromEmpwhereSal= the;--find the employee with number
The example in this article describes how C # calls Oracle stored procedures. Share to everyone for your reference. The implementation method is as follows:The Oracle database code is as follows: The code is as follows:Create or Replace procedure
This document contains almost every aspect of Oracle cursor use, and all passes the test--declaring cursors; cursor cursor_name is select_statement--for Loop Cursors--(1) Defining cursors--(2) Defining cursor variables--(3) Use this cursor with a
Common versions of Oracle databases
In the development of Oracle database, the database has been in a state of continuous upgrade, with the following versions:
Oracle 8,oracle 8i:oracle 8i means Oracle is formally evolving to the
Blob refers to the binary large object is the English binary Large objects written;CLOB refers to a large character object that is written in English character Large object.So both types are designed to store large amounts of data, where blobs are
DUMP function is a useful for this purpose.Sql> Select Dump (C1) from test;DUMP (C1)---------------------------------------------typ=96 len=4:48,49,53,48typ=96 len=4:48,48,49,48typ=96 len=4:48,48,53,48typ=96 len=4:48,49,48,48Where:TYP is the Oracle
Oracle tablespace temporary tablespace Information Query tutorial, oracle Information Query
I have been dealing with oracle databases for work in the past two days. Now I am writing my own thoughts and sharing them with you. If something is wrong,
Oracle queries the average SQL Execution time (Code instance) through the v $ SQL view, oraclesqlOracle queries the average SQL Execution time (Code instance) through the v $ SQL View)
SELECT SQL _TEXT, EXECUTIONS total EXECUTIONS, ELAPSED_TIME/1000
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