Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 网络资源 > Mysql InnoDB TABLESPACE Set Up [一] --using file
【标  题】:Mysql InnoDB TABLESPACE Set Up [一] --using file
【关键字】:Mysql,InnoDB,TABLESPACE,Set,Up,using,file
【来  源】:http://www.cublog.cn/u/22323/showart.php?id=154279

Mysql InnoDB TABLESPACE Set Up [一] --using file

Your Ad Here

using file for the tablesspace:

To set up the InnoDB tablespace files, use the innodb_data_file_path option in the [mysqld] section of the my.cnf option file.

        innodb_data_file_path=datafile_spec1[;datafile_spec2]...
 full datafile_spec1 syntax: file_name:file_size[:autoextend[:max:max_file_size]]
 
        sample1: single tablespace:
[mysqld]
innodb_data_file_path=ibdata1:10M:autoextend

This setting configures a single 10MB data file named ibdata1 that is auto-extending. No location for the file is given, so the default is the MySQL data directory.

sample2: multi-tablespaces:

tablespace containing a fixed-size 50MB data file named ibdata1 and a 50MB auto-extending file named ibdata2 in the data directory can be configured like this:

[mysqld]
innodb_data_file_path=ibdata1:50M;ibdata2:50M:autoextend

 

notice:

The autoextend attribute and those following can be used only for the last data file in the innodb_data_file_path line. The increment is 8MB at a time.

Samba服务器调试手记:【上一篇】
MySQL鲜为人知的9条技巧:【下一篇】
【相关文章】
  • GNU make & makefile(zhuan)
  • 设置setuid只对可执行程序有用
  • RHAS4上安装MYSQL+APACHE+PHP+ZEND问题(转)
  • iBatis对批量update的支持
  • MYSQL出错代码[备忘]
  • Knowledge Repository : VirtualJavaMeetup
  • 出现java.lang.UnsupportedClassVersionError 错误的原因
  • mysql存储过程学习笔记--常用函数
  • 如何通过netbackup进行oracle异机恢复.
  • controlfile损坏-20060810
  • 【随机文章】
  • ASP程序的性能优化
  • BB代码过滤后的字符串传出
  • 麦克风制作三部曲之二
  • 轻松四步让系统用上最新驱动
  • The Linux Mobile Phones Showcase
  • 闻欧学堂——用Excel统计2000年中国甲A联赛
  • 发行版发布: Yellow Dog Linux 5.0
  • 教您用LINUX做网吧双线接入服务器
  • 微软和海量科技强强合作 推企业搜索引擎新方案
  • gsoap中文文档(2.符号规定)
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.