随笔分类 - 数据库
摘要:是因为 存储过程/存储函数在创建时 与 开启慢查询日志冲突了 解决冲突: 临时解决:开启log_bin_trust_function_creators show variables like '%log_bin_trust_function_creators%'; set global log_bi
阅读全文
摘要:oracle执行报错 ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at "WMSYS.WM_CONCAT_IMPL", line 30 ###错误原因 因为sql中使用
阅读全文
摘要:最近在学习mysql 调优,学习explain执行计划,为了模拟出type=system或const,我创建了一张表test(id,name),id为主键,里面放了一条数据 执行 EXPLAIN SELECT * FROM (SELECT * FROM test WHERE id=1)t ; 结果是
阅读全文
摘要:解决方案: curl -XPUT -H "Content-Type:application/json" -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://es-host:9200/_cluster/settin
阅读全文
摘要:其实两者是一样的,inner join 只是为了区分left join和right join整出来的,本质还是逐行比较
阅读全文
摘要:oracle操作 安装oracle version: '3.1' services: oracle: image: docker.io/jaspeen/oracle-xe-11g container_name: oracle11g privileged: true environment: - TZ
阅读全文
摘要:解决办法: 修改pg_hba.conf,在第一行添加一行: host all all 0.0.0.0/0 md5 表示允许任何用户连接到任何数据库,用一个加密的密码
阅读全文