06 2022 档案
摘要:修改时区 ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 虚拟机联网 设置虚拟机适配器 虚拟机=>编辑=>虚拟网络编辑器=>更改设置(右下角)=>选择名称为 VMent8 的网络适配器=>修改子网IP 为192.168.2.0(左下角)
阅读全文
摘要:一、单表查询 以emp表为例: 条件查询: select * from emp where empno = 1001; --等于查询 select * from emp where sal between 1000 and 2400; --范围查询 select * from emp where j
阅读全文
摘要:create pluggable database testpdb admin user tjy identified by root; show pdbs; alter session set container=testpdb; select open_mode from v$database;
阅读全文
摘要:#!/bin/sh case $1 in #查看ASM磁盘组剩余空间 dgs) sqlplus -s " / as sysdba"<<EOF select name "磁盘组名称",total_mb/1024 "总大小(GB)",(total_mb-free_mb)/1024 "用户使用(GB)",
阅读全文
摘要:到https://www.oracle.com/cn/database/technologies/oracle19c-linux-downloads.html里下载LINUX.X64_193000_db_home.zip和LINUX.X64_193000_grid_home.zip 使用VM安装RA
阅读全文
摘要:export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
阅读全文
摘要:先挂载镜像,然后安装 readine包 mount /dev/cdrom /mntyum -y install readline* 下载 rlwrap-0.43.tar.gz 包 想办法把包放到opt目录下进行解压 tar zxvf rlwrap-0.43.tar.gz 进入rlwrap-0.43/
阅读全文
摘要:使用sqlplus / as sysdba进行数据库时显示连接到一个空实例: SQL*Plus: Release 19.0.0.0.0 - Production on Fri Jun 3 11:26:25 2022Version 19.3.0.0.0 Copyright (c) 1982, 2019
阅读全文
摘要:RAC Oracle 19c 执行用户:oracle 初学时,英语极差,不懂service与server. service:服务 server:服务器 新建一个服务 #注意:实例名区分大小写 srvctl add service -d <数据库唯一名> -service <服务名> -pdb <可拔
阅读全文