数据存储 [英] data storage

查看:64
本文介绍了数据存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我希望能够将数据存储为我网站的一部分。我假设

我需要使用PHP脚本来提供这个功能,但是什么才能最好地存储数据呢?我可以使用某种类型的数据库

(也许是MySQL?),但我想知道是否有任何其他的方法来支持
数据存储不那么复杂比完整的数据库。


有什么想法吗?


戴夫

Hi All,
I want to be able to store data as part of my website. I''m assuming that
I''''ll need to use PHP scripts to provide this functionality, but what would
the best aproach be to storing data?. I could use a database of some sort
(maybe MySQL?), but I''m wondering whether there are any other aproaches to
data storage that would be less elaborate than a full database.

Any ideas?.

Dave

推荐答案

我注意到Message-ID:< 42 ********** @ baen1673807.greenlnk.net>来自

Dave Moore包含以下内容:
I noticed that Message-ID: <42**********@baen1673807.greenlnk.net> from
Dave Moore contained the following:
我想知道是否有任何其他方法可以减少数据存储比完整的数据库。

任何想法?。
I''m wondering whether there are any other aproaches to
data storage that would be less elaborate than a full database.

Any ideas?.




数据库或文件。拿你的选择。


-

Geoff Berrow(把它发给电子邮件)

它只是Usenet,没有人死。

我的意见,而不是我的委员会。

简单的RFD http://www.ckdog.co.uk/rfdmaker/


Dave Moore写道:
Dave Moore wrote:
大家好,
我希望能够将数据存储为我网站的一部分。我在假设
我需要使用PHP脚本来提供这个功能,但最好的方法是什么才能存储数据?我可以使用一些
排序的数据库(可能是MySQL?),但我想知道是否有任何其他的数据存储方法,而不是完整的数据库。

任何想法?

戴夫
Hi All,
I want to be able to store data as part of my website. I''m assuming
that
I''''ll need to use PHP scripts to provide this functionality, but what
would the best aproach be to storing data?. I could use a database of some
sort (maybe MySQL?), but I''m wondering whether there are any other
aproaches to data storage that would be less elaborate than a full
database.

Any ideas?.

Dave




嗨Dave,


好​​吧,你总是可以使用文件来存储数据。

但是你应该想知道编码的初始易用性是否会在以后回火。

(我认为它会)


如果你使用文件存储数据(通常称为:flatfile方法),你将会在项目后期面临很多额外的数据,喜欢:

- 糟糕的表现


- 你必须通过不同的

来自客户的请求/命令来准备你的文件。 。

使用文件锁定来防止这种情况发生。 (=额外的工作)

如果你不这样做,你的文件损坏只是时间问题。


- 如果你存储的数据是均匀的有点复杂,你很快就会面临这样一个事实:你必须打开很多文件,扫描它们,做大量的处理。

这是SQL所做的非常好的事情对你来说比较容易。


如果你没有使用数据库的经验,这可能会有点尴尬
乍看之下令人生畏。

但是从一个真正使用Perl中的平面

文件创建动态网站的人那里拿走它:它绝对值得花时间/学习投资。

去数据库。


当然我不知道你的实际要求,但是学习数据库是很可能值得的。


有关一些很棒的教程,请查看 www.w3schools.com


至于你选择的数据库:去mySQL或者Postgresql。

我认为两者都属于GPL许可。 (=自由自由:-)

我更喜欢Postgresql,因为它是一个强大的,功能丰富的开源数据库。

但MySQL应该做的大多数工作都一样好(和更快一点。:-)


希望这会有所帮助。


问候,

Erwin Moller


Dave Moore写道:
Dave Moore wrote:
大家好,
我希望能够将数据存储为我网站的一部分。我在假设
我需要使用PHP脚本来提供这个功能,但最好的方法是什么才能存储数据?我可以使用一些
排序的数据库(可能是MySQL?),但我想知道是否有任何其他的数据存储方法,而不是完整的数据库。

任何想法?

戴夫
Hi All,
I want to be able to store data as part of my website. I''m assuming
that
I''''ll need to use PHP scripts to provide this functionality, but what
would the best aproach be to storing data?. I could use a database of some
sort (maybe MySQL?), but I''m wondering whether there are any other
aproaches to data storage that would be less elaborate than a full
database.

Any ideas?.

Dave




多少数据?什么样的数据?你的意思是图片和文字文件

或销售订单和员工记录之类的东西?


一般来说,如果你要存储商业数据,你会更快或者以后

掌握一个数据库,这样你就可以立即开始或者稍后开始。很多人试图掩盖这个事实并且它限制了他们可以做的事情。


如果不是商业数据,它会变得更灰,你会必须提供

更多细节。


-

Kenneth Downs

安全数据软件,公司

(Ken)nneth @(Sec)ure(Dat)a(.com)



How much data? What kind of data? Do you mean pictures and text documents
or things like sales orders and employee records?

Generally, if you are going to store business data, you will sooner or later
master a database, so you can start now or start later. Many try to gloss
over this fact and it limits what they can get done.

If it is not business data, it gets more gray and you would have to provide
more details.

--
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)


这篇关于数据存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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