Oracle database inserts data in table B into table A in batches

Business description: table A is the detailed statement of table B. now it is required that table B has millions of records. Insert the relevant records of table B in table A. Preparation: oracle database, database tool pl\sql, stored procedures written in the package. Implementation ideas: 3.1 get the total data volu ...

Posted by name1090 on Sat, 04 Apr 2020 13:06:07 -0700

GO learning notes (GO data type)

The second day of GO learning, today I mainly learned some data types of GO. The common data types of go are as follows 1 int (int, int8, int16, int32, int64) 2 float (float32, float64) 3 string 4 byte 5 bool 6 array 7 slice 8 map 9 channel 10 interface 11 strcut Common data types ...

Posted by furnissg on Fri, 03 Apr 2020 18:11:25 -0700

Oracle 11g single instance silent installation practice record (linux)

oracle 11g single instance silent installation AURHOR: Oracle_Ran Environmental Planning: OS Version : Red Hat Enterprise Linux Server release 6.7 (Santiago) Oracle Version: 11.2.0.4 Please refer to Oracle single instance installation document for operating system environment configuration   1. Upload the Oracle installation media, enter the ...

Posted by jonshutt on Wed, 01 Apr 2020 11:38:21 -0700

Oracle 12C creates indexes for partial partitions of partitioned tables

Sometimes we need to create indexes for some partitions. Oracle 11g provides this function. You can create local and global indexes on partial partitions. Global partial index: only those partitions that need to be indexed will be indexed, and other partitions will not be created. Local index: if index is turned on fo ...

Posted by jacko on Wed, 01 Apr 2020 09:45:30 -0700

ORACLE rebuild control file

Due to the loss of control file caused by a power failure, the startup database reported ORA-00205 error: SQL> startup ORACLE instance started. Total System Global Area 419430400 bytes Fixed Size 2925120 bytes Variable Size 285216192 bytes Database Buffers 125829120 bytes Redo Buffers ...

Posted by automatix on Wed, 01 Apr 2020 03:50:01 -0700

(Oracle) custom call AWR

Oracle - > auto send AWR Report September 21, 2016 09:31 Requirement Description: Daily or regular manual use of AWR reports to check the status of Oracle database is not only time-consuming but also labor-intensive, requiring the use of scripts to automatically collect AWR reports.    Analysis scheme: Script to collect AWR report: $o ...

Posted by DoomyCheese on Tue, 31 Mar 2020 21:18:39 -0700

Getting started with Oracle triggers

Write before: Recently, the old project has added the need of daily report optimization. Li Jie asked me to use triggers to update the daily report data when inserting or updating data. Mm-hmm-hmm. when I was learning database, I met triggers, but they all jumped by, and I didn't really practice them. This time, I have the right to learn again~ ...

Posted by jrws on Mon, 30 Mar 2020 10:17:43 -0700

8, PlSql programming of Oracle

1. PlSql programming procedure language In the sql statement of database, the common definition of variable condition judgment cycle structure is added to the statement of process 1) . basic grammatical structure declare – declaration part – similar to defining variables begin &nda ...

Posted by jayd1985 on Sun, 29 Mar 2020 09:01:48 -0700

Practical guide to anti deletion library

Some very good enterprise level functions of the database are "military for a thousand days, military for a while". For example, the Recycle Bin function in Oracle 10g can play the role of special soldiers in special circumstances. For example, when you delete a table space or a user schema, you may delete many tables, including some ...

Posted by ksteuber on Fri, 20 Mar 2020 01:24:48 -0700

Basic details of MySQL (the essence of writing sql statements is English translation + mathematical logic!)

MySQL introduction /* MySQL database management system (file management system in essence) Advantages over ordinary files: 1. Easy to manage data; 2. Suitable for complex multi-threaded operations In MySQL: database database (essentially folder) Create database: name of create database; Display dat ...

Posted by adt2007 on Sun, 15 Mar 2020 03:56:00 -0700