The Oracle database system should be monitored regularly in the following manner:
?
(1). Daily operation Status of Oracle database, log files, backup, database space usage, system resource Usage check, find and solve problems.
(2). Every week to
--Start
Let's take a look at the definition of two tables:
--User
CREATE TABLE EMPLOYEE
(USERID number (9,0) not NULL,---User ID
companyid number (9,0),--- Company ID
telno VARCHAR2 (a)---subscriber phone
);
ALTER TABLE "EMPLOYEE"
This SQL, execute, query all employees of the month's attendance record summary, display all the data takes 2.3 seconds
String sql = "Select Userid,orgid," + subquery, performance too slow, not applicable
"(select username from t_acl_userinfo
Directory=========================================1. Introduction to Window function2. Window Function Example-all statistics3. Window function Advanced-scrolling statistics (cumulative/mean value)4. Window function Advanced-statistics based on time
Alternative use of Oracle profiling functions:
Over (partition by ...) in the analysis function using case when;
Cases:
Sql> with Pctest as (
2 Select 1 IDs, ' A1 ' name from dual
3 Union
4 SELECT 1 IDs, ' A2 ' name from Dual
5 Union
6
--Scene:
--In Oracle 11g environment
--the error is as follows:
Ora-06502:pl/sql: Numeric or value error: String buffer too small ORA-06512: in "Wmsys." Wm_concat_impl ", Line30--Check the reason: Wmsys. Wm_concat returns a varchar2, so the
Work needs, to query a node of all the child node information, found on the internet for a long time, did not see a direct example of many theories, so give an example, as my small white level people look at:
Give examples:
CREATE TABLE
Difference between left Outer join and Outer Association (+) in "original" Oracle 2008-03-23 16:22:37
url:http://space.itpub.net/?uid-6517-action-viewspace-itemid-216974
difference between on and where in Oracle's left join 2009-09-28
[Article summary] describes the basic use of the XmlType data type of Oracle9i includes: establishing a table with a XmlType data type Insert (insert) Data Query (SELECT) Data Update ( Update) Data Add more than 4k bytes of XML documents to
The solution to the failure of
PowerDesigner15 to connect to
Oracle is the first thing we want to introduce in this article: A table was designed in PowerDesigner15, Then you want to connect Oracle through the process PowerDesigner, and then
Sequence in Oracle is the serial number, which automatically increases each time it is fetched. Sequence is not related to the table.
1, create Sequence first to have create Sequence or create any Sequence permissions.
The statement is created as
I write a sales query function module, but in the test when the bar code/code/warehouse conditions sorted by the time there is no error, as long as the date of the search will have "Ora-01791 is not selected expression" error message, and then view
This section describes the Oracle subquery: The data used by the instance is the EMP employee table under the Scott user in Oracle, dept the Department table with the following data:One, sub-query 1, Concept: Another query embedded in a query, that
Oracle Servers (Oracle server) are comprised of instances and databases. The example is the so-called Relational database management system (relational Management System,rdbms), which is used to provide relevant database management functions, and
Database development or management personnel often need to create a large amount of test data, and tens of thousands of data records are required. If one data entry is required, it will waste a lot of time, this article describes how to quickly
Oracle Execution Plan Analysis
1. What is an execution plan?
An explain Plan is a representation of the access path that is taken when a query is executed within Oracle.
Ii. How to access data
At the physical level Oracle reads blocks of data. the
Package is an object in PLSQL.
Like a stored procedure, an object is stored in a stored procedure. In addition to syntax
There is nothing to say. Similar to Java, package is the relationship between interfaces and implementation classes.
Stored Procedures, learned how to use cursors, and learned how to process data. Implicit cursor select into from
All implicit cursors are assumed to return only one record.
You do not need to declare, open, or close an implicit cursor. PL/SQL
Post:
Oracle tablespace and Maintenance
Basic Concepts
The Oracle database is divided into logical regions called tablespaces-forming the logical structure of the Oracle database. I
Oracle databases can have one or more tablespaces, while one
In project development, we often have complicated business logic. Using the stored procedures of Oracle can greatly reduce the compilation workload of Java program code, and the stored procedures are executed on the database, so that the good
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