摘要:
1、查看当前时间状态: root@dbabackup:/usr/share/zoneinfo/Etc# timedatectl status Local time: Thu 2022-09-08 15:08:27 CST Universal time: Thu 2022-09-08 07:08:27 阅读全文
摘要:
一、报错: [postgres@dba01 archive]$ pg_ctl -D /data/pg14 startwaiting for server to start....2022-08-18 16:11:43.883 CST [45459] LOG: redirecting log outp 阅读全文
摘要:
大部分DBA同学,业务正式上线前,会根据业务使用场景,进行sysbench或TPC-C压力测试。一、TPC-C侧重于OLTPTPC-C是业界常用的一套Benchmark,由TPC委员会制定发布,用于评测数据库的联机交易处理(偏向OLTP能力)。主要涉及10张表,包含了NewOrder(新订单的生成) 阅读全文
摘要:
这张表4400条,一般select * from xxx 在mysql8.0和polardb上非常快,在OB上300多秒都没有出来 反馈给OB官方,因为我们采用的是云企业版测试,select /*+parallel(32)*/ * from xxx 并行查询一样。。。。。 等官方进一步解释。。。。。 阅读全文
摘要:
/etc/vim/vimrc.tiny 添加以下两行 " Vim configuration file, in effect when invoked as "vi". The aim of this" configuration file is to provide a Vim environme 阅读全文
摘要:
使用网上的方法 dba@mklmi:~$ sudo su - postgres[sudo] password for dba: su: warning: cannot change directory to /home/postgres: No such file or directory$ ls 阅读全文
摘要:
可以参考https://www.modb.pro/db/331381 pg_toast_2619这个表是pg_statistic系统表的toast扩展表,如果PG报错如下: ERROR: unexpected chunk number 1 (expected 0) for toast value 1 阅读全文
摘要:
checking for library containing readline... noconfigure: error: readline library not foundIf you have readline already installed, see config.log for d 阅读全文