首页 | 资讯动态 | linux基础 | 系统管理 | 网络管理 | 编程开发 | linux数据库 | 服务器技术 | linux相关 | linux认证 | 嵌入式 | 下载中心 | 专题 | linux招聘 | HR | 镜像
OKLinux中文技术站
·设为首页
·加入收藏
·联系我们
系统管理: 中文环境 系统管理 桌面应用 内核技术 | Linux基础: 基础入门 安装配置 常用命令 经验技巧 软件应用 | Linux数据库: Mysql Postgre Oracle DB2 Sybase other
网络管理: 网络安全 网络应用 Linux服务器 环境配置 黑客安全 | 编程开发: PHP CC++ Python Perl Shell 嵌入式开发 java jsp | PHP技术: PHP基础 PHP技巧 PHP应用 PHP文摘
搜索中心 Linux招聘 Linux专题 Apache | Linux相关: 硬件相关 Linux解决方案 Linux认证 企业应用 其它Unix | 相关下载: 资料下载 参考手册 开发工具 服务器类 软路由 其它
 技术搜索:
会员中心 注册会员 高级搜索  
  → 当前位置:首页>linux数据库>其他>正文

MySQL的CSV引擎应用实例解析

http://www.oklinux.cn  2008-08-12  linuxidc   会员收藏  游客收藏  【 】 
您查看的文章来源于http://www.oklinux.cn

如果您想把EXCEL的数据或者CSV格式的数据导入到MySQL中,MySQL的CSV引擎再适合不过了。

MySQL的CSV引擎在5.0后开始提供,不过不支持WINDOWS,到了5.1才支持。

今天我测试的版本号是5.0.45

一、注意几点:
1、没有索引,跟MySQL5的数据字典库一样。
2、可以直接用任何文本编辑器来编辑数据文件。
3、非英文编码问题。

我的字符终端和表都是UTF-8的,所以要把上传的CSV文件保存为UTF-8的编码。

4、编码转化工具,我这边在WINDOWS下用EDITPLUS来转化,在LINUX下可以用ICONV命令行工具来转化编码。

二、示例数据文件。
"1","Designed for 99.999% Availability","MySQL Cluster provides a fault tolerant architecture that ensures your organization's mission critical applications achieve 99.999% availability. This means less than 5 minutes downtime per year, including scheduled maintenance time. MySQL Cluster implements automatic node recoverability to ensure an application automatically fails over to another database node that contains a consistent data set, if one or more database nodes fail. Should all nodes fail due to hardware faults for example, MySQL Cluster ensures an entire system can be safely recovered in a consistent state by using a combination of checkpoints and log execution. Furthermore, MySQL Cluster ensures systems are available and consistent across geographies by enabling entire clusters to be replicated across regions."
"2","High Performance Only a Main Memory Database Can Deliver","MySQL Cluster provides the response time and throughput to meet the most demanding high volume enterprise applications. MySQL Cluster achieves its performance advantage by being a main memory clustered database solution, which keeps all data in memory and limits IO bottlenecks by asynchronously writing transaction logs to disk. MySQL Cluster also enables servers to share processing within a cluster, taking full advantage of all hardware. Typical response times for MySQL Cluster are in the range of a few milliseconds and MySQL Cluster has been proven to handle tens of thousands of distributed transactions per second that are also replicated across database nodes."
"3","Extremely Fast Automatic Failover","MySQL delivers extremely fast failover time with sub-second response so your applications can recover quickly in the event of application, network or hardware failure. MySQL Cluster uses synchronous replication to propagate transaction information to all the appropriate database nodes so applications can automatically fail over to another node extremely quickly. This eliminates the time consuming operation of recreating and replaying log files required by 'Shared-Disk' architectures to fail over successfully. Plus, MySQL Cluster database nodes are able to automatically restart, recover, and dynamically reconfigure themselves in case of failures without having to program advanced features into the application."
"4","Flexible Distributed Architecture with No Single Point of Failure","The parallel server architecture combines database nodes, management server nodes, and application nodes that can be distributed across computers and geographies to ensure there is no single point of failure. Any node can be stopped or started without stopping the applications that use the database. And MySQL Cluster is highly configurable so you can implement the appropriate level of performance, scalability and fault tolerance to match your application requirements."
"5","Significantly Reduce Costly Downtime","MySQL Cluster not only lowers up-front license costs with affordable commercial licensing under a dual licensing mechanism, but it also significantly reduces system downtime - the number one contributor to the Total Cost of Ownership (TCO) of database software. Furthermore, a highly portable standards-based environment allows you to cost-effectively distribute your applications using commodity hardware and open source software infrastructure."
"6","Lower Maintenance Costs","MySQL Cluster is designed to be largely self-governing so very few system parameters actually need fine-tuning, further reducing the risk of costly errors. As a result, there are typically fewer conflicts with other software and hardware, and less need for manual intervention. This also means that MySQL Cluster will have a much lower maintenance costs, with less fine tuning required by Database Administrators."
"7","Easy-to-use Administration","MySQL Cluster includes easy to use and powerful tools for administering your clustered environment. Command line tools enable you to monitor database nodes, control access to applications, and create and restore backups."
"8","Services and Support","MySQL provides extensive consulting, training and technical support services to ensure the success of your next mission-critical database application project. MySQL has a proven track record gained through millions of successful customer deployments that can lower your risk and maximize return on investment."
"9","MySQL CLUSTER","以上是集群的特性概括"
"10","月亮他爸","
"11","最要注意的一点","最后的一行必须有个空格!如果是中文,好奇怪!"

共2页: 上一页 1 [2] 下一页

上一篇:Oracle的sqlcode对应的错误信息sqlerrm   下一篇:Sybase ASE出现表间循环依赖不能删除的问题

收藏于收藏夹】 【评论】 【推荐】 【打印】 【关闭
相关文档
·Oracle的sqlcode对应的错误信息sqlerrm
·Ubuntu下的免安装MySQL
·Linux下C连接MySQL找不到MySQL.H的问题
·Sybase 11.9.2 For Linux安装过程图文详解
·VC 连MySQL小记
·MySQL下show的主要用法
·在Linux、Windows上如何按日期逻辑备份数据库
·详解在Linux或UNIX机器上设置多个DB2系统
·MySQL查看状态及简单优化
·Oracle PLS 调试的输出方法
·MySQL服务器网络访问慢问题解
·MySQL 压力测试工具super smack
·mysqlhotcopy 运行错误解决一例
·通过进程id号知道一个Oracle会话所占用的内存
·Freebsd下非root用户的MySQL安装
·Mysql 4和5的int unsigned区别
发表评论
密码: 匿名评论
评论内容:

(不超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规)
 
  最新文档
·Oracle 10g for solaris准备工作和实例
·Oracle主键的设置
·Oracle查询表、视图、序列等信息查询
·Oracle笔记之简单查询、限定查询和排序
·Oracle物理结构概述
·Oracle中nul()函数
·Oracle数据库归档模式的切换
·Oracle 10g 编程艺术
·在RadHat 5上安装Oracle 10g
·Oracle和MySQL对比
·采用Oracle的dbms_obfuscation_toolkit
·Oracle中的Raw类型解释
  阅读排行
·MySQL中文乱码解决方案集锦
·Oracle面试题及答案整理
·Linux下安装Oracle数据库完整笔记
·MySQL导入导出.sql文件步骤
·Oracle10g RAC for Linux配置全过程
·Oracle建表过程初学
·Linux平台下配置MySQL主从复制
·Linux系统下启动MySQL的命令及相关知识
·Oracle 建立临时表语法及使用技巧
·Oracle数据库里查看表空间使用状况
·Linux下Oracle sqlplus中文显示乱码的
·Linux下安装Oracle客户端
·MySQL服务器上添加一个允许远程访问的
·手工配置Oracle 10G Enterprise Manage
·Linux平台下启动oracle 11g EM控制台
网摘收藏: