码迷,mamicode.com
首页 >  
搜索关键字:altered    ( 83个结果
oracle在线添加日志组和日志组成员
1.在线添加日志组成员 SQL> alter database drop logfile member '/u01/app/oracle/oradata/orcl/redo01a.log'; Database altered. SQL> alter database add logfile memb ...
分类:数据库   时间:2021-06-24 18:26:14    阅读次数:0
【Oracle Database】数据库约束管理
主键约束 SQL> alter table customers add constraint customers_pk primary key (customer_id); Table altered. col constraint_name for a30 col constraint_type ...
分类:数据库   时间:2020-12-01 12:20:58    阅读次数:12
索引瘦身_oracle_11g
假设一个表,10个列,字段列长度分布均匀。 一个表10G,那么一个列的索引+rowid,肯定是在1G+ 例如有个场景:一个客户数据库,一个业务表,记录STATUS状态列,欠费A,正常B。 如果没到月底,只统计欠费的少量数据,如何创建相匹配的索引。 如果一个表有1个亿,欠费数量只有500时! 如果常规 ...
分类:数据库   时间:2020-07-21 23:21:51    阅读次数:90
Oracle12C新特性——CDB与PDB(待补充)
1.相关概念:2.常用操作:2.1 查看当前会话容器2.2 切换容器2.3 查看有哪些pdb及状态2.4 打开一个pdb3.使用注意:3.1 创建用户问题:3.2 授权问题:toc Oracle12C引入了CDB和PDB新特性,这与之前11g的情况大相径庭。但是相应的Oracle也从原来的实例与数据... ...
分类:数据库   时间:2020-07-08 16:51:10    阅读次数:89
oracle 19c 主备切换
主库: SQL> alter database commit to switchover to physical standby with session shutdown; Database altered. SQL> startup ORACLE instance started. Total ...
分类:数据库   时间:2020-06-28 00:24:55    阅读次数:120
linux如何安装缺失依赖
这里要提到一个网站https://pkgs.org/,他是linux系统的一个相关网站,里面都是相关内容 Warning: RPMDB altered outside of yum. ** Found 3 pre-existing rpmdb problem(s), 'yum check' outp ...
分类:系统相关   时间:2020-06-06 09:24:28    阅读次数:244
[ORACLE] ORACLE 193 pdb 创建与pdb/cdba切换
创建PDB PDB/CDB 切换 1.创建PDB SQL> select pdb_name,status from cdb_pdbs ; PDB_NAME STATUS D3CPDB NORMAL PDB$SEED NORMAL SQL> create pluggable database D4CP ...
分类:数据库   时间:2020-04-07 20:35:17    阅读次数:87
恢复drop后的表空间
SQL> alter database backup controlfile to '/home/oracle/con.ctl'; #备份控制文件 Database altered. #删除后会记录到当前的控制文件中,恢复的时候不可以使用当前的控制文件 SQL> drop tablespace tb ...
分类:其他好文   时间:2020-03-27 23:20:44    阅读次数:77
Linux分区挂载
以root用户登录待挂载服务器。 查看磁盘情况。 # fdisk -l 系统显示如下类似信息: Disk /dev/vda: 500 GiB, 536870912000 bytes, 1048576000 sectors Units: sectors of 1 * 512 = 512 bytes S ...
分类:系统相关   时间:2020-03-27 11:00:07    阅读次数:93
[Linux]LVM扩展卷
LVM LVM是逻辑盘卷管理(Logical Volume Manager)的简称,它是Linux环境下对磁盘分区进行管理的一种机制,LVM是建立在硬盘和分区之上的一个逻辑层,来提高磁盘分区管理的灵活性。LVM是在磁盘分区和文件系统之间添加的一个逻辑层,来为文件系统屏蔽下层磁盘分区布局,提供一个抽象 ...
分类:系统相关   时间:2020-02-24 09:25:54    阅读次数:81
83条   1 2 3 4 ... 9 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!