aws 部署OB 机型适配有什么建议?
我们的SQL大部分为点查,案例为:
1、selec t* from table where user_id= and date_time >=‘2024-11-21 06:26:17’ and date_time <=‘2024-11-28 06:26:17’ order by date_time desc limit 100;
2、select* from table where user_id="" and order_id ="",and date_time >=‘2024-11-21 06:26:17’ and date_time <=‘2024-11-28 06:26:17’ order by date_time desc limit 100;
3、select* from table where 类型=“” and date_time >=‘2024-11-21 06:26:17’ and date_time <=‘2024-11-28 06:26:17’ order by date_time desc limit 100;
4、select* from table where M类型=“” and 订单类型=‘’ and date_time >=‘2024-11-21 06:26:17’ and date_time <=‘2024-11-28 06:26:17’ order by date_time desc limit 9000;
建议你那边可以先部署435版本ocp+ob+obproxy进行测试一下。生产使用集群架构模式有助于保障服务器宕机风险
ocp+ob+obproxy 部署,aws 最适合的机型 有推荐文档吗?
当然越大越好,最后要看业务和预算
机器规格越大越好,使用社区版部署可以使用obd部署工具,建议优先部署一套ocp集群然后通过ocp部署ob集群与obproxy。
ocp功能介绍:https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000002013330
ocp部署可以使用obd web方式白屏化部署根据方法可参考obd官方文档
https://www.oceanbase.com/docs/community-obd-cn-1000000002023442
如ODC开发平台等其他工具也可根据需要部署。
安装包链接:
https://www.oceanbase.com/softwarecenter?_gl=112m2j7u_gaMjAxODUwMDg2Ni4xNzIwNTA0NDU0_ga_T35KTM57DZ*MTczNjQwNjI5Ny4xLjEuMTczNjQwODk2My42MC4wLjA.
这个大,太范了。一是aws 最大有92C 256配置,或者更大的配置。我插入10亿行数据 进行SQL场景匹配性能测试,也不能乱申请,线上环境也有预算给到老板。二是竞品TIDB 他们会给PD,tidb,tikv组件 aws 最合适的机型。OB看下是否需要学习借鉴,供参考。
三、看是否帮忙看下,我们单表基本上都是几百亿的,SQL大部分是时间范围点查,帮忙看下OB性能会怎么样。SQL案例如下:
1、selec t* from table where user_id= and date_time >=‘2024-11-21 06:26:17’ and date_time <=‘2024-11-28 06:26:17’ order by date_time desc limit 100;
2、select* from table where user_id="" and order_id ="",and date_time >=‘2024-11-21 06:26:17’ and date_time <=‘2024-11-28 06:26:17’ order by date_time desc limit 100;
3、select* from table where 类型=“” and date_time >=‘2024-11-21 06:26:17’ and date_time <=‘2024-11-28 06:26:17’ order by date_time desc limit 100;
4、select* from table where user_id = and m类型=“” and date_time >=‘2024-11-21 06:26:17’ and date_time <=‘2024-11-28 06:26:17’ order by date_time desc limit 100;
5、select* from table where user_id = and M类型=“” and 订单类型=‘’ and date_time >=‘2024-11-21 06:26:17’ and date_time <=‘2024-11-28 06:26:17’ order by date_time desc limit 100;
6、select* from table where M类型=“” and 订单类型=‘’ and date_time >=‘2024-11-21 06:26:17’ and date_time <=‘2024-11-28 06:26:17’ order by date_time desc limit 9000;
该安装部署咨询问题已进行对接回复