douyi6960 2010-11-13 17:52
浏览 67

使用PHP框架/ Ruby on Rails构建BI工具

I get data from Oracle every 10 minutes, which I then import into a local MySQL database and use that for my data reporting.

However because of the growth of the simple application I build I'm now looking at building a bigger BI solution.

My only problem is that the data I get in doesn't have a primary id in the database, I import it with mysqlimport and the database tables have MEMORY engine.

So I started a bit in Rails (with beginners knowledge) and got stuck on the primary id part, and rails like a lot of other PHP frameworks assume I will do CRUD.

However for my app, it's all read only.

What do you suggest?
And what do you think is possible?

I'm willing to learn anything new to build an awesome BI tool with this data.

Thank you so much!

  • 写回答

1条回答 默认 最新

  • dongronge3732 2010-12-09 01:52
    关注

    Use rails and push the data (1 row every 10 minutes right?) and let it generate the primary key (slow to load in your historical data). Then you can create another table with date/time - in 10 minute increments and voila you've got part of the structure ;). If you swizzle the data as you load to take advantage of the XXXX_id relationships you can leverage all the rails goodness.

    评论

报告相同问题?

悬赏问题

  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 个人网站被恶意大量访问,怎么办
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制