摘要: 一般在机器上都会预装valgrind 工具 使用callgrind 工具检查程序的调用情况,例如使用valgrind 来监控sequoiadb 的函数调用关系,可以执行以下命令来启动sequoiadb的某个节点进程 valgrind --tool=callgrind /opt/sequoiadb/b 阅读全文
posted @ 2023-09-26 09:16 chenfool 阅读(58) 评论(0) 推荐(0) 编辑
摘要: Oracle 静默安装记录 环境说明 Centos 7.7 64位版本 安装 Oracle 版本 Oracle 11g R2 从官网上下载的压缩包,直接双击解压即可,解压后得到 database 安装软件目录 linux.x64_11gR2_database_1of2.zip linux.x64_1 阅读全文
posted @ 2022-08-21 10:50 chenfool 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 安装Flink 环境 环境:centos 7.7jdk:1.8.0Flink 版本:1.14.5安装目录:/root/hadoop/flink-1.14.5 首先解压Flink tar 包 tar -zxvf flink-1.14.5-bin-scala_2.11.tgz cd flink-1.14 阅读全文
posted @ 2022-08-19 15:31 chenfool 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Hadoop 3.3 安装部署 Hadoop 版本 3.3Linux 版本 Centos 7.7JDK 版本 1.8.0 HADOOP_HOME=/root/hadoop/hadoop-3.3.3 前期准备工作 解压安装包 tar -zxvf hadoop-3.3.3.tar.gz cd hadoo 阅读全文
posted @ 2022-08-19 14:29 chenfool 阅读(481) 评论(0) 推荐(0) 编辑
摘要: Linux 环境介绍 CentOS Linux release 7.7.1908 (Core) 前期准备设置 给Centos 添加docker 的下载源 wget -O /etc/yum.repos.d/docker-ce.repo https://download.docker.com/linux 阅读全文
posted @ 2022-07-26 16:03 chenfool 阅读(585) 评论(0) 推荐(0) 编辑
摘要: Oracle 日常使用 简单启/停 Oracle database 启动database # 登陆 oracle 终端后,执行启动命令 sqlplus / as sysdba $> startup 关闭 database # 登陆 oracle 终端后,执行启动命令 sqlplus / as sys 阅读全文
posted @ 2021-08-01 12:28 chenfool 阅读(47) 评论(0) 推荐(0) 编辑
摘要: dd 作为linux 一个基础测试磁盘I/O 性能的命令,本身功能就非常完善,这片文章主要是记录 dd 命令的日常使用。 最简单的dd 命令 当然,还可以使用 dd 的direct I/O 测试方式,直接绕过文件系统缓存,测试磁盘的真实I/O 性能 oflag=sync,每个 I/O 写入,都需要直 阅读全文
posted @ 2021-07-25 15:19 chenfool 阅读(2304) 评论(0) 推荐(0) 编辑
摘要: 环境信息系统 : redhat 7.4 64 位版准备工作安装 numactl 命令 【这个可以不装】yum install numactl -y检查 NUMA 状态判断系统是否开启了numa 功能grep -i numa /var/log/dmesg如果出现了: "No NUMA configuration found" ,则证明是关闭了numa 功能,如果是其他内容,则为开启了numa在作者... 阅读全文
posted @ 2020-08-08 15:11 chenfool 阅读(7789) 评论(0) 推荐(0) 编辑
摘要: 在mysql 中,可以通过设置配置参数,开启慢 SQL 的记录 在 my.cnf 的 [mysqld] 配置下,可以设置以下参数实现慢查询记录 # 启用记录慢SQL 功能 slow_query_log=1 # 设置超过 1 秒的SQL 为慢SQL long_query_time=1 # 将慢SQL 阅读全文
posted @ 2020-08-08 15:11 chenfool 阅读(3988) 评论(1) 推荐(0) 编辑
摘要: 由于我自己一直使用 MWeb 软件编写博客,要把 Markdown 格式的内容再同步一次到 博客园,实在太麻烦了,无论是使用一些辅助的工具,例如:MarsEdit ,效果依然不好。 在近期,我发现了阿里体系推出了一个语雀新的博客平台,能够完美兼容 MWeb 的markdown 格式,并且能够做到一键 阅读全文
posted @ 2020-03-25 11:56 chenfool 阅读(160) 评论(0) 推荐(0) 编辑