2023年3月15日
摘要: main: REPORT ZBC_ALV_01 MESSAGE-ID ZBC. INCLUDE ZBC_ALV_01TOP. INCLUDE ZBC_ALV_01FORM. START-OF-SELECTION. PERFORM get_data. END-OF-SELECTION. IF GT_S 阅读全文
posted @ 2023-03-15 20:24 InnoLeo 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 主程序 *& * *& Report ZBC_RE_01 *& *& * *& *& *& * REPORT ZBC_RE_01 MESSAGE-ID ZBC NO STANDARD PAGE HEADING LINE-SIZE 90 LINE-COUNT 20. INCLUDE ZBC_RE_01 阅读全文
posted @ 2023-03-15 18:19 InnoLeo 阅读(30) 评论(0) 推荐(0) 编辑
  2022年5月12日
摘要: 将 https://github.com/ainnodb/pyauto/tree/master/kubernetes/dashboard 下载到本地 将https://github.com/ainnodb/pyauto/blob/master/kubernetes/functions.ksh 拷到r 阅读全文
posted @ 2022-05-12 21:23 InnoLeo 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 详情参阅 https://github.com/ainnodb/pyauto/tree/master/kubernetes 运行 sh inst.sh st 安装日志在 /var/kubernetes/logs 配置文件 standalone.sh [root@win74 metrix-server 阅读全文
posted @ 2022-05-12 21:08 InnoLeo 阅读(51) 评论(0) 推荐(0) 编辑
  2021年11月16日
摘要: 问题: 财务在做月结的时间,将所有的工作进程占用完。,经常在月结时收到告警邮件可用进程数量为零 原因: 1074098 - Parallel processing CO period-end closing: No. of processes: Parallel processing always 阅读全文
posted @ 2021-11-16 17:01 InnoLeo 阅读(222) 评论(1) 推荐(0) 编辑
  2021年11月15日
