原创 oracle 穩定執行計劃 spm 之二 自主綁定、解綁
os: centos 7.4 db: oracle 11.2.0.4 版本 # cat /etc/centos-release CentOS Linux release 7.4.1708 (Core) # # su - ora
原创 mysql 查找沒有主鍵(primary key)的表
select table_schema, table_name from information_schema.tables where 1=1 and table_name not in ( sele
原创 binlog_format 爲 ROW 的分析
os: centos 7.4.1708 db: mysql 8.0.20 版本 # cat /etc/centos-release CentOS Linux release 7.4.1708 (Core) # # # yum
原创 innodb_flush_method 的參數設置
os: centos 7.4.1708 db: mysql 8.0.20 版本 # cat /etc/centos-release CentOS Linux release 7.4.1708 (Core) # # # yum
原创 binlog_format 爲 MIXED 的分析
os: centos 7.4.1708 db: mysql 8.0.20 版本 # cat /etc/centos-release CentOS Linux release 7.4.1708 (Core) # # # yum
原创 binlog_format 爲 STATEMENT 的分析
os: centos 7.4.1708 db: mysql 8.0.20 版本 # cat /etc/centos-release CentOS Linux release 7.4.1708 (Core) # # # yum
原创 mysql 8.0 分區表之一 hash
os: centos 7.4.1708 db: mysql 8.0.20 版本 # cat /etc/centos-release CentOS Linux release 7.4.1708 (Core) # # # yum
原创 lower_case_table_names 設置爲 1 時啓動報錯
os: centos 7.4.1708 db: mysql 8.0.20 版本 # cat /etc/centos-release CentOS Linux release 7.4.1708 (Core) # # # yum
原创 mysql 5.7 group replication 之七 [ERROR] [MY-011735] [Repl] Plugin group_replication reported
os: centos 7.4.1708 db: mysql 8.0.20 標題寫的是 mysql 5.7,實際使用的是 mysql 8 ip規劃入下 192.168.56.61 node1 192.168.56.62 node
原创 mysql 實現類似 postgresql 數據庫的 generate_series 函數
os: centos 7.4.1708 db: mysql 8.0.20 版本 # cat /etc/centos-release CentOS Linux release 7.4.1708 (Core) # # # yum
原创 grafana 重置密碼
os: centos 7.4 grafana: 7.0.1 首次登陸 http://192.168.56.82:3000 時需要使用 admin/admin 然後在頁面重置密碼,也可以使用 API 重置密碼 API 重置密碼 cu
原创 Error: no server JVM at /ebsfs/apps/apps_st/comn/clone/jre/lib/i386/server/libjvm.so
os: oel 7.6 ebs: R12.1.3 報錯信息 Error: no `server' JVM at `/ebsfs/apps/apps_st/comn/clone/jre/lib/i386/server/libjvm.
原创 postgresql 13 對於重複值的 index 優化
os: centos 7.4.1708 db: postgresql 13beta1 postgresql 12.3 版本 # cat /etc/centos-release CentOS Linux release 7.4.17
原创 postgresql 9.6 普通用戶查詢 pg_stat_activity、pg_stat_statements 的方法
postgresql 9.6 普通用戶查詢 pg_stat_activity、pg_stat_statements 時部分列顯示 insufficient privilege,有兩種方法可以解決。 postgres=> selec
原创 gpcc 之二 setup
os: centos 7.4 gp: gpdb-5.7.0 gpcc: greenplum-cc-web-4.0.0 os 設置 gpcc 是安裝在 master 機器上的,如果安裝在一臺獨立的機器上,會報錯 $ ./gpccin