Share this
Repost: Oracle Protocol
by Pythian Marketing on Oct 23, 2012 12:00:00 AM
On 18th May 2003, a man named Ian Redfern published a paper documenting the TNS protocol internals. The paper, entitled Oracle Protocol, is clearly the result of painstaking research.
Over the years, the paper became a classic in our field. It is widely referenced by security professionals and performance-monitoring experts, both of whom need to perform detailed analysis of the data Oracle communicates over the network.
The original paper, however, became nearly impossible to find. It seemed to have only been published on the ukcert website, and after it was removed from their servers, the only place to find it was web.archive.org. Web Archive is wonderful, but it is a very unreliable way to preserve one of the most important papers published in our field.
Fortunately, Ian Redfern released his paper into the public domain. I can now reproduce it here in full to prevent it from disappearing forever:
Oracle Protocol
This document is an attempt to document the network protocol used by Oracle
database clients to communicate with Oracle database servers in order to allow
developers to decode this traffic and construct new, interoperable client and
server software.
The network protocol is known variously as SQL*Net, Net8, TNS and TTC7 – I
shall refer to it as Net8. It can be run over a number of transports, but I
shall only discuss the TCP/IP variant. I believe the details are valid for all
Oracle versions since Oracle 7.2
Basics
All Net8 traffic goes over an ordinary TCP connection to port 1521 on the
server, although this can be overridden. After logging in, multiple transactions
are carried over the connection until it is closed after logout.
Every packet begins with a length, a checksum, a type and a flags byte. Like
all Net8 integers, these are Big-Endian. The maximum length of a packet is the
SDU (Session Data Unit), which is at most 4086 bytes. By default the SDU is 4086
and the TDU (Transport Data Unit) is 32767 (also its maximum) – the TDU is never
smaller than the SDU.
XX XX Packet Length (8..4086) 00 00 Packet Checksum XX Type (0..19) 00 Flags (unused) 00 00 Header checksum
Possible packet types are:
Packet type | Meaning |
---|---|
1 | Connect |
2 | Accept |
3 | Acknowledge |
4 | Refuse |
5 | Redirect |
6 | Data |
7 | Null |
9 | Abort |
11 | Resend |
12 | Marker |
13 | Attention |
14 | Control Information |
The checksum is either the ones complement of the sum of the packet header or
whole packet (like an IP checksum) or – in reality – zero.
Connect
A Connect packet is of type 1. Its length is 34 unless there is connection
data. Connection data is a string of the form
(SOURCE_ROUTE=yes)(HOP_COUNT=0)(CONNECT_DATA=((SID=)CID=(PROGRAM=)(HOST=)(USER=)))
or similar.
If the connection data is longer than 221 bytes, it is carried immediately
after the CONNECT packet and the CONNECT packet length is 34 bytes, as if there
were no connection data.
00 bb Packet Length 00 00 Packet Checksum 01 Type Connect 00 Flags(Unused) 00 00 Header Checksum 01 36 Packet version number (01 34 also used) 01 2c Lowest compatible version number 0c 01 Global service options supported 08 00 SDU 7f ff TDU 43 80 Protocol Characteristics (4f 98 also used) 00 00 Max packets before ACK 01 00 1 in hardware byte order 00 81 Connect Data length 00 3a Connect Data offset 00 00 08 00 Max connect data that can be received 01 01 ANO Flags 00 00 00 00 00 00 00 00 00 00 7d 8b 00 00 00 18 00 00 00 00 00 00 00 00 [..] Connection Data
Sample connection data:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=ahost)(Port=1521)) (CONNECT_DATA=(SID=test)(CID=(PROGRAM=)(HOST=ahost)(USER=redferni))))
The response to this is a packet of type Accept (2), Redirect (5) or Refuse
(4). A Redirect carries a new set of connection information as its payload.
Resend (11) should be ignored.
Accept
An Accept packet has the following form:
00 20 Overall Length 00 00 Checksum 02 Type Accept 00 Flags 00 00 Header Checksum 01 36 Version 08 01 Global Service Options 08 00 SDU 7f ff TDU 01 00 Hardware Byte Order 00 00 Data Length 00 20 Data Offset 01 Flag0 01 Flag1 00 00 00 00 00 00 00 00 Data
Refuse
A Refuse packet has the following form:
00 20 Overall Length 00 00 Checksum 02 Type Refuse 00 Flags 00 00 Header Checksum 01 Application Reason for Refusal 00 System Reason for Refusal 00 10 Data Length [..] Data
Data
All traffic after the initial handshake is sent as Data packets, with the
exception of Marker packets, used for interruption.
A Data packet has the following form:
00 91 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 5e 1d Packet Counter 61 80 00 00 00 00 00 00 fc bf 12 08 18 00 00 00 f8 61 12 08 09 00 00 00 00 00 00 00 1c 62 12 08 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1e 62 12 08 73 65 6c 65 63 74 20 2a 20 66 72 select * fr 6f 6d 20 76 24 73 65 73 73 69 6f 6e om v$session 0a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
The connection is terminated by a Data packet with DataFlags = 0x0040:
00 0a Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Padding 00 40 Data Flags (bit 0x0040 set for EOF)
Additional Network Option Negotiation
After the Accept packet is received, there may be an optional ANO
negotiation, where the client and server indicate which ANO drivers they want to
use.
00 8f Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) de ad be ef ANO Negotiation header 00 85 overall data size = 13 + 20*4 + individual driver contents 08 00 50 00 Version 8.0.5 00 04 #Services: "Authentication", "Encryption", "DataIntegrity", "Supervisor" 00 Desired options flag 00 04 Service (Supervisor) 00 03 Service sub-packets 00 00 00 00 Marker 00 04 Version 00 05 Version 08 00 50 00 00 08 Drivers 00 01 Type = UB2 Array(1) 00 00 7d 8b l[] Current PID (32139) 50 82 28 d1 Junk 00 12 Object length = 10 + length * 2 00 01 Type = UB2 Array(1) de ad be ef 00 03 Array marker 00 00 00 04 Array length 00 04 Array entry selectedDrivers[0] 00 01 Array entry selectedDrivers[1] 00 01 Array entry selectedDrivers[2] 00 02 Array entry selectedDrivers[3] 00 01 Service (Authentication) 00 03 Service sub-packets 00 00 00 00 Marker 00 04 Version 00 05 Version 08 00 50 00 00 02 00 03 UB2 e0 e1 Constant 00 02 00 06 Status fc ff Constant 00 02 Service (Encryption) 00 02 Service sub-packets 00 00 00 00 Marker 00 04 Version 00 05 Version 08 00 50 00 00 01 00 01 UB2Array 00 AlgID (0=none) 00 03 Service (DataIntegrity) 00 02 Service sub-packets 00 00 00 00 Marker 00 04 Version 00 05 Version 08 00 50 00 00 01 Drivers 00 01 UB2Array 00
Potential data types are String(0), UB2Array(1), UB1(2), UB2(3), UB4(4),
Version(5), Status(6)
The response is:
00 7f Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) de ad be ef ANO negotiation header 00 75 Overall data length 08 00 50 00 Version 00 04 #Services 00 Services to be used 00 04 Service (Supervisor) 00 03 Service sub-packets 00 00 00 00 Error 00 04 Version 00 05 Version 08 00 50 00 00 02 00 06 Status 00 1f Error if status != 31 00 0e 00 01 UB2Array de ad be ef 00 03 Array Marker 00 00 00 02 Array Length 00 04 Array Value selectedDrivers[0] 00 01 Array Value selectedDrivers[1] 00 01 Service (Authentication) 00 02 Service sub-packets 00 00 00 00 Error 00 04 Version 00 05 Version 08 00 50 00 00 02 00 06 Status fb ff 00 02 Service (Encryption) 00 02 Service sub-packets 00 00 00 00 Error 00 04 Version 00 05 Version 08 00 50 00 00 01 00 02 UB1 00 AlgID (0=none) 00 03 Service (DataIntegrity) 00 02 Service sub-packets 00 00 00 00 Error 00 04 00 05 Version 08 00 50 00 00 01 00 02 UB1 00 On/Off
It should be acceptable to use these canned packets for negotiations – they
simply disable all ANO facilities.
Types and marshalling
This is not a true self-descriptive mechanism like ASN.1 or XML, but it does
deal with variable-length binary data, and so it has a marshalling mechanism for
doing so.
There are four native types: B1, B2, B4 and PTR. Each one can be shipped as
native, universal, LSB or (universal and LSB). Native values are big-endian,
universal ones are length-byte-preceeded and LSB ones are little-endian.
By default, B1 types (signed and unsigned bytes) are native, B2, B4 and PTR
are universal. Universal types are a length followed by the non-zero bytes of
data, so 0 is represented as just as zero byte. Negative values are indicated by
setting the high bit of the length.
The following types fit into this scheme:
- UB1, unsigned byte length 1 (B1)
- SB1, signed byte length 1, never negative, B1
- UB2, unsigned byte length 2 (B2)
- SB2, signed byte length 2 (B2)
- UB4, unsigned byte length 4 (B4)
- SB4, signed byte length 4 (B4)
- UWORD, unsigned word length 4 (B4)
- SWORD, signed word length 4 (B4)
- RefCusror, signed word length 4 (B4)
- B1Array, array of B1, written as native
- UB4Array, array of UB4, written as multiple UB4s
- Ptr, pointer, byte 0 if null, otherwise byte 1
- O2U, boolean, byte 0 if false, byte 1 if true
- NULLPTR, byte 0
- PTR, byte 1
- CHR, character array, written as native or CLR if conversion
- CLR, byte array
- DALC, byte array, either 0 (if null/empty) or SB4 length followed by CLR
- UCS2, single unicode character
- TEXT, 0-terminated array of B1
A CLR is a byte array in 64-byte blocks. If its length <=64, it is just
length-byte-preceeded and written as native. Null arrays can be written as the
single bytes 0x0 or 0xff. If length >64, first a LNG byte (0xfe) is written,
then the array is written in length-byte-preceeded chunks of 64 bytes (although
the final chunk can be shorter), followed by a 0 byte. A chunk preceeded by a
length of 0xfe is ignored.
A UCS2 character is (if B2 is universal, as is usual) prefixed by a byte of 1
or 2. The character then follows in one or two bytes, reversed if B2 is LSB
(which it usually isn’t).
In this document I will not mark B1 types as they are always raw bytes.
Logon
First we get the v8 TTI protocol negotiation. The client passes in its client
type and a list of versions – presumably those it is compatible with. The TTI7
client handles up to version 4, sqlplus up to 5 and the JDBC client up to 6.
I shall document the latest protcol, version 6, as used by the JDBC client,
as it is the current version.
00 21 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 01 TTIpro 06 05 04 03 02 01 00 Acceptable protocol versions 4a 61 76 61 5f 54 54 43 2d 38 2e 32 2e 30 00 "Java_TTC-8.2.0\0"
The response is:
00 90 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 01 TTIpro 05 Version (4=7.2.3, 5=8.0.3, 6=8.1.0) 00 Ignored 4c 69 6e 75 78 69 33 38 36 2f 4c 69 TEXT, server string 6e 75 78 2d 32 2e 30 2e 33 34 20 00 (Linuxi386/Linux-2.0.34 \0) 01 00 UB2 native LSB, Server charset 00 Server flags 00 00 UB2 native LSB, Server charset graph elements (followed by 5 bytes per element) 00 64 UB2 native, fdoLength, followed by fdoLength bytes of fdo 00 00 00 60 data length? 01 unknown 1f Length of first part 0f Length of second part 05 0b 0c 03 0c 0c 05 04 05 0d 06 09 07 08 05 0e Unknown 05 06 05 0f 02 ec eb ed 05 0a 05 05 05 05 05 Unknown 08 23 43 23 23 08 11 23 08 11 41 b0 23 00 83 unknown 00 01 00 01 03 NCHAR_CHARSET 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
If Version >= 6, this is followed by two length-byte-preceeded byte
arrays.
The next stage sorts out any differences in type representation:
00 10 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 02 TTIdty 01 00 UB2 native LSB, charset in 01 00 UB2 native LSB, charset out 00 conversion flags 01 01 01 00 02 02 0a 00 08 08 01 00 0c 0c 0a 00 type representations 17 17 01 00 18 18 01 00 19 19 01 00 1a 1a 01 00 1b 1b 01 00 1c 1c 01 00 1d 1d 01 00 1e 1e 01 00 1f 1f 01 00 20 20 01 00 21 21 01 00 0a 0a 01 00 0b 0b 01 00 22 22 01 00 23 23 01 00 24 24 01 00 25 25 01 00 26 26 01 00 28 28 01 00 29 29 01 00 2a 2a 01 00 2b 2b 01 00 2c 2c 01 00 2d 2d 01 00 2e 2e 01 00 2f 2f 01 00 30 30 01 00 31 31 01 00 32 32 01 00 33 33 01 00 34 34 01 00 35 35 01 00 36 36 01 00 37 37 01 00 38 38 01 00 39 39 01 00 3a 3a 01 00 3b 3b 01 00 3c 3c 01 00 3d 3d 01 00 3e 3e 01 00 3f 3f 01 00 40 40 01 00 41 41 01 00 42 42 01 00 43 43 01 00 47 47 01 00 48 48 01 00 49 49 01 00 4b 4b 01 00 4d 4d 01 00 4e 4e 01 00 4f 4f 01 00 50 50 01 00 51 51 01 00 52 52 01 00 53 53 01 00 54 54 01 00 55 55 01 00 56 56 01 00 57 57 01 00 59 59 01 00 5a 5a 01 00 5c 5c 01 00 5d 5d 01 00 62 62 01 00 63 63 01 00 67 67 01 00 6b 6b 01 00 75 75 01 00 78 78 01 00 7c 7c 01 00 7d 7d 01 00 7e 7e 01 00 7f 7f 01 00 80 80 01 00 81 81 01 00 82 82 01 00 83 83 01 00 84 84 01 00 85 85 01 00 86 86 01 00 87 87 01 00 88 88 01 00 89 89 01 00 8a 8a 01 00 8b 8b 01 00 8c 8c 01 00 8d 8d 01 00 8e 8e 01 00 8f 8f 01 00 90 90 01 00 91 91 01 00 94 94 01 00 95 95 01 00 96 96 01 00 97 97 01 00 9d 9d 01 00 9e 9e 01 00 9f 9f 01 00 a0 a0 01 00 a1 a1 01 00 a2 a2 01 00 a3 a3 01 00 a4 a4 01 00 a5 a5 01 00 a6 a6 01 00 a7 a7 01 00 a8 a8 01 00 a9 a9 01 00 aa aa 01 00 ab ab 01 00 ad ad 01 00 ae ae 01 00 af af 01 00 b0 b0 01 00 b1 b1 01 00 b4 b4 01 00 b5 b5 01 00 b6 b6 01 00 b7 b7 01 00 e7 e7 01 00 03 02 0a 00 04 02 0a 00 05 01 01 00 06 02 0a 00 07 02 0a 00 09 01 01 00 0d 00 0e 00 0f 17 01 00 10 00 11 00 12 00 13 00 14 00 15 00 16 00 27 78 01 5d 01 26 01 00 3a 00 44 02 0a 00 45 00 46 00 4a 00 4c 00 58 00 5b 02 0a 00 5e 01 01 00 5f 17 01 00 60 60 01 00 61 60 01 00 64 00 65 00 66 66 01 00 68 00 69 00 6a 6a 01 00 6b 00 6c 6d 01 00 6d 6d 01 00 6e 6f 01 00 6f 6f 01 00 70 70 01 00 71 71 01 00 72 72 01 00 73 73 01 00 74 66 01 00 76 00 77 00 79 00 7a 00 7b 00 88 00 92 92 01 00 93 00 98 02 0a 00 99 02 0a 00 9a 02 0a 00 9b 01 01 00 9c 0c 0a 00 ac 02 0a 00 ae 00 00 terminator
If the server version is at least 6, this is foll,owed by two more
length-byte-preceeded byte arrays, CTcap (17×0, 3, 0, 0, 0) and RTcap (2).
The response is:
00 0b Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 02 TTIdty [..] type representations - safe to ignore these 00 00 array teminator
Authentication step
00 59 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 TTCCode 52 FunCode 00 seq number 01 PTR user 01 06 SB4 user length 00 PTR password 00 SB4 password length 00 SB4 audit flag 00 UB4 connect flag 00 SB4 revision level 00 O2U padding 01 PTR terminal 01 07 SB4 terminal length 01 PTR machine 01 05 SB4 machine length 01 PTR sysusername 01 08 SB4 sysusername length 02 10 00 SB4 size of UCAUAC 00 PTR PID 00 SB4 PID length 01 PTR progname 01 10 SB4 progname length 00 PTR server attributes 00 SB4 server attributes length 00 PTR server data 00 SB4 server data length 01 PTR server info 01 10 SB4 server info length 01 O2U return 73 79 73 74 65 6d user="system" [password] 75 6e 6b 6e 6f 77 6e terminal="unknown" 77 69 6c 6d 61 machine="wilma" 72 65 64 66 65 72 6e 69 sysusername="redferni" [processid] 4a 44 42 43 20 54 68 69 6e 20 43 6c 69 65 6e 74 progname="JDBC Thin Client"
The response is:
00 34 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 08 OK 01 10 UB2 encrypted session key length 41 41 34 33 42 36 31 44 34 32 34 32 36 39 44 32 AA43B61D424269D2 04 00 00 00 00 00 00 00 00 00 00 oer, ignored 00 00 00 00 00 00 00 00 00 00 00 00
Standard error
An error object has the following structure:
UB4 current row number UB2 return code UB2 array element with error UB2 array element error number UB2 current cursor ID SB2 error position UB1 SQL type SB1 fatal SB2 flags SB2 user cursor options UB1 UPI parameter UB1 warning flag UB4 rid.ti5.rba UB2 rid.ti5.partition ID UB1 rid.ti5.table ID UB4 rid.block number UB2 rid.slot number SWORD OS error UB1 statement number UB1 call number UB2 padding UB4 successful iterations CLR for REFS [error message if return code != 0]
The authentication step is now repeated, but this time with the password
encrypted with the session key.
00 6b Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 TTCCode 51 FunCode - second phase login 00 seq number 01 PTR user 01 06 SB4 user length 01 PTR password 01 11 SB4 password length 00 SB4 audit flag 00 UB4 connect flag 00 SB4 revision level 00 O2U padding 01 PTR terminal 01 07 SB4 terminal length 01 PTR machine 01 05 SB4 machine length 01 PTR sysusername 01 08 SB4 sysusername length 02 10 00 SB4 size of UCAUAC 00 PTR PID 00 SB4 PID length 01 PTR progname 01 10 SB4 progname length 00 PTR server attributes 00 SB4 server attributes length 00 PTR server data 00 SB4 server data length 01 PTR server info 01 10 SB4 server info length 01 O2U return 73 79 73 74 65 6d user="system" 45 42 35 33 43 44 30 30 46 45 36 33 36 45 37 36 31 password="manager" 75 6e 6b 6e 6f 77 6e terminal="unknown" 77 69 6c 6d 61 machine="wilma" 72 65 64 66 65 72 6e 69 sysusername="redferni" [processid] 4a 44 42 43 20 54 68 69 6e 20 43 6c 69 65 6e 74 progname="JDBC Thin Client"
The response is:
00 21 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 04 OK 00 00 00 00 00 00 00 00 00 00 00 00 00 oer, ignored 00 00 00 00 00 00 00 00 00
It is possible to receive a warning:
0f Warning UB2 return code UB2
warning flag CLR [warning message if return code != 0]
Version
The client then asks the server for its version details:
00 13 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 TTI function 3b version function 00 seq number 01 O2U rdbms version 02 01 00 SWORD buffer length 01 O2U return version length 01 O2U return version number
The response is:
00 5f Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 08 OK 01 4c UB2 length String "Oracle8 Release 8.0.5.0.0 - Production\n PL/SQL Release 8.0.5.0.0 - Production" 04 08 00 50 00 UB4 version 8.0.5.0 09 END
Auto-commit
The next thing the driver does is set auto-commit to ‘on’:
00 13 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 TTI function 0c set autocommit on 00
The response is:
00 0b Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 09 OK
At this point, the client may send the following SQL:
ALTER SESSION SET NLS_LANGUAGE = 'ENGLISH' ALTER SESSION SET NLS_TERRITORY = 'UNITED KINGDOM' SELECT VALUE FROM NLS_INSTANCE_PARAMETERS WHERE PARAMETER ='NLS_DATE_FORMAT' ALTER SESSION SET NLS_DATE_FORMAT = '[value]' (optional)
We have now logged in.
Password algorithm
The Oracle password encryption mechanism is based on DES, and uses a random
challenge from the server which the client must encrypt. The algorithm is quite
complex, and is most easily described in the attached Perl source
– you will need Crypt::DES and Crypt::CBC to use it.
There is now also a C version, orapasswd.c
by Xue Yong Zhi, which requires OpenSSL.
SQL
First, it is necessary to open a statement:
00 0f Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 TTCCode function 02 function = Oopen 00 seqnumber 01 O2U cid 00 UWORD opesiz
The response is:
00 0e Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 08 OK 01 01 SWORD cid 09 END
Here is a SQL query:
00 42 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 TTCCode function 47 function = Oall7 00 seqnumber 02 80 21 UB4 options NOPLSQL | EXECUTE | PARSE 01 01 SWORD cursor 01 PTR sqlStmt 01 17 SB4 SQL statment length 00 NULLPTR dbLink 00 SB4 dbLink length 01 PTR inVector 01 07 SB4 inVector length 01 O2U outVector 01 02 SB4 outVector length 00 O2U outVecRet 00 NULLPTR defCols 00 SWORD defCols 00 NULLPTR binCols 00 SWORD binCols 73656c656374 20 2a 20 66726f6d 20 762473657373696f6e select * from v$session [dbLink] 01 01 01 01 00 00 00 00 00 UB4Array inVector
Bitmap for options:
1 | PARSE |
8 | BIND |
16 | DEFINE |
32 | EXECUTE |
64 | FETCH |
128 | CANCEL |
256 | COMMIT |
512 | EXACTFE |
1024 | SNDIOV |
32768 | NOPLSQL |
The value of options is constructed in the following manner:
If call is
parse_execute, options = NOPLSQL|EXECUTE|PARSE. If call is fetch, options =
NOPLSQL|FETCH.
If call is execute_fetch, check the SQL. If select or with, options =
NOPLSQL|EXECUTE_FETCH. If begin, call or declare, options = SNDIOV|EXECUTE (if
binds depth nonzero) otherwise 32. If insert, delete, update or other, options =
NOPLSQL|EXECUTE. If call is parse_execute_fetch, options is same as
execute_fetch plus PARSE.
In all cases, if binds depth is nonzero, set the BIND bit, and if defines
depth is nonzero, set the DEFINE bit.
inVector[0] is always 1. inVector[1] is 1 if not NOPLSQL. If (EXECUTE and not
FETCH), inVector[1] = binds depth (or 1 if binds depth is 0). If FETCH,
inVector[1] = defines depth.
The response is:
00 29 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 08 Response code - 8 = RPA 01 02 UB2 OutVecRet - length of output vector 00 00 UB4Array outVector[] 04 Code - 4 = OER 00 UB4 current row number 00 UB2 return code 00 UB2 array element with error 00 UB2 array element error number 01 01 UB2 current cursor ID 00 SB2 error position 03 UB1 SQL type 00 SB1 fatal 00 SB2 flags 00 SB2 user cursor options 00 UB1 UPI parameter 00 UB1 warning flag 00 UB4 rid.ti5.rba 00 UB2 rid.ti5.partition ID 00 UB1 rid.ti5.table ID 00 UB4 rid.block number 00 UB2 rid.slot number 00 SWORD OS error 00 UB1 statement number 00 UB1 call number 00 UB2 padding 01 01 UB4 successful iterations
If there are binds or defines, these are now marshalled and sent to the
server. I shall describe these at a later date.
This is followed by a version 8 array request (for Oracle 8.0.3 and above) to
describe the columns coming back:
00 16 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 TTCCode function 62 function = v8Odscrarr 00 seqnumber 07 operation flags (always 7) 01 01 SWORD cursor ID 00 NULLPTR SQL text 00 SB4 SQL text length 01 02 UB4 SQL parse version (always 2) 01 O2U UDS array 01 O2U num UDS [SQL text]
The response is:
04 c0 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 08 OK 01 29 UB2 numUDs
There follows a series of UDSes, each of which describes a column. Each UDS
begins with a v7OAC:
17 v7oacdty 00 v7oacflg 00 v7oacpre 00 v7oacscl (UB2 if oadty==NUMBER) [padding byte if oadty==TIMESTAMP, TIMESTAMPTZ, INTERVALDS, TIMESTAMPLTZ] 01 04 SB4 v7oacmxl max length 00 SB4 v7oacmal 00 SB4 v7oacfl2
If v7oacdty==NUMBER, v7oacmxl=22. If v7oacdty==DATE, v7oacmxl=7. If
v7oacdty==TIMESTAMPTZ, v7oacmxl=13.
This is followed by the rest of a v8oac:
00 DALC v8oactoid 00 UB2 v8oacvsn
00 UB2 v8ncs (charset) 00 v8FormOfUse
We then get the rest of the UDS:
01 null_allowed 05 udscnl 01 05 05 DALC column name 5341 4444 52 "SADDR" 00 DALC schema name 00 DALC type name
The next UDS looks like:
02 v7oacdty 00 v7oacflg 00 v7oacpre 00 v7oacscl 01 16 SB4 v7oacmxl 00 SB4 v7oacmal 00 SB4 v7oacfl2 00 DALC v8oactoid 00 UB2 v8oacvsn 00 UB2 v8ncs 00 v8FormOfUse 01 null_allowed 03 udscnl 01 03 03 DALC column name 53 49 44 "SID" 00 DALC schema name 00 DALC type name
These continue until:
01 v7oacdty 80 v7oacflg 00 v7oacpre 00 v7oacscl 01 03 SB4 v7oacmxl 00 SB4 v7oacmal 00 SB4 v7oacfl2 00 DALC v8oactoid 00 UB2 v8oacvsn 01 01 UB2 v8ncs 01 v8FormOfUse 01 null_allowed 0b udscnl 01 0b 0b DALC column name 46 41 49 4c 45 44 5f 4f 56 45 52 "FAILED_OVER" 00 DALC schema name 00 DALC type name
This is then followed by an oer:
04 oer 00 UB4 current row number 00 UB2 return code 00 UB2 array element with error 00 UB2 array element error number 01 01 UB2 current cursor ID 00 SB2 error position 03 UB1 SQL type 00 SB1 fatal 00 SB2 flags 00 SB2 user cursor options 00 UB1 UPI parameter 00 UB1 warning flag 00 UB4 rid.ti5.rba 00 UB2 rid.ti5.partition ID 00 UB1 rid.ti5.table ID 00 UB4 rid.block number 00 UB2 rid.slot number 00 SWORD OS error 00 UB1 statement number 00 UB1 call number 00 UB2 padding 01 01 UB4 successful iterations
Valid database types are:
Type # | Type |
---|---|
1 | VARCHAR |
2 | NUMBER |
6 | VARNUM |
8 | LONG |
11 | ROWID (deprecated), equiv to 104 |
12 | DATE |
23 | RAW |
24 | LONG_RAW |
96 | CHAR |
102 | RESULT_SET |
104 | ROWID |
109 | NAMED_TYPE |
111 | REF_TYPE |
112 | CLOB |
113 | BLOB |
114 | BFILE |
180 | TIMESTAMP |
181 | TIMESTAMPTZ |
182 | INTERVALYM |
183 | INTERVALDS |
231 | TIMESTAMPLTZ |
998 | PLSQL_INDEX_TABLE |
999 | FIXED_CHAR |
After the execute follows the fetch:
02 40 Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 TTCCode function 47 function = Oall7 00 seqnumber 02 80 50 UB4 options NOPLSQL | FETCH | DEFINE 01 01 SWORD cursor 00 NULLPTR sqlStmt 00 SB4 SQL statment length 00 NULLPTR dbLink 00 SB4 dbLink length 01 PTR inVector 01 07 SB4 inVector length 01 O2U outVector 01 02 SB4 outVector length 00 O2U outVecRet 01 PTR defCols 01 29 SWORD defCols 00 NULLPTR binCols 00 SWORD binCols [SQL statement] [dbLink] 01 01 01 0a 00 00 00 00 00 UB4Array inVector=[1,10,0,0,0,0,0]
This is followed by all the column definitions as oacs:
17 v7oacdty 01 v7oacflg (default 1) 00 v7oacpre 00 v7oacscl 01 04 SB4 v7oacmxl (max length) 00 SB4 v7oacmal 00 SB4 v7oacfl2 00 DALC v8oactoid 00 UB2 v8oacvsn 01 01 UB2 v8ncs (character set) 00 v8FormOfUse
Here, note that if oacdty==CHAR, oacflag=33. If oacdty==FIXED_CHAR, instead
use CHAR. If oadty==ROWID (either 11 or 104), use VARCHAR. If oacdty==RESULTSET,
oacmxl=1.
The reply to this is the rows:
05 3e Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 06 rxh (Row header) 02 rxh.flags=FLEOR 01 29 UB2 rxh.numRqsts 00 rxh.iterNum (high byte of numRqsts) 01 0a UB2 rxh.numItersThisTime 00 UB2 rxh.uacBufLength 07 rxd (Row data) 04 20 03 23 cc CLR 00 SB2 indicator 02 c1 02 CLR 00 indicator
This continues over many packets until all the columns and rows are
returned.
We end a query result set with a cancel:
00 0f Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 TTCCode function 14 function = cancel 00 seqnumber 01 01 SWORD cid
The response is:
00 0b Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) We end a statement with a close: 00 0f Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 03 TTCCode function 8 function = close 00 seqnumber 01 01 SWORD cid
The response is:
00 0b Overall Length 00 00 Checksum 06 Type Data 00 Flags 00 00 Header Checksum 00 00 Data Flags (bit 0x0040 set for EOF) 09 END
Release 0.9 – 18th May 2003Ian Redfern
(Ian.Redfern@LogicaCMG.com)
This document and its accompanying source code samples are in
the public domain, and you may do anything with them that you
wish. The author takes no responsibility for the accuracy of their
contents. Some of the terms in this document are trademarks of Oracle
and other companies. No trade secrets or other privileged information
has been used in its compilation, and the author has no relationship
with Oracle.
Share this
- Technical Track (967)
- Oracle (400)
- MySQL (137)
- Cloud (128)
- Open Source (90)
- Google Cloud (81)
- DBA Lounge (76)
- Microsoft SQL Server (76)
- Technical Blog (74)
- Big Data (52)
- AWS (49)
- Google Cloud Platform (46)
- Cassandra (44)
- DevOps (41)
- Azure (38)
- Pythian (33)
- Linux (30)
- Database (26)
- Podcasts (25)
- Site Reliability Engineering (25)
- Performance (24)
- SQL Server (24)
- Microsoft Azure (23)
- Oracle E-Business Suite (23)
- PostgreSQL (23)
- Oracle Database (22)
- Docker (21)
- Group Blog Posts (20)
- Security (20)
- DBA (19)
- Log Buffer (19)
- SQL (19)
- Exadata (18)
- Mongodb (18)
- Oracle Cloud Infrastructure (OCI) (18)
- Oracle Exadata (18)
- Automation (17)
- Hadoop (16)
- Oracleebs (16)
- Amazon RDS (15)
- Ansible (15)
- Ebs (15)
- Snowflake (15)
- ASM (13)
- BigQuery (13)
- Patching (13)
- RDS (13)
- Replication (13)
- Advanced Analytics (12)
- Data (12)
- GenAI (12)
- Kubernetes (12)
- Oracle 12C (12)
- Backup (11)
- LLM (11)
- Machine Learning (11)
- OCI (11)
- Rman (11)
- Cloud Migration (10)
- Datascape Podcast (10)
- Monitoring (10)
- R12 (10)
- 12C (9)
- AI (9)
- Apache Cassandra (9)
- Data Guard (9)
- Infrastructure (9)
- Oracle 19C (9)
- Oracle Applications (9)
- Python (9)
- Series (9)
- AWR (8)
- Amazon Web Services (AWS) (8)
- Articles (8)
- High Availability (8)
- Oracle EBS (8)
- Percona (8)
- Powershell (8)
- Recovery (8)
- Weblogic (8)
- Apache Beam (7)
- Backups (7)
- Data Governance (7)
- Goldengate (7)
- Innodb (7)
- Migration (7)
- Myrocks (7)
- OEM (7)
- Oracle Enterprise Manager (OEM) (7)
- Performance Tuning (7)
- Authentication (6)
- ChatGPT-4 (6)
- Data Enablement (6)
- Data Visualization (6)
- Database Performance (6)
- E-Business Suite (6)
- Fmw (6)
- Grafana (6)
- Oracle Enterprise Manager (6)
- Orchestrator (6)
- Postgres (6)
- Rac (6)
- Renew Refresh Republish (6)
- RocksDB (6)
- Serverless (6)
- Upgrade (6)
- 19C (5)
- Azure Data Factory (5)
- Azure Synapse Analytics (5)
- Cpu (5)
- Disaster Recovery (5)
- Error (5)
- Generative AI (5)
- Google BigQuery (5)
- Indexes (5)
- Love Letters To Data (5)
- Mariadb (5)
- Microsoft (5)
- Proxysql (5)
- Scala (5)
- Sql Server Administration (5)
- VMware (5)
- Windows (5)
- Xtrabackup (5)
- Airflow (4)
- Analytics (4)
- Apex (4)
- Best Practices (4)
- Centrally Managed Users (4)
- Cli (4)
- Cloud Spanner (4)
- Cockroachdb (4)
- Configuration Management (4)
- Container (4)
- Data Management (4)
- Data Pipeline (4)
- Data Security (4)
- Data Strategy (4)
- Database Administrator (4)
- Database Management (4)
- Database Migration (4)
- Dataflow (4)
- Dbsat (4)
- Elasticsearch (4)
- Fahd Mirza (4)
- Fusion Middleware (4)
- Google (4)
- Io (4)
- Java (4)
- Kafka (4)
- Middleware (4)
- Mysql 8 (4)
- Network (4)
- Ocidtab (4)
- Opatch (4)
- Oracle Autonomous Database (Adb) (4)
- Oracle Cloud (4)
- Pitr (4)
- Post-Mortem Analysis (4)
- Prometheus (4)
- Redhat (4)
- September 9Th 2015 (4)
- Sql2016 (4)
- Ssl (4)
- Terraform (4)
- Workflow (4)
- 2Fa (3)
- Alwayson (3)
- Amazon Relational Database Service (Rds) (3)
- Apache Kafka (3)
- Apexexport (3)
- Aurora (3)
- Azure Sql Db (3)
- Business Intelligence (3)
- Cdb (3)
- ChatGPT (3)
- Cloud Armor (3)
- Cloud Database (3)
- Cloud FinOps (3)
- Cloud Security (3)
- Cluster (3)
- Consul (3)
- Cosmos Db (3)
- Covid19 (3)
- Crontab (3)
- Data Analytics (3)
- Data Integration (3)
- Database 12C (3)
- Database Monitoring (3)
- Database Troubleshooting (3)
- Database Upgrade (3)
- Databases (3)
- Dataops (3)
- Dbt (3)
- Digital Transformation (3)
- ERP (3)
- Google Chrome (3)
- Google Cloud Sql (3)
- Graphite (3)
- Haproxy (3)
- Heterogeneous Database Migration (3)
- Hugepages (3)
- Inside Pythian (3)
- Installation (3)
- Json (3)
- Keras (3)
- Ldap (3)
- Liquibase (3)
- Love Letter (3)
- Lua (3)
- Mfa (3)
- Multitenant (3)
- Mysql 5.7 (3)
- Mysql Configuration (3)
- Nginx (3)
- Nodetool (3)
- Non-Tech Articles (3)
- Oem 13C (3)
- Oms (3)
- Oracle 18C (3)
- Oracle Data Guard (3)
- Oracle Live Sql (3)
- Oracle Rac (3)
- Patch (3)
- Perl (3)
- Pmm (3)
- Pt-Online-Schema-Change (3)
- Rdbms (3)
- Recommended (3)
- Remote Teams (3)
- Reporting (3)
- Reverse Proxy (3)
- S3 (3)
- Spark (3)
- Sql On The Edge (3)
- Sql Server Configuration (3)
- Sql Server On Linux (3)
- Ssis (3)
- Ssis Catalog (3)
- Stefan Knecht (3)
- Striim (3)
- Sysadmin (3)
- System Versioned (3)
- Systemd (3)
- Temporal Tables (3)
- Tensorflow (3)
- Tools (3)
- Tuning (3)
- Vasu Balla (3)
- Vault (3)
- Vulnerability (3)
- Waf (3)
- 18C (2)
- Adf (2)
- Adop (2)
- Agent (2)
- Agile (2)
- Amazon Data Migration Service (2)
- Amazon Ec2 (2)
- Amazon S3 (2)
- Apache Flink (2)
- Apple (2)
- Apps (2)
- Ashdump (2)
- Atp (2)
- Audit (2)
- Automatic Backups (2)
- Autonomous (2)
- Autoupgrade (2)
- Awr Data Mining (2)
- Azure Sql (2)
- Azure Sql Data Sync (2)
- Bash (2)
- Business (2)
- Caching (2)
- Cassandra Nodetool (2)
- Cdap (2)
- Certification (2)
- Cloning (2)
- Cloud Cost Optimization (2)
- Cloud Data Fusion (2)
- Cloud Hosting (2)
- Cloud Infrastructure (2)
- Cloud Shell (2)
- Cloud Sql (2)
- Cloudscape (2)
- Cluster Level Consistency (2)
- Conferences (2)
- Consul-Template (2)
- Containerization (2)
- Containers (2)
- Cosmosdb (2)
- Cost Management (2)
- Costs (2)
- Cql (2)
- Cqlsh (2)
- Cyber Security (2)
- Data Analysis (2)
- Data Discovery (2)
- Data Engineering (2)
- Data Migration (2)
- Data Modeling (2)
- Data Quality (2)
- Data Streaming (2)
- Data Warehouse (2)
- Database Consulting (2)
- Database Migrations (2)
- Dataguard (2)
- Datapump (2)
- Ddl (2)
- Debezium (2)
- Dictionary Views (2)
- Dms (2)
- Docker-Composer (2)
- Dr (2)
- Duplicate (2)
- Ecc (2)
- Elastic (2)
- Elastic Stack (2)
- Em12C (2)
- Encryption (2)
- Enterprise Data Platform (EDP) (2)
- Enterprise Manager (2)
- Etl (2)
- Events (2)
- Exachk (2)
- Filter Driver (2)
- Flume (2)
- Full Text Search (2)
- Galera (2)
- Gemini (2)
- General Purpose Ssd (2)
- Gh-Ost (2)
- Gke (2)
- Google Workspace (2)
- Hanganalyze (2)
- Hdfs (2)
- Health Check (2)
- Historical Trends (2)
- Incremental (2)
- Infiniband (2)
- Infrastructure As Code (2)
- Innodb Cluster (2)
- Innodb File Structure (2)
- Innodb Group Replication (2)
- Install (2)
- Internals (2)
- Java Web Start (2)
- Kibana (2)
- Log (2)
- Log4J (2)
- Logs (2)
- Memory (2)
- Merge Replication (2)
- Metrics (2)
- Mutex (2)
- MySQLShell (2)
- NLP (2)
- Neo4J (2)
- Node.Js (2)
- Nosql (2)
- November 11Th 2015 (2)
- Ntp (2)
- Oci Iam (2)
- Oem12C (2)
- Omspatcher (2)
- Opatchauto (2)
- Open Source Database (2)
- Operational Excellence (2)
- Oracle 11G (2)
- Oracle Datase (2)
- Oracle Extended Manager (Oem) (2)
- Oracle Flashback (2)
- Oracle Forms (2)
- Oracle Installation (2)
- Oracle Io Testing (2)
- Pdb (2)
- Podcast (2)
- Power Bi (2)
- Puppet (2)
- Pythian Europe (2)
- R12.2 (2)
- Redshift (2)
- Remote DBA (2)
- Remote Sre (2)
- SAP HANA Cloud (2)
- Sap Migration (2)
- Scale (2)
- Schema (2)
- September 30Th 2015 (2)
- September 3Rd 2015 (2)
- Shell (2)
- Simon Pane (2)
- Single Sign-On (2)
- Sql Server On Gke (2)
- Sqlplus (2)
- Sre (2)
- Ssis Catalog Error (2)
- Ssisdb (2)
- Standby (2)
- Statspack Mining (2)
- Systemstate Dump (2)
- Tablespace (2)
- Technical Training (2)
- Tempdb (2)
- Tfa (2)
- Throughput (2)
- Tls (2)
- Tombstones (2)
- Transactional Replication (2)
- User Groups (2)
- Vagrant (2)
- Variables (2)
- Virtual Machine (2)
- Virtual Machines (2)
- Virtualbox (2)
- Web Application Firewall (2)
- Webinars (2)
- X5 (2)
- scalability (2)
- //Build2019 (1)
- 11G (1)
- 12.1 (1)
- 12Cr1 (1)
- 12Cr2 (1)
- 18C Grid Installation (1)
- 2022 (1)
- 2022 Snowflake Summit (1)
- AI Platform (1)
- AI Summit (1)
- Actifio (1)
- Active Directory (1)
- Adaptive Hash Index (1)
- Adf Custom Email (1)
- Adobe Flash (1)
- Adrci (1)
- Advanced Data Services (1)
- Afd (1)
- After Logon Trigger (1)
- Ahf (1)
- Aix (1)
- Akka (1)
- Alloydb (1)
- Alter Table (1)
- Always On (1)
- Always On Listener (1)
- Alwayson With Gke (1)
- Amazon (1)
- Amazon Athena (1)
- Amazon Aurora Backtrack (1)
- Amazon Efs (1)
- Amazon Redshift (1)
- Amazon Sagemaker (1)
- Amazon Vpc Flow Logs (1)
- Amdu (1)
- Analysis (1)
- Analytical Models (1)
- Analyzing Bigquery Via Sheets (1)
- Anisble (1)
- Annual Mysql Community Dinner (1)
- Anthos (1)
- Apache (1)
- Apache Nifi (1)
- Apache Spark (1)
- Application Migration (1)
- Architect (1)
- Architecture (1)
- Ash (1)
- Asmlib (1)
- Atlas CLI (1)
- Audit In Postgres (1)
- Audit In Postgresql (1)
- Auto Failover (1)
- Auto Increment (1)
- Auto Index (1)
- Autoconfig (1)
- Automated Reports (1)
- Automl (1)
- Autostart (1)
- Awr Mining (1)
- Aws Glue (1)
- Aws Lake Formation (1)
- Aws Lambda (1)
- Azure Analysis Services (1)
- Azure Blob Storage (1)
- Azure Cognitive Search (1)
- Azure Data (1)
- Azure Data Lake (1)
- Azure Data Lake Analytics (1)
- Azure Data Lake Store (1)
- Azure Data Migration Service (1)
- Azure Dma (1)
- Azure Dms (1)
- Azure Document Intelligence (1)
- Azure Integration Runtime (1)
- Azure OpenAI (1)
- Azure Sql Data Warehouse (1)
- Azure Sql Dw (1)
- Azure Sql Managed Instance (1)
- Azure Vm (1)
- Backup For Sql Server (1)
- Bacpac (1)
- Bag (1)
- Bare Metal Solution (1)
- Batch Operation (1)
- Batches In Cassandra (1)
- Beats (1)
- Best Practice (1)
- Bi Publisher (1)
- Binary Logging (1)
- Bind Variables (1)
- Bitnami (1)
- Blob Storage Endpoint (1)
- Blockchain (1)
- Browsers (1)
- Btp Architecture (1)
- Btp Components (1)
- Buffer Pool (1)
- Bug (1)
- Bugs (1)
- Build 2019 Updates (1)
- Build Cassandra (1)
- Bundle Patch (1)
- Bushy Join (1)
- Business Continuity (1)
- Business Insights (1)
- Business Process Modelling (1)
- Business Reputation (1)
- CAPEX (1)
- Capacity Planning (1)
- Career (1)
- Career Development (1)
- Cassandra-Cli (1)
- Catcon.Pm (1)
- Catctl.Pl (1)
- Catupgrd.Sql (1)
- Cbo (1)
- Cdb Duplication (1)
- Certificate (1)
- Certificate Management (1)
- Chaos Engineering (1)
- Cheatsheet (1)
- Checkactivefilesandexecutables (1)
- Chmod (1)
- Chown (1)
- Chrome Enterprise (1)
- Chrome Security (1)
- Cl-Series (1)
- Cleanup (1)
- Cloud Browser (1)
- Cloud Build (1)
- Cloud Consulting (1)
- Cloud Data Warehouse (1)
- Cloud Database Management (1)
- Cloud Dataproc (1)
- Cloud Foundry (1)
- Cloud Manager (1)
- Cloud Migations (1)
- Cloud Networking (1)
- Cloud SQL Replica (1)
- Cloud Scheduler (1)
- Cloud Services (1)
- Cloud Strategies (1)
- Cloudformation (1)
- Cluster Resource (1)
- Cmo (1)
- Cockroach Db (1)
- Coding Benchmarks (1)
- Colab (1)
- Collectd (1)
- Columnar (1)
- Communication Plans (1)
- Community (1)
- Compact Storage (1)
- Compaction (1)
- Compliance (1)
- Compression (1)
- Compute Instances (1)
- Compute Node (1)
- Concurrent Manager (1)
- Concurrent Processing (1)
- Configuration (1)
- Consistency Level (1)
- Consolidation (1)
- Conversational AI (1)
- Covid-19 (1)
- Cpu Patching (1)
- Cqlsstablewriter (1)
- Crash (1)
- Create Catalog Error (1)
- Create_File_Dest (1)
- Credentials (1)
- Cross Platform (1)
- CrowdStrike (1)
- Crsctl (1)
- Custom Instance Images (1)
- Cve-2022-21500 (1)
- Cvu (1)
- Cypher Queries (1)
- DAX (1)
- DBSAT 3 (1)
- Dacpac (1)
- Dag (1)
- Data Analytics Platform (1)
- Data Box (1)
- Data Classification (1)
- Data Cleansing (1)
- Data Encryption (1)
- Data Estate (1)
- Data Flow Management (1)
- Data Insights (1)
- Data Integrity (1)
- Data Lake (1)
- Data Leader (1)
- Data Lifecycle Management (1)
- Data Lineage (1)
- Data Masking (1)
- Data Mesh (1)
- Data Migration Assistant (1)
- Data Migration Service (1)
- Data Mining (1)
- Data Monetization (1)
- Data Policy (1)
- Data Profiling (1)
- Data Protection (1)
- Data Retention (1)
- Data Safe (1)
- Data Sheets (1)
- Data Summit (1)
- Data Vault (1)
- Data Warehouse Modernization (1)
- Database Auditing (1)
- Database Consultant (1)
- Database Link (1)
- Database Modernization (1)
- Database Provisioning (1)
- Database Provisioning Failed (1)
- Database Replication (1)
- Database Scaling (1)
- Database Schemas (1)
- Database Security (1)
- Databricks (1)
- Datadog (1)
- Datafile (1)
- Datapatch (1)
- Dataprivacy (1)
- Datascape 59 (1)
- Datasets (1)
- Datastax Cassandra (1)
- Datastax Opscenter (1)
- Datasync Error (1)
- Db_Create_File_Dest (1)
- Dbaas (1)
- Dbatools (1)
- Dbcc Checkident (1)
- Dbms_Cloud (1)
- Dbms_File_Transfer (1)
- Dbms_Metadata (1)
- Dbms_Service (1)
- Dbms_Stats (1)
- Dbupgrade (1)
- Deep Learning (1)
- Delivery (1)
- Devd (1)
- Dgbroker (1)
- Dialogflow (1)
- Dict0Dict (1)
- Did You Know (1)
- Direct Path Read Temp (1)
- Disk Groups (1)
- Disk Management (1)
- Diskgroup (1)
- Dispatchers (1)
- Distributed Ag (1)
- Distribution Agent (1)
- Documentation (1)
- Download (1)
- Dp Agent (1)
- Duet AI (1)
- Duplication (1)
- Dynamic Sampling (1)
- Dynamic Tasks (1)
- E-Business Suite Cpu Patching (1)
- E-Business Suite Patching (1)
- Ebs Sso (1)
- Ec2 (1)
- Edb Postgresql Advanced Server (1)
- Edb Postgresql Password Verify Function (1)
- Editions (1)
- Edp (1)
- El Carro (1)
- Elassandra (1)
- Elk Stack (1)
- Em13Cr2 (1)
- Emcli (1)
- End of Life (1)
- Engineering (1)
- Enqueue (1)
- Enterprise (1)
- Enterprise Architecture (1)
- Enterprise Command Centers (1)
- Enterprise Manager Command Line Interface (Em Cli (1)
- Enterprise Plus (1)
- Episode 58 (1)
- Error Handling (1)
- Exacc (1)
- Exacheck (1)
- Exacs (1)
- Exadata Asr (1)
- Execution (1)
- Executive Sponsor (1)
- Expenditure (1)
- Export Sccm Collection To Csv (1)
- External Persistent Volumes (1)
- Fail (1)
- Failed Upgrade (1)
- Failover In Postgresql (1)
- Fall 2021 (1)
- Fast Recovery Area (1)
- Flash Recovery Area (1)
- Flashback (1)
- Fnd (1)
- Fndsm (1)
- Force_Matching_Signature (1)
- Fra Full (1)
- Framework (1)
- Freebsd (1)
- Fsync (1)
- Function-Based Index (1)
- GCVE Architecture (1)
- GPQA (1)
- Gaming (1)
- Garbagecollect (1)
- Gcp Compute (1)
- Gcp-Spanner (1)
- Geography (1)
- Geth (1)
- Getmospatch (1)
- Git (1)
- Global Analytics (1)
- Google Analytics (1)
- Google Cloud Architecture Framework (1)
- Google Cloud Data Services (1)
- Google Cloud Partner (1)
- Google Cloud Spanner (1)
- Google Cloud VMware Engine (1)
- Google Compute Engine (1)
- Google Dataflow (1)
- Google Datalab (1)
- Google Grab And Go (1)
- Google Sheets (1)
- Gp2 (1)
- Graph Algorithms (1)
- Graph Databases (1)
- Graph Inferences (1)
- Graph Theory (1)
- GraphQL (1)
- Graphical User Interface (Gui) (1)
- Grid (1)
- Grid Infrastructure (1)
- Griddisk Resize (1)
- Grp (1)
- Guaranteed Restore Point (1)
- Guid Mismatch (1)
- HR Technology (1)
- HRM (1)
- Ha (1)
- Hang (1)
- Hashicorp (1)
- Hbase (1)
- Hcc (1)
- Hdinsight (1)
- Healthcheck (1)
- Hemantgiri S. Goswami (1)
- Hortonworks (1)
- How To Install Ssrs (1)
- Hr (1)
- Httpchk (1)
- Https (1)
- Huge Pages (1)
- HumanEval (1)
- Hung Database (1)
- Hybrid Columnar Compression (1)
- Hyper-V (1)
- Hyperscale (1)
- Hypothesis Driven Development (1)
- Ibm (1)
- Identity Management (1)
- Idm (1)
- Ilom (1)
- Imageinfo (1)
- Impdp (1)
- In Place Upgrade (1)
- Incident Response (1)
- Indempotent (1)
- Indexing In Mongodb (1)
- Influxdb (1)
- Information (1)
- Infrastructure As A Code (1)
- Injection (1)
- Innobackupex (1)
- Innodb Concurrency (1)
- Innodb Flush Method (1)
- Insights (1)
- Installing (1)
- Instance Cloning (1)
- Integration Services (1)
- Integrations (1)
- Interactive_Timeout (1)
- Interval Partitioning (1)
- Invisible Indexes (1)
- Io1 (1)
- IoT (1)
- Iops (1)
- Iphone (1)
- Ipv6 (1)
- Iscsi (1)
- Iscsi-Initiator-Utils (1)
- Iscsiadm (1)
- Issues (1)
- It Industry (1)
- It Teams (1)
- JMX Metrics (1)
- Jared Still (1)
- Javascript (1)
- Jdbc (1)
- Jinja2 (1)
- Jmx (1)
- Jmx Monitoring (1)
- Jvm (1)
- Jython (1)
- K8S (1)
- Kernel (1)
- Key Btp Components (1)
- Kfed (1)
- Kill Sessions (1)
- Knapsack (1)
- Kubeflow (1)
- LMSYS Chatbot Arena (1)
- Large Pages (1)
- Latency (1)
- Latest News (1)
- Leadership (1)
- Leap Second (1)
- Limits (1)
- Line 1 (1)
- Linkcolumn (1)
- Linux Host Monitoring (1)
- Linux Storage Appliance (1)
- Listener (1)
- Loadavg (1)
- Lock_Sga (1)
- Locks (1)
- Log File Switch (Archiving Needed) (1)
- Logfile (1)
- Looker (1)
- Lvm (1)
- MMLU (1)
- Managed Instance (1)
- Managed Services (1)
- Management (1)
- Management Servers (1)
- Marketing (1)
- Marketing Analytics (1)
- Martech (1)
- Masking (1)
- Megha Bedi (1)
- Metadata (1)
- Method-R Workbench (1)
- Metric (1)
- Metric Extensions (1)
- Michelle Gutzait (1)
- Microservices (1)
- Microsoft Azure Sql Database (1)
- Microsoft Build (1)
- Microsoft Build 2019 (1)
- Microsoft Ignite (1)
- Microsoft Inspire 2019 (1)
- Migrate (1)
- Migrating Ssis Catalog (1)
- Migrating To Azure Sql (1)
- Migration Checklist (1)
- Mirroring (1)
- Mismatch (1)
- Model Governance (1)
- Monetization (1)
- MongoDB Atlas (1)
- MongoDB Compass (1)
- Ms Excel (1)
- Msdtc (1)
- Msdtc In Always On (1)
- Msdtc In Cluster (1)
- Multi-IP (1)
- Multicast (1)
- Multipath (1)
- My.Cnf (1)
- MySQL Shell Logical Backup (1)
- MySQLDump (1)
- Mysql Enterprise (1)
- Mysql Plugin For Oracle Enterprise Manager (1)
- Mysql Replication Filters (1)
- Mysql Server (1)
- Mysql-Python (1)
- Nagios (1)
- Ndb (1)
- Net_Read_Timeout (1)
- Net_Write_Timeout (1)
- Netcat (1)
- Newsroom (1)
- Nfs (1)
- Nifi (1)
- Node (1)
- November 10Th 2015 (1)
- November 6Th 2015 (1)
- Null Columns (1)
- Nullipotent (1)
- OPEX (1)
- ORAPKI (1)
- O_Direct (1)
- Oacore (1)
- October 21St 2015 (1)
- October 6Th 2015 (1)
- October 8Th 2015 (1)
- Oda (1)
- Odbcs (1)
- Odbs (1)
- Odi (1)
- Oel (1)
- Ohs (1)
- Olvm (1)
- On-Prem To Azure Sql (1)
- On-Premises (1)
- Onclick (1)
- Open.Canada.Ca (1)
- Openstack (1)
- Operating System Monitoring (1)
- Oplog (1)
- Opsworks (1)
- Optimization (1)
- Optimizer (1)
- Ora-01852 (1)
- Ora-7445 (1)
- Oracle 19 (1)
- Oracle 20C (1)
- Oracle Cursor (1)
- Oracle Database 12.2 (1)
- Oracle Database Appliance (1)
- Oracle Database Se2 (1)
- Oracle Database Standard Edition 2 (1)
- Oracle Database Upgrade (1)
- Oracle Database@Google Cloud (1)
- Oracle Exadata Smart Scan (1)
- Oracle Licensing (1)
- Oracle Linux Virtualization Manager (1)
- Oracle Oda (1)
- Oracle Openworld (1)
- Oracle Parallelism (1)
- Oracle Rdbms (1)
- Oracle Real Application Clusters (1)
- Oracle Reports (1)
- Oracle Security (1)
- Oracle Wallet (1)
- Orasrp (1)
- Organizational Change (1)
- Orion (1)
- Os (1)
- Osbws_Install.Jar (1)
- Oui Gui (1)
- Output (1)
- Owox (1)
- Paas (1)
- Package Deployment Wizard Error (1)
- Parallel Execution (1)
- Parallel Query (1)
- Parallel Query Downgrade (1)
- Partitioning (1)
- Partitions (1)
- Password (1)
- Password Change (1)
- Password Recovery (1)
- Password Verify Function In Postgresql (1)
- Patches (1)
- Patchmgr (1)
- Pdb Duplication (1)
- Penalty (1)
- Perfomrance (1)
- Performance Schema (1)
- Pg 15 (1)
- Pg_Rewind (1)
- Pga (1)
- Pipeline Debugging (1)
- Pivot (1)
- Planning (1)
- Plsql (1)
- Policy (1)
- Polybase (1)
- Post-Acquisition (1)
- Post-Covid It (1)
- Postgresql Complex Password (1)
- Postgresql With Repmgr Integration (1)
- Pq (1)
- Preliminar Connection (1)
- Preliminary Connection (1)
- Privatecloud (1)
- Process Mining (1)
- Production (1)
- Productivity (1)
- Profile In Edb Postgresql (1)
- Programming (1)
- Prompt Engineering (1)
- Provisioned Iops (1)
- Provisiones Iops (1)
- Proxy Monitoring (1)
- Psu (1)
- Public Cloud (1)
- Pubsub (1)
- Purge (1)
- Purge Thread (1)
- Pythian Blackbird Acquisition (1)
- Pythian Goodies (1)
- Pythian News (1)
- Python Pandas (1)
- Query Performance (1)
- Quicksight (1)
- Quota Limits (1)
- R12 R12.2 Cp Concurrent Processing Abort (1)
- R12.1.3 (1)
- REF! (1)
- Ram Cache (1)
- Rbac (1)
- Rdb (1)
- Rds_File_Util (1)
- Read Free Replication (1)
- Read Latency (1)
- Read Only (1)
- Read Replica (1)
- Reboot (1)
- Recruiting (1)
- Redo Size (1)
- Relational Database Management System (1)
- Release (1)
- Release Automation (1)
- Repair (1)
- Replication Compatibility (1)
- Replication Error (1)
- Repmgr (1)
- Repmgrd (1)
- Reporting Services 2019 (1)
- Resiliency Planning (1)
- Resource Manager (1)
- Resources (1)
- Restore (1)
- Restore Point (1)
- Retail (1)
- Rhel (1)
- Risk (1)
- Risk Management (1)
- Rocksrb (1)
- Role In Postgresql (1)
- Rollback (1)
- Rolling Patch (1)
- Row0Purge (1)
- Rpm (1)
- Rule "Existing Clustered Or Clustered-Prepared In (1)
- Running Discovery On Remote Machine (1)
- SAP (1)
- SQL Optimization (1)
- SQL Tracing (1)
- SSRS Administration (1)
- SaaS (1)
- Sap Assessment (1)
- Sap Assessment Report (1)
- Sap Backup Restore (1)
- Sap Btp Architecture (1)
- Sap Btp Benefits (1)
- Sap Btp Model (1)
- Sap Btp Services (1)
- Sap Homogenous System Copy Method (1)
- Sap Landscape Copy (1)
- Sap Migration Assessment (1)
- Sap On Mssql (1)
- Sap System Copy (1)
- Sar (1)
- Scaling Ir (1)
- Sccm (1)
- Sccm Powershell (1)
- Scheduler (1)
- Scheduler_Job (1)
- Schedulers (1)
- Scheduling (1)
- Scott Mccormick (1)
- Scripts (1)
- Sdp (1)
- Secrets (1)
- Securing Sql Server (1)
- Security Compliance (1)
- Sed (Stream Editor) (1)
- Self Hosted Ir (1)
- Semaphore (1)
- Seps (1)
- September 11Th 2015 (1)
- Serverless Computing (1)
- Serverless Framework (1)
- Service Broker (1)
- Service Bus (1)
- Shared Connections (1)
- Shared Storage (1)
- Shellshock (1)
- Signals (1)
- Silent (1)
- Slave (1)
- Slob (1)
- Smart Scan (1)
- Smtp (1)
- Snapshot (1)
- Snowday Fall 2021 (1)
- Socat (1)
- Software Development (1)
- Software Engineering (1)
- Solutions Architecture (1)
- Spanner-Backups (1)
- Sphinx (1)
- Split Brain In Postgresql (1)
- Spm (1)
- Sql Agent (1)
- Sql Backup To Url Error (1)
- Sql Cluster Installer Hang (1)
- Sql Database (1)
- Sql Developer (1)
- Sql On Linux (1)
- Sql Server 2014 (1)
- Sql Server 2016 (1)
- Sql Server Agent On Linux (1)
- Sql Server Backups (1)
- Sql Server Denali Is Required To Install Integrat (1)
- Sql Server Health Check (1)
- Sql Server Troubleshooting On Linux (1)
- Sql Server Version (1)
- Sql Setup (1)
- Sql Vm (1)
- Sql2K19Ongke (1)
- Sqldatabase Serverless (1)
- Ssh User Equivalence (1)
- Ssis Denali Error (1)
- Ssis Install Error E Xisting Clustered Or Cluster (1)
- Ssis Package Deployment Error (1)
- Ssisdb Master Key (1)
- Ssisdb Restore Error (1)
- Sso (1)
- Ssrs 2019 (1)
- Sstable2Json (1)
- Sstableloader (1)
- Sstablesimpleunsortedwriter (1)
- Stack Dump (1)
- Standard Edition (1)
- Startup Process (1)
- Statistics (1)
- Statspack (1)
- Statspack Data Mining (1)
- Statspack Erroneously Reporting (1)
- Statspack Issues (1)
- Storage (1)
- Stored Procedure (1)
- Strategies (1)
- Streaming (1)
- Sunos (1)
- Swap (1)
- Swapping (1)
- Switch (1)
- Syft (1)
- Synapse (1)
- Sync Failed There Is Not Enough Space On The Disk (1)
- Sys Schema (1)
- System Function (1)
- Systems Administration (1)
- T-Sql (1)
- Table Optimization (1)
- Tablespace Growth (1)
- Tablespaces (1)
- Tags (1)
- Tar (1)
- Tde (1)
- Team Management (1)
- Tech Debt (1)
- Technology (1)
- Telegraf (1)
- Tempdb Encryption (1)
- Templates (1)
- Temporary Tablespace (1)
- Tenserflow (1)
- Teradata (1)
- Testing New Cassandra Builds (1)
- There Is Not Enough Space On The Disk (1)
- Thick Data (1)
- Third-Party Data (1)
- Thrift (1)
- Thrift Data (1)
- Tidb (1)
- Time Series (1)
- Time-Drift (1)
- Tkprof (1)
- Tmux (1)
- Tns (1)
- Trace (1)
- Tracefile (1)
- Training (1)
- Transaction Log (1)
- Transactions (1)
- Transformation Navigator (1)
- Transparent Data Encryption (1)
- Trigger (1)
- Triggers On Memory-Optimized Tables Must Use With (1)
- Troubleshooting (1)
- Tungsten (1)
- Tvdxtat (1)
- Twitter (1)
- U-Sql (1)
- UNDO Tablespace (1)
- Upgrade Issues (1)
- Uptime (1)
- Uptrade (1)
- Url Backup Error (1)
- Usability (1)
- Use Cases (1)
- User (1)
- User Defined Compactions (1)
- Utilization (1)
- Utl_Smtp (1)
- VDI Jump Host (1)
- Validate Structure (1)
- Validate_Credentials (1)
- Value (1)
- Velocity (1)
- Vertex AI (1)
- Vertica (1)
- Vertical Slicing (1)
- Videos (1)
- Virtual Private Cloud (1)
- Virtualization (1)
- Vision (1)
- Vpn (1)
- Wait_Timeout (1)
- Wallet (1)
- Webhook (1)
- Weblogic Connection Filters (1)
- Webscale Database (1)
- Windows 10 (1)
- Windows Powershell (1)
- WiredTiger (1)
- With Native_Compilation (1)
- Word (1)
- Workshop (1)
- Workspace Security (1)
- Xbstream (1)
- Xml Publisher (1)
- Zabbix (1)
- dbms_Monitor (1)
- postgresql 16 (1)
- sqltrace (1)
- tracing (1)
- vSphere (1)
- xml (1)
- December 2024 (1)
- October 2024 (2)
- September 2024 (7)
- August 2024 (4)
- July 2024 (2)
- June 2024 (6)
- May 2024 (3)
- April 2024 (2)
- February 2024 (1)
- January 2024 (11)
- December 2023 (10)
- November 2023 (11)
- October 2023 (10)
- September 2023 (8)
- August 2023 (6)
- July 2023 (2)
- June 2023 (13)
- May 2023 (4)
- April 2023 (6)
- March 2023 (10)
- February 2023 (6)
- January 2023 (5)
- December 2022 (10)
- November 2022 (10)
- October 2022 (10)
- September 2022 (13)
- August 2022 (16)
- July 2022 (12)
- June 2022 (13)
- May 2022 (11)
- April 2022 (4)
- March 2022 (5)
- February 2022 (4)
- January 2022 (14)
- December 2021 (16)
- November 2021 (11)
- October 2021 (6)
- September 2021 (11)
- August 2021 (6)
- July 2021 (9)
- June 2021 (4)
- May 2021 (8)
- April 2021 (16)
- March 2021 (16)
- February 2021 (6)
- January 2021 (12)
- December 2020 (12)
- November 2020 (17)
- October 2020 (11)
- September 2020 (10)
- August 2020 (11)
- July 2020 (13)
- June 2020 (6)
- May 2020 (9)
- April 2020 (18)
- March 2020 (21)
- February 2020 (13)
- January 2020 (15)
- December 2019 (10)
- November 2019 (11)
- October 2019 (12)
- September 2019 (16)
- August 2019 (15)
- July 2019 (10)
- June 2019 (16)
- May 2019 (20)
- April 2019 (21)
- March 2019 (14)
- February 2019 (18)
- January 2019 (18)
- December 2018 (5)
- November 2018 (16)
- October 2018 (12)
- September 2018 (20)
- August 2018 (27)
- July 2018 (31)
- June 2018 (34)
- May 2018 (28)
- April 2018 (27)
- March 2018 (17)
- February 2018 (8)
- January 2018 (20)
- December 2017 (14)
- November 2017 (4)
- October 2017 (1)
- September 2017 (3)
- August 2017 (5)
- July 2017 (4)
- June 2017 (2)
- May 2017 (7)
- April 2017 (7)
- March 2017 (8)
- February 2017 (8)
- January 2017 (5)
- December 2016 (3)
- November 2016 (4)
- October 2016 (8)
- September 2016 (9)
- August 2016 (10)
- July 2016 (9)
- June 2016 (8)
- May 2016 (13)
- April 2016 (16)
- March 2016 (13)
- February 2016 (11)
- January 2016 (6)
- December 2015 (11)
- November 2015 (11)
- October 2015 (5)
- September 2015 (16)
- August 2015 (4)
- July 2015 (1)
- June 2015 (3)
- May 2015 (6)
- April 2015 (5)
- March 2015 (5)
- February 2015 (4)
- January 2015 (3)
- December 2014 (7)
- October 2014 (4)
- September 2014 (6)
- August 2014 (6)
- July 2014 (16)
- June 2014 (7)
- May 2014 (6)
- April 2014 (5)
- March 2014 (4)
- February 2014 (10)
- January 2014 (6)
- December 2013 (8)
- November 2013 (12)
- October 2013 (9)
- September 2013 (6)
- August 2013 (7)
- July 2013 (9)
- June 2013 (7)
- May 2013 (7)
- April 2013 (4)
- March 2013 (7)
- February 2013 (4)
- January 2013 (4)
- December 2012 (6)
- November 2012 (8)
- October 2012 (9)
- September 2012 (3)
- August 2012 (5)
- July 2012 (5)
- June 2012 (7)
- May 2012 (11)
- April 2012 (1)
- March 2012 (8)
- February 2012 (1)
- January 2012 (6)
- December 2011 (8)
- November 2011 (5)
- October 2011 (9)
- September 2011 (6)
- August 2011 (4)
- July 2011 (1)
- June 2011 (1)
- May 2011 (5)
- April 2011 (2)
- February 2011 (2)
- January 2011 (2)
- December 2010 (1)
- November 2010 (7)
- October 2010 (3)
- September 2010 (8)
- August 2010 (2)
- July 2010 (4)
- June 2010 (7)
- May 2010 (2)
- April 2010 (1)
- March 2010 (3)
- February 2010 (3)
- January 2010 (2)
- November 2009 (6)
- October 2009 (6)
- August 2009 (3)
- July 2009 (3)
- June 2009 (3)
- May 2009 (2)
- April 2009 (8)
- March 2009 (6)
- February 2009 (4)
- January 2009 (3)
- November 2008 (3)
- October 2008 (7)
- September 2008 (6)
- August 2008 (9)
- July 2008 (9)
- June 2008 (9)
- May 2008 (9)
- April 2008 (8)
- March 2008 (4)
- February 2008 (3)
- January 2008 (3)
- December 2007 (2)
- November 2007 (7)
- October 2007 (1)
- August 2007 (4)
- July 2007 (3)
- June 2007 (8)
- May 2007 (4)
- April 2007 (2)
- March 2007 (2)
- February 2007 (5)
- January 2007 (8)
- December 2006 (1)
- November 2006 (3)
- October 2006 (4)
- September 2006 (3)
- July 2006 (1)
- May 2006 (2)
- April 2006 (1)
- July 2005 (1)
Comments (1)