免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1281 | 回复: 0
打印 上一主题 下一主题

[TFS] tfs mysql分库怎么操作 [复制链接]

论坛徽章:
1
15-16赛季CBA联赛之天津
日期:2016-03-25 14:16:56
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-06-12 11:08 |只看该作者 |倒序浏览

tfs mysql分库怎么操作?有人清楚吗?望不吝赐教。谢谢!

meta.conf配置文件中如下
#rc 后端数据库信息,格式为“ip:port:dbname,dbuser,dbpasswd”,有分库时用;分割
meta_db_infos = 10.11.12.12:1234:tfs_name_db,root,root;10.11.12.12:1234:tfs_name_db,root,root

有一点不明白,这里的分库是tfs自己的功能吗?如果这里填上几组mysql数据库,tfs会自动根据自己的某种策略分库吗?还是mysql首先自己分库,让后tfs连接就行呢?

前几天测似oneproxy分库中间件,tfs貌似不支持。
[2016-06-03 14:43:00] ERROR connect (mysql_database_helper.cpp:70) [140490863277824] Error: prepared statement not supported in OneProxy (errno: 1149)

[2016-06-03 14:43:00] ERROR get_return_status (meta_store_manager.cpp:972) [140490863277824] ret is 1 when we ask data from database

[2016-06-03 14:43:06] ERROR get_p_meta_info (meta_server_service.cpp:1269) [140490831808256] select name(^A/) failed, ret: 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP