在配置hadoop是,进行格式化hadoop的时候,出现找不到jdk 我用Red hat是32位的,没有现成的32位的,敲java , 发现本机有java ,就找了一下其位置 找到了jdk-1.6.0 which java [root@host2 hadoop-1.1.2]# which java/usr/bin/java[root@host2 hadoop-1.1.2]# ls /usr/bin/java/usr/bin/java[root@host2 hadoop-1.1.2]# ls -l
1.查看mysql的所有全局变量的值 SHOW GLOBAL VARIABLES 或者 SHOW VARIABLES mysql有很多全局变量,包括系统的一些基本信息,以及mysql的一些基本配置都可以在全局变量中查到. 2.查看mysql的单个全局变量的值 SHOW GLOBAL VARIABLES LIKE 'wait_timeout' 或者 SELECT @@wait_timeout 上面的查询也可以用模糊查询,与上面结果一样的模糊查询语句 SHOW GLOBAL VARIABLES LI
SQL> select name,value from v$sysstat where name in('db block gets','consistent gets','physical reads'); NAME VALUE---------------------------------------------------------------- -----
from rest_framework.authentication import BaseAuthentication from rest_framework.exceptions import AuthenticationFailed from api.models import Token import datetime from django.core.cache import cache import pytz class LoginAuth(BaseAuthentication):
存放从磁盘读取的数据.排序和并行读不会使用buffer cache 可以从v$db_cache_advice或者buffer cache的命中率来检查buffer cache设置是否合理 查看v$db_cache_advice需要开启参数db_cache_advice SQL> show parameter db_cache_advice NAME TYPE VALUE ------------------------------------ ----------- --------------