摘要: 接上用script update by query 按条件更新 POST book/_update_by_query {"script": { "lang": "painless", "source": """ ctx._source.numb="2" """ }, "query": { "term 阅读全文
posted @ 2021-11-15 19:07 InnoLeo 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Elasticsearch Update By Query : 在现有索引 上重建 1 创建文档1 PUT book/_doc/1 { "content":"SAP Material mangagement", "keyword":"SAP" } 2.更改索引 PUT book/_mapping { 阅读全文
posted @ 2021-11-15 19:03 InnoLeo 阅读(586) 评论(0) 推荐(0) 编辑
摘要: 查看目标索引 get kibana_sample_data_ecommerce 查看目标索引有没有aliases get _aliases 创建aliases POST _aliases { "actions": [ { "add": { "index": "kibana_sample_data_e 阅读全文
posted @ 2021-11-15 14:54 InnoLeo 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 本地reindex POST _reindex?wait_for_completion=true { "source": { "index": "person" }, "dest": { "index": "people" } } View Code 远程reindex elasticsearch. 阅读全文
posted @ 2021-11-15 13:53 InnoLeo 阅读(683) 评论(0) 推荐(0) 编辑
摘要: 创建测试数据 DELETE student # 创建 Nested 对象 Mapping PUT student { "mappings" : { "properties" : { "name" : { "type": "nested", "properties" : { "first_name" 阅读全文
posted @ 2021-11-15 12:47 InnoLeo 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1找磁盘 lsblk parted /dev/nvme0n2 print 格式化 fdisk /dev/nvme0n2 查看分区结果 lsblk 格式化 mkfs.xfs /dev/nvme0n2p1 lsblk 看uuID 挂载 echo "UUID="fd7fe0fa-de0a-47c7-8a9 阅读全文
posted @ 2021-11-15 11:06 InnoLeo 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 1.配置 path.repo path.repo: ["/data/elasticsearch/repo","/workdata/esdata"] 2.创建测试数据 点击查看代码 PUT /person/_bulk {"index":{"_index":"person"}} {"name":"张三" 阅读全文
posted @ 2021-11-15 00:33 InnoLeo 阅读(532) 评论(0) 推荐(0) 编辑
  2021年11月14日
摘要: step 1. setup basic seucrity 在elasticsearch.yml 中增加以下 xpack.security.enabled: true Step2 : restart elasticsearch cluster Step3 : 设定内置账号密码 点击查看代码 elast 阅读全文
posted @ 2021-11-14 20:10 InnoLeo 阅读(43) 评论(0) 推荐(0) 编辑
摘要: STEP 1: 设定三个Cluster,一个主机一个cluster bin/elasticsearch -E node.name=win88 -E cluster.name=cluster0 -E discovery.type=single-node -E path.data=cluster0-da 阅读全文
posted @ 2021-11-14 17:16 InnoLeo 阅读(32) 评论(0) 推荐(0) 编辑
  2021年5月27日
摘要: 命令:saplikey saplikey -help SAP License Key Administration - Copyright (C) 2003 - 2016 SAP AG usage: saplikey pf=<profile> [trace=<level>] <command> wh 阅读全文
posted @ 2021-05-27 17:01 InnoLeo 阅读(367) 评论(0) 推荐(0) 编辑
  2021年5月12日
摘要: 1.dbms_random.random return equal to -power(2,31) and less than power(2,31) SQL> select abs(dbms_random.random ) from dual; ABS(DBMS_RANDOM.RANDOM) 11 阅读全文
posted @ 2021-05-12 15:42 InnoLeo 阅读(84) 评论(0) 推荐(0) 编辑
  2021年5月6日
摘要: LISTLAG LISTAGG function SyntaxAggregate Syntax: LISTAGG(measure_expr [, 'delimiter']) WITHIN GROUP (order_by_clause) Analytic Syntax : LISTAGG(measur 阅读全文
posted @ 2021-05-06 23:51 InnoLeo 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 例1 select employee_id, first_name,last_name,manager_id from employees start with employee_id=100 connect by prior employee_id=manager_id 1 Steven King 阅读全文
posted @ 2021-05-06 23:33 InnoLeo 阅读(209) 评论(0) 推荐(0) 编辑
  2021年4月9日
摘要: 什么是谓词,谓词用来做什么,谓词相关的优化 分类 access 谓词多用于使用索引访问场景,影响数据的访问路径。 filter谓词多用于无法使用索引访问场景,filter表示谓词条件的值并不会影响数据访问路径,只起到过滤的作用没有驱动作用。不物理读一个块然后就对里面的记录做过滤,而是一次物理读取多个 阅读全文
posted @ 2021-04-09 23:14 InnoLeo 阅读(719) 评论(0) 推荐(0) 编辑
摘要: 1579728 - SMQR - Inbound queue scheduler settings - explained 近期在QRFC 上出现一些问题 参照1579728 - SMQR - Inbound queue scheduler settings - explained 在SMQR上重新 阅读全文
posted @ 2021-04-09 17:38 InnoLeo 阅读(275) 评论(0) 推荐(0) 编辑
摘要: Cause: index 已存在 Resolution 1. 查找index select owner, index_name from dba_indexes where table_name='<table_name>'; 2. 查找index的列名 select index_owner, in 阅读全文
posted @ 2021-04-09 09:59 InnoLeo 阅读(236) 评论(0) 推荐(0) 编辑
  2021年1月27日
摘要: 分类: 名称空间级别 kube-system 集群级别 role 元数据 HPA K8s 中所有的内容都抽象为资源,资源实例化之后,叫做对象 名称空间级别资源 (workload): Pod,ReplicaSet,Deployment,StatefullSet,DaemonSet,Job,CronJ 阅读全文
posted @ 2021-01-27 08:24 InnoLeo 阅读(171) 评论(0) 推荐(0) 编辑
  2021年1月21日
摘要: InnoDB: IOT MEM: HOT 不支持行锁,数据重启后清空,为防止主从不一致,在数据库重启之后,在binlog写入一行delete from tablename 建议内存临时表用MEM InnoDB 表的数据总是有序存放的,而内存表的数据就是按照写入顺序存放的; 当数据文件有空洞的时候,I 阅读全文
posted @ 2021-01-21 23:48 InnoLeo 阅读(102) 评论(0) 推荐(0) 编辑
  2021年1月20日
摘要: redis 自动化安装 #/bin/bin/ksh LOGFILE=/var/log/redis.log REDISSOURCE=/mnt/hgfs/Redis/ INSTALLDIR=/data REDISDIR=/data/redis VERISON=6.0.9 PORT=8000 RC=8 r 阅读全文
posted @ 2021-01-20 23:38 InnoLeo 阅读(183) 评论(0) 推荐(0) 编辑
  2021年1月19日
摘要: 接上篇做双主https://www.cnblogs.com/tingxin/p/14290434.html 下载安装HAProxy mkdir /HAProxy /usr/local/haproxy wget http://www.haproxy.org/download/2.3/src/hapro 阅读全文
posted @ 2021-01-19 19:27 InnoLeo 阅读(152) 评论(0) 推荐(0) 编辑
  2021年1月17日
摘要: 坑:用keepalived 时,双主或是主从的PORT是相同的,因为keepalived 不会转发PORT 1. 配置双主: 双机名 win89.inno.com win88.inno.com 准备账号 SET SQL_LOG_BIN=0; set password for 'root'@'loca 阅读全文
posted @ 2021-01-17 22:00 InnoLeo 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 主从复制Last_SQL_Errno: 1050 mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Waiting for master 阅读全文
posted @ 2021-01-17 20:10 InnoLeo 阅读(566) 评论(0) 推荐(0) 编辑
摘要: error: mysql> start group_replication; ERROR 3092 (HY000): The server is not configured properly to be an active member of the group. Please see more 阅读全文
posted @ 2021-01-17 12:10 InnoLeo 阅读(760) 评论(0) 推荐(0) 编辑
  2021年1月15日
摘要: 步骤很我简单 在主机上运行以下SQL SET SQL_LOG_BIN=0; ##关闭binlog grant all privileges on *.* to root@'localhost' with grant option; create user 'repl'@'192.168.68.89' 阅读全文
posted @ 2021-01-15 21:10 InnoLeo 阅读(147) 评论(0) 推荐(0) 编辑
摘要: error message [ERROR] [MY-011292] [Server] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible' [ERROR] [MY- 阅读全文
posted @ 2021-01-15 16:42 InnoLeo 阅读(2084) 评论(0) 推荐(0) 编辑
  2021年1月10日
摘要: yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo --RH 阅读全文
posted @ 2021-01-10 19:43 InnoLeo 阅读(166) 评论(0) 推荐(0) 编辑
摘要: action: push: unauthorized to access repository;x509: certificate signed by unknown authority action 阅读全文
posted @ 2021-01-10 19:30 InnoLeo 阅读(1549) 评论(0) 推荐(0) 编辑
摘要: 安装准备 rpm -ivh /mnt/hgfs/Docker/RPM/epel-release-8-8.el8.noarch.rpm yum install python3-pip pip3 install --upgrade pip pip install -U -i https://pypi.t 阅读全文
posted @ 2021-01-10 17:14 InnoLeo 阅读(681) 评论(0) 推荐(0) 编辑
  2021年1月8日
摘要: 在配置完Harbor 后发现push 功能不可用出现以下问题 unauthorized: unauthorized to access repository: xuegod-web/redis-photon, action: push: unauthorized to access reposito 阅读全文
posted @ 2021-01-08 22:50 InnoLeo 阅读(12721) 评论(5) 推荐(0) 编辑
  2021年1月6日
摘要: su - siadm >hdbsql -U DEFAULT Welcome to the SAP HANA Database interactive terminal. Type: \h for help with commands \q to quit hdbsql T4X=> update us 阅读全文
posted @ 2021-01-06 22:59 InnoLeo 阅读(209) 评论(0) 推荐(0) 编辑
  2020年12月26日
摘要: 试题来自力扣 https://leetcode-cn.com/problems/consecutive-numbers/ 1. 构造数据 create table logs (id int primary key ,num int); insert into logs values(1,1); in 阅读全文
posted @ 2020-12-26 13:58 InnoLeo 阅读(126) 评论(0) 推荐(0) 编辑
  2020年12月21日
摘要: WAL: Write-Ahead Logging 先写日志,再写磁盘 redo log 是InnoDB所特有的, update test set c=c+1 where ID=4; 将redo log 写入拆成了两个步骤,prepare 和commitly这就是两阶段提交 innodb_flush_ 阅读全文
posted @ 2020-12-21 14:09 InnoLeo 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 连接器:负责跟客户端建立连接,获取权限,维持和管理连接,一个用户建立连接后,权限做出了变更,需要重建连接,新权限才生效 show variables like 'innodb_monitor_reset'; --可以在每次执行一个比较大的操作后,通过执行 mysql_reset_connection 阅读全文
posted @ 2020-12-21 12:16 InnoLeo 阅读(503) 评论(0) 推荐(0) 编辑
  2020年12月9日
摘要: 以下是个人整理的Mysql一些重要的参数,需要通过监视工具监视 show status like 'Threads_connected'; --变量的值是表示当前有多少个客户连接该mysql服务器,连接数是否过多,网络时候存在问题!特别是在pconnect的情况下:) show status lik 阅读全文
posted @ 2020-12-09 23:21 InnoLeo 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 1 查看字体集 mysql> show variables like '%char%'; + + + | Variable_name | Value | + + + | character_set_client | utf8 | | character_set_connection | utf8 | 阅读全文
posted @ 2020-12-09 22:56 InnoLeo 阅读(243) 评论(0) 推荐(0) 编辑