摘要:
mysql语句中 删除表数据drop、truncate和delete的用法 程度从强到弱 1、drop table tb drop将表格直接删除,没有办法找回 2、truncate (table) tb 删除表中的所有数据,不能与where一起使用 3、delete from tb (where) 阅读全文
摘要:
[jdbc写操作] Class.forName("com.mysql.jdbc.Driver"); Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/big","root","root"); ppst 阅读全文
摘要:
全排序:将产生的所有part-r-xxx文件合成到一起,仍然是有序的 全排序的方式主要有以下几种方式。 1).设置一个reduce。我们知道在map端发出数据之后,经过中间的shuffle混洗之后就到达了reduce端,在reduce端需要按照key进行聚合,key在聚合过程期间是要进行排序的, 本 阅读全文