--根据上述查询,可以构建针对空表分配空间的命令语句,如下:Select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 --批量输出上述生成的SQL语句,建立C:\createsql ...
分类:
其他好文 时间:
2018-07-18 13:59:08
阅读次数:
158
1、测试数据如下:SQL> select * from t1; a | b | c ---+----+--- 1 | 10 | 1 2 | 20 | 2 3 | 30 | 3 4 | 40 | 4 5 | 50 | 5 6 | 60 | 6(6 rows)SQL> select * from t2;... ...
分类:
数据库 时间:
2018-07-17 21:41:14
阅读次数:
197
zabbix_agentd客户端设置在mysql数据上创建一个普通用户zabbix,密码zabbix[root@mysql1scripts]#mysql-uroot-pEnterpassword:WelcometotheMySQLmonitor.Commandsendwith;or\g.YourMySQLconnectionidis8Serverversion:5.7.22-logMySQLCom
分类:
数据库 时间:
2018-07-17 16:48:57
阅读次数:
341
MySQL基本简单操作 先进入 容器。 [root@promote ~] docker exec it mysql /bin/bash root@30d60b852cf5:/ mysql uroot p000000 mysql: [Warning] Using a password on the c ...
分类:
数据库 时间:
2018-07-16 11:09:59
阅读次数:
182
1、在zabbix服务端配置zabbix源(实验环境为centos7,如果使用centos6将连接地址中的7修改为6即可) #m01 web01 web02 rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/3.0/rhel/7/ ...
分类:
其他好文 时间:
2018-07-15 19:35:32
阅读次数:
177
SELECT tables.table_schema, tables.table_name, tables.table_rows FROM information_schema.tables LEFT JOIN ( SELECT table_schema, table_name FROM infor ...
分类:
其他好文 时间:
2018-07-12 23:55:47
阅读次数:
213
【Mysql】 【PHP】 【拓展】 # mysqld_safe --skip-grant-tables & mysql> update user set password=PASSWORD("123.com")where user="root";Query OK, 3 rows affected ...
分类:
其他好文 时间:
2018-07-12 21:43:22
阅读次数:
178
1 //查询所有表明 select name from sysobjects where xtype='u' 2 3 select * from sys.tables 4 //查询数据库中所有的表名及行数 5 6 SELECT a.name, b.rows 7 8 FROM sysobjects A ...
分类:
数据库 时间:
2018-07-12 13:32:24
阅读次数:
210
class Solution { public String[] findWords(String[] words) { HashSet[] rows = new HashSet[3]; ArrayList result = new ArrayList(); String[] letters = {... ...
分类:
其他好文 时间:
2018-07-10 21:38:30
阅读次数:
164
caption:保存着对<caption>元素(如果有)的指针 tBodies:是一个<tbody>元素的HTMLCollection. tFoot:保存着对<tfoot>元素的指针 tHead:保存着对<thead>元素的指针 rows:是一个表格所有行的HTMLCollection create ...
分类:
Web程序 时间:
2018-07-08 18:03:32
阅读次数:
164