摘要:
模拟示例1: 已知emp,eid是主键,age上面建立索引 清空数据库缓冲 call sp_clear_plan_cache(); CREATE table aa as SELECT DISTINCT(SAL) FROM EMP where 1=0; 执行如下sql,没有用到变量,执行时间628毫秒 阅读全文
摘要:
下载和安装jemalloc内存分配器 wget https://github.com/jemalloc/jemalloc/archive/5.2.1.tar.gz tar -xzvf 5.2.1.tar.gz cd jemalloc-5.2.1/ yum -y install autogen aut 阅读全文
摘要:
1 开启归档 alter system set archive_mode='on'; 重启数据库生效 sys_ctl restart 查看是否开启归档 2 使用sys_encpwd为system设置口令密文。 sys_encpwd -H \* -P \* -D \* -U system -W kin 阅读全文