Chinaunix首页 | 论坛 | 博客
  • 博客访问: 627993
  • 博文数量: 149
  • 博客积分: 3901
  • 博客等级: 中校
  • 技术积分: 1558
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-16 14:33
文章分类

全部博文(149)

文章存档

2014年(2)

2013年(10)

2012年(32)

2011年(21)

2010年(84)

分类: 数据库开发技术

2011-03-08 15:02:01



load :
mysql -uroot pv_dw -e "
   load data infile '/opt/pvlog/xx.txt'  into table tablename
   fields terminated by '\t'
   enclosed by 'NULL' 
   lines terminated by '\n' 
"



性能配置:http://www.wentrue.net/blog/?p=289
vim /opt/mysql_data/infob/brighthouse.ini

brighthouse.ini的几个主要参数如下:

  • ServerMainHeapSize:服务进程的主堆栈空间,存储临时数据,如果可能,尽量把它设置得大一些,以免跟磁盘的IO过多。
  • ServerCompressedHeapSize:服务进程的压缩堆栈空间,存放压缩数据。
  • LoaderMainHeapSize:infobright独有的数据loader进程的堆栈空间。



阅读(1470) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2011-03-27 18:53:41

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com