码迷,mamicode.com
首页 >  
搜索关键字:reorganize tables    ( 4145个结果
Sqoop1.4.4实现关系型数据库多表同时导入HDFS或Hive中
问题导读:          1、使用Sqoop哪个工具实现多表导入?          2、满足多表导入的三个条件是?          3、如何指定导入HDFS某个目录?如何指定导入Hive某个数据库? 一、介绍         有时候我们需要将关系型数据库中多个表一起导入到HDFS或者Hive中,这个时候可以使用Sqoop的另一个工具sqoop-import-all-tables。...
分类:数据库   时间:2015-01-20 15:52:47    阅读次数:302
三线机房Linux服务器单网卡配多VlanIP
1.#vi/etc/iproute2/rt_tables(增加联通、电信、移动三个路由表)#添加10cnc20tel30cmcc2.需要使用到vconfig软件。首先yum安装vconfigyuminstallvconfig3.#vi/etc/rc.local设置路由表内容#添加modprobe8021qvconfigaddeth060(联通)vconfigaddeth0113(电信)vconfigaddeth0120..
分类:系统相关   时间:2015-01-19 19:22:22    阅读次数:234
ETL -- SDE AND SIL
SDE: Source Dependent Extract SDE mappings -- extracts the data from the transactional Source System and loads into the data warehouse staging tables. SDE mappings are designed with respect to the s...
分类:其他好文   时间:2015-01-19 15:52:26    阅读次数:201
python与mysql交互
con = MySQLdb.connect(host="localhost(host='localhost'.user='root',password=dfb =cur = c.cursorcur.excute("show tables;)cur.closec.close
分类:数据库   时间:2015-01-18 22:33:06    阅读次数:143
马士兵大哥数据库教程2阶段
马士兵大哥数据库教程2阶段 user_indexes;user_tables;user_views;用户字典表dictionaryselect user_tables user_views;user_indexes视图view;create view v$_stu as select ,,, fro...
分类:数据库   时间:2015-01-16 20:48:48    阅读次数:176
oracle exp 导出非常多的表且是表结构
需求是:要导出指定3千张表的结构,一般这样导就可以,但问题是表是非常多的,不会成功   exp user_name/password@servername  rows=n tables=(tab1,tab2,tab3000) file=d:/data.dmp   用下列方法:   exp parfile=d:\test.par   test.par的内容为:    userid=user...
分类:数据库   时间:2015-01-16 19:19:02    阅读次数:191
SQL 修改数据库架构名
SQl修改数据库架构名declare @name sysname declare csr1 cursor for select TABLE_NAME from INFORMATION_SCHEMA.TABLES open csr1 FETCH NEXT FROM csr1 INTO ...
分类:数据库   时间:2015-01-16 18:43:23    阅读次数:302
php数据库两个关联大表的大数组分页处理,防止内存溢出
$ret = self::$db->select($tables, $fields, $where, $bind); if (!empty($ret)) { $retIds = array(); $ids = array();...
分类:数据库   时间:2015-01-16 16:07:06    阅读次数:258
Mysql 安装后 Access 问题 (MAC)
具体操作步骤:关闭mysql:1 # service mysqld stop(如果不存在service 命令, cd /etc, 执行mysqld stop)然后:1 # (sudo) mysqld_safe --skip-grant-tables(该命令完成后,可能终端不会提示输入下一命令,下面命...
分类:数据库   时间:2015-01-16 06:27:47    阅读次数:211
Mysql 下创建root用户
在linux下安装了mysql之后出现错误,刚开始以为就是没有密码的问题,按照这篇文章进行了修改:linux下mysql 初次登陆修改密码  修改之后应该没错,但再次启动服务root登录还是不行,下面的就是出现的问题和解决过程:  mysqld_safe --skip-grant-tables&mysql -uroot mysql mysql> select * fro...
分类:数据库   时间:2015-01-15 23:53:30    阅读次数:212
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!