su - oracle
vim .bashrc
exportORACLE_HOME=/opt/oracle/product/21c/dbhomeXE
exportORACLE_SID=XE
exportCHARSET=AL32UTF8
exportPATH=$PATH:$ORACLE_HOME/bin
source .bashrc
连接数据库
[oracle@localhost ~]$ sqlplus / as sysdba
SQL*Plus: Release 21.0.0.0.0 - Production on Thu Oct 521:19:33 2023
Version 21.3.0.0.0
Copyright (c)1982, 2021, Oracle. All rights reserved.
Connected to:
Oracle Database 21c Express Edition Release 21.0.0.0.0 - Production
Version 21.3.0.0.0
查询数据库信息
SQL> col name for a30
SQL>select con_id,name,open_mode from v$pdbs;
CON_ID NAME OPEN_MODE
---------- ------------------------------ ----------
2 PDB$SEED READ ONLY
3 XEPDB1 READ WRITE
框架:
COM的功能主要就是两个:
把IPDU内的signal提取出来提供给SWC使用,把SWC发送的signal拷贝到IPDU buffer内 所以,COM的关键字是 signal, signal group, IPDU, IPDU group
Signal group 是为了保证 Complex Data Types 的数…
核心:
S/R interface: data elementC/S interface: operation (with arguement)M/S interface: mode group (macro) 其实 data element,operation,mode group 才是核心,他们可以看作是用户自定义的变量类…