doulin2947 2016-08-15 14:33
浏览 37

在PHP中缓存整个表以供整个Web应用程序使用?

I have a MySQL database where all the data contained is encrypted (2200 records, 30 columns) to protect student's personal data. When running reports, I create a duplicate blank table, query the encrypted table, decrypt each record and add to the new temporary table. I then can run my query on the decrypted data and drop the temporary table when I'm done. This takes too much time and overhead.

What I'd like to do is create a cached version of the decrypted table in memory, which would be available to any function, any user, within the site - and then run queries off of the memory-based table. I realize I'd have to either destroy and recreate the table, or update the cached data if any table data changed, but that's ok.

I'm leaning toward using WinCache, as the site is hosted on a Windows server.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 对于相关问题的求解与代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作