随笔 - 116  文章 - 5  评论 - 1  阅读 - 14万
03 2022 档案
GreatDB与mysql8 的 int 类型
摘要:Greatdb Cluster 5.0 的语法可以参考 mysql 8 int 类型 经常有开发建表的时候会使用int(4) 来指定列类型,那么这个4代表的是什么,它并不表示存储的字节,因为int类型用4个字节存储是数据库定的。 这个4指的是数字显示的宽度,插入数字超过4位,正常显示,不足4位时,可 阅读全文
posted @ 2022-03-30 15:05 JennyYu 阅读(306) 评论(0) 推荐(0) 编辑
oracle 查询锁住的对象,kill会话
摘要:在执行ddl时有时会报出ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired的错误,那是因为有会话锁住了ddl操作的表。 表被锁有可能是忘记关掉某个会话,或者某个会话因打开的sercureCRT窗口 阅读全文
posted @ 2022-03-30 10:34 JennyYu 阅读(312) 评论(0) 推荐(0) 编辑
greatdb或mysql设置数据库的只读参数
摘要:show variables like '%read_only%';+ + +| Variable_name | Value |+ + +| innodb_read_only | OFF || read_only | OFF || super_read_only | OFF || transacti 阅读全文
posted @ 2022-03-29 19:21 JennyYu 阅读(123) 评论(0) 推荐(0) 编辑
Oracle与mysql的修改变量参数对比
摘要:oracle 修改会话级别参数 alter session set current_schema=scott alter session set statistics_level=all; 修改全局参数 alter system set memory_target=10G scope=spfile; 阅读全文
posted @ 2022-03-29 19:17 JennyYu 阅读(122) 评论(0) 推荐(0) 编辑
oracle 的timestamp类型
摘要:TIMESTAMP Data Type The TIMESTAMP data type is an extension of the DATE data type. It stores the year, month, and day of the DATE data type, plus hour 阅读全文
posted @ 2022-03-29 18:50 JennyYu 阅读(4148) 评论(0) 推荐(0) 编辑
mysql 登录socket与TCP
摘要:对oracle 登录的很清楚 sqlplus / as sysdba sqlplus scott/tiger 这种登录方式属于本地登录,不走网络,跟监听没有关系,登录的实例为在环境变量中设置的$ORACLE_SID sqlplus scott/tiger@orcl 这种登录方式即使在服务器上登录也是 阅读全文
posted @ 2022-03-24 20:10 JennyYu 阅读(348) 评论(0) 推荐(0) 编辑
windows本地文件上传到linux虚拟机
摘要:1. secureCRT软件连到虚拟机后,在标签页右键选择conect SFTP Session,打开SFTP窗口 2. 输入help 可以查看ftp的相关命令 常用命令: lcd path : Change local directory to 'path' (本地路径) cd path: Cha 阅读全文
posted @ 2022-03-24 18:22 JennyYu 阅读(570) 评论(0) 推荐(0) 编辑
centos ifconfig 命令找不到
摘要:ifconfig: command not found. 针对CentOS,其最小化安装已经不会包含ifconfig和netstat相关的网络工具了 yum search ifconfig 安装: yum install net-tools.x86_64 -y 阅读全文
posted @ 2022-03-24 18:08 JennyYu 阅读(104) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示