摘要:
postgres=# drop database oms_info;ERROR: database "oms_info" is being accessed by other usersDETAIL: There are 2 other sessions using the database. 上述 阅读全文
摘要:
一、背景: 今天BI给我说今天生产中的数据库查询都很慢,我叫他发SQL过来 select a.* from du_order_md5 aleft join order_info_05 b on a.tid = b.tid where b.tid is null a表139378条数据 b表14883 阅读全文
摘要:
我们经常执行SQL时,在SQL前加explain加以分析他的执行计划,这个cost不是时间概念,只是评估执行一个SQL的执行代价: pg_tables=# explain select count(*) from cn_ods_tables_2022.order_info_05;QUERY PLAN 阅读全文