除了具有更快的IO的文件之外,还有其他替代方法来存储数据吗? [英] Is there any alternative to store data other than files with much faster IO

查看:71
本文介绍了除了具有更快的IO的文件之外,还有其他替代方法来存储数据吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


您能否以您的专业知识告诉我,是否还有其他方法可以在不使用文件机制的情况下存储数据,并提供对IO的更快访问.

注意:我想将数据存储到硬盘上,并且数据可能很大.

可以通过C程序实现吗.
我是一个初学者,正在尝试探索. :)

Hi,
Could you please with your expertise tell me if there any other way to store data with out file mechanism and also provide much faster access for IO.

Note: I want to store data onto Hard Drive and the data can be huge.

Can this be achieved through C programs.
I am a beginner and trying to explore. :)

推荐答案

从理论上讲.文件系统是非常有用的,并且在所有系统中都被广泛使用.此外,所有系统在文件级别(至少是数据文件)都是兼容的.谁会为了神话般的性能提升而打破这种兼容性?

好的,我听说过使用专有磁盘存储的数据库管理系统,但是数据库数据访问只是与数据(通常是关系模型)不同的接口( http://en.wikipedia.org/wiki/Relational_model [ ^ ]).我想说,性能不是这里的唯一目标,也不是主要目标.

一个有趣的例子是Oracle数据库文件系统(DBFS).这仍然是一个文件系统,但是建立在存储在数据库表中的数据之上.这种系统的目标是提供比传统文件系统更好的安全性,可用性,健壮性,事务性和可伸缩性",并具有可与传统文件系统的性能相比"的性能.请参阅:
http://docs.oracle.com/cd/E14072_01/appdev.112/e10645/toc.htm [ ^ ],
http://docs.oracle.com/cd/E14072_01/appdev.112/e10645/whatsnew.htm#i972443 [ ^ ],
http://docs.oracle.com/cd/E14072_01/appdev.112/e10645/adlob_fs.htm [ ^ ].

—SA
Only theoretically speaking. File system is very useful and universally accepted abstraction used in all systems. Moreover, all systems are compatible at the level of files, at least data files. Who would ever want to break this compatibility for the sake of some mythical improvement in performance?

OK, I heard about database management systems using proprietary disk storage, but database data access is just a different interface to data, most usually, relational model (http://en.wikipedia.org/wiki/Relational_model[^]). The performance is not the only goal here, I would say, not the primary goal.

One interesting example is the Oracle Database File System (DBFS). This is still a file system, but built on top of data stored in database tables. The goal of such system is to provide "much better security, availability, robustness, transactions, and scalability than traditional file systems" with performance "comparable to the performance of traditional file systems". Please see:
http://docs.oracle.com/cd/E14072_01/appdev.112/e10645/toc.htm[^],
http://docs.oracle.com/cd/E14072_01/appdev.112/e10645/whatsnew.htm#i972443[^],
http://docs.oracle.com/cd/E14072_01/appdev.112/e10645/adlob_fs.htm[^].

—SA


这篇关于除了具有更快的IO的文件之外,还有其他替代方法来存储数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