Extend group by statement

Learn from Chapter 5 of Oracle development art of breaking through the iceberg GROUP BY For simple group by statements, it is difficult to analyze the complex dimensions, and it is difficult to meet the requirements of the actual production of complex reports. The extension feature of group by is needed. The union statement can also meet the r ...

Posted on Mon, 23 Mar 2020 05:00:57 -0400 by shrimp

Oracle single instance migration to Oracle single instance

Catalog 1. Environment deployment 2 1. 1. Modify the database to archive mode. 2 1. 2 create test table 2 2. Backup preparation 2 2. 1 full database backup 2 2. 2 copy parameter file 2 2. 2. 1 view parameter file path 2 2. 2.2 copy parameter file 3 2. 2.4 creating dynamic files 3 2. 5 copying archives 3 ...

Posted on Fri, 13 Mar 2020 05:50:20 -0400 by lin

linux Installation of OCI client and php installation of oci8 extension

linux Installation of OCI client and php installation of oci8 extension oci client installation Install oci8 extension oci client installation Download packageoracle-instantclient18.3-basic-18.3.0.0.0-1.x86_64.rpmoracle-instantclient18.3-devel-18.3.0.0.0-1.x86_64.rpmoracle-instantclient18.3-sqlplus-18.3.0.0.0-1.x86_64.r ...

Posted on Sat, 28 Dec 2019 11:08:50 -0500 by zfred09

[vbox] 11g rac to simulate ocr damage recovery

Both the voice and ocr in 11gR2 are under the same disk group, so recovery is integrated View normal backups [grid@rac1 admin]$    [grid@rac1 admin]$ ocrconfig -showbackup  rac1     2019/05/08 12:27:51     /u01/app/11.2.0/grid/cdata/rac-cluster/backup00.ocr rac1     2019/05/07 15:32:37     /u01/app/11.2.0/grid/cdata/rac-clu ...

Posted on Fri, 15 Nov 2019 12:23:45 -0500 by egmax

oracle basically uses [7] single line function and group function

This article describes the functions in linux. In linux, functions are divided into single line functions and group functions. Single line functions are divided into string functions, number functions, date functions and other functions. Group functions are divided into max, min, avg, sum and count. 1 system, environment and preco ...

Posted on Wed, 06 Nov 2019 17:01:32 -0500 by TheDeadPool

Oracle create user and tablespace and authorization

Create users and tablespaces: 1. Log in to linux and log in as oracle user (if root is logged in, switch to oracle user with Su oracle command after login) 2. Open sqlplus in sysdba mode. The command is as follows: sqlplus / as sysdba 3. Create a temporary table space: --Queries the absolute path of the temporary tablespace file. If necessary, ...

Posted on Tue, 29 Oct 2019 10:42:38 -0400 by parawizard

ORACLE import and export

ORACLE import and export 1. Introduction EXP and IMP are client-side tools that can be used either on the client side or on the server side. EXPDP and IMPDP are tool programs on the server side. They can only be used on the ORACLE server side, but not on the client side. IMP only applies to EXP expo ...

Posted on Tue, 23 Jul 2019 00:57:41 -0400 by malam

oracle traditional export import and data pump export import

Oracle Table Space and Guide Library Summary I. Questions of Table Space 1.1 Table Space Creation 1.1 Path to your native environment: C: oracle product 10.2.0 oradata orcl create tablespace LTSYSDATA01 datafile 'C:\oracle\product\10.2.0\oradata\orcl\LTSYSDATA01A.DBF' size 1024M autoextend on next 50M maxsize unlimited logging extent mana ...

Posted on Mon, 10 Jun 2019 14:45:03 -0400 by rj2kix

Summary of the usage of oracle binding variables

In Oracle, there are two optional parsing processes for a submitted sql statement, hard parsing and soft parsing. A hard parsing needs to be parsed, execution path formulated, access plan optimized and other steps. Hard parsing not only consumes a lot of CPUs, but also occupies important latch resources. The only way th ...

Posted on Sun, 19 May 2019 13:45:53 -0400 by busterbry

Use and Management of Oracle-29-ASM

ASM (Automatic Storage Management) is a storage method introduced after oracle 10g. It is a volume manager developed by oracle itself, which can organize multiple bare devices in volume groups, and achieve system-level vg management using oracle process management.Using ASM allows us to use bare devices more flexibly. We view ...

Posted on Tue, 14 May 2019 23:20:24 -0400 by hughesa