Frequent update analysis of seq $table in ORACLE

When analyzing the AWR report of ORACLE, we found that the SQL ordered by Executions (recorded TOP SQL sorted by the number of executions of SQL). This sort shows the number of executions of SQL within the scope of monitoring.) There is a very frequent execution of SQL statements, executing tens of thousands of times in an hour:   update seq$ s ...

Posted by Terrum on Wed, 29 May 2019 13:23:09 +0200

Oracle03 - Cursors, exceptions, stored procedures, stored functions, triggers, and Java code access to Oracle objects

Author: Kentpeng   For reprinting, please specify the source: http://www.cnblogs.com/xieyupeng/p/7476717.html    1. Cursor (Cursor) If you have the concept of collections in your java program, then you will also use multiple records in pl/sql, at which point we will use cursors, which can store multiple pieces of data returned by queries. Gra ...

Posted by pradeepmamgain on Mon, 27 May 2019 18:42:27 +0200

Multiple Table Operation of SQL Statements

Before talking about multi-table queries, make a requirement that is not related to multi-table queries. Suppose you have such a column of IDS in Table B +------+ | id | +------+ | 1 | | 2 | | 1 | | 3 | | 4 | | 5 | +------+ Please indicate the serial number for the id column according to the query in table B and displa ...

Posted by moboter on Thu, 23 May 2019 02:46:21 +0200

Analysis of SQL in a hang database

Someone at the interface came to me and said that there was a stored procedure that couldn't run and tried to report errors several times. ORA-12801: Error signal in parallel query server p001, instance xx ORA-04030: Insufficient process memory when attempting to allocate 16328 bytes (xxxx) It also monitors the receipt of spatially increasi ...

Posted by mxdan on Sun, 19 May 2019 22:34:38 +0200

oracle database index related knowledge

1. Index: Two new tables, T1 and T2, are created as follows: When both tables are queried the same way, the T1 table uses an index, but the T2 table does not scan the full table. select * from t1 where id=10; select * from t2 where id=10; This is mainly because the values of the clustering factor in the T1 table ...

Posted by ozzmans on Sun, 19 May 2019 11:42:35 +0200

Ubuntu Linux System MariaDB10.3 Source Compilation Installation Notes

MySQL and Maria Widenius are real relatives and sisters, named after Michael Widenius, the father of MySQL, who was born to his first wife, My Widenius, and Maria Widenius, the daughter of his current wife.After Oracle acquired Sun, MySQL, previously sold to Sun by Monty, was inherited by Oracle.Oracle is the world's largest co ...

Posted by matthiasone on Sun, 19 May 2019 07:52:21 +0200

ORA-01779: Cannot modify columns corresponding to non-key saved tables

Today, Zhongshan company lets the dispatching arrangement batch be seen remotely, because it is the same source program, making the formal library will not report errors, making the test library will report errors, thinking of the problem of data or database settings, so it debugs the source program, and the program will report errors when it c ...

Posted by RedRasper on Sat, 18 May 2019 05:25:08 +0200

Detailed procedures for installing oracle 11 Under oracle ubuntu

                     Today, let's record the detailed process of installing oracle11 under ubuntu.The installation process was recorded when I installed it myself and is a viable solution. One: Environment Ubuntu:ubuntu 14.04 LTS amd64 bit oracle: oracle11 jdk: jdk1.7 Memory: 1G Hard Disk: 20G CPU:1 2: Installation 1. Downlo ...

Posted by happyness on Fri, 17 May 2019 16:47:46 +0200

This article shows you the default method of interface in Java 8

Java 8 is an important version of Oracle released in March 2014, and its API introduces many new methods on existing interfaces. For example, Java 8's List interface adds a sort method. Before Java 8, each class that implements the List interface must define the implementation of the sort method, or inherit its implementation from the parent cl ...

Posted by stevebrett on Fri, 17 May 2019 16:42:39 +0200

Add MySQL users and set corresponding permissions under CentOS 7

1. Enter the mysql command line, enter root and password [root@localhost ~]# mysql -u root -p Enter password:  Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 19 Server version: 5.7.22 MySQL Community Server (GPL)   Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.   Orac ...

Posted by hyp0r on Wed, 15 May 2019 14:21:26 +0200