Sharepoint 2007 使用 Sql Server 数据库的优点和缺点
我们的 IT 经理请求我帮助决定哪种方式最适合保存数据。是在sharepoint还是sql server中。
就我而言,我对在sharepoint服务器上保存数据不太了解,它是如何工作的,速度有多快,安全性如何等等。我什至怀疑sharepoint是否能够进行复杂的数据库设计。据我所知,sharepoint 不是数据库服务器,这就是我有此疑问的原因。
显然,我会说 Sql Server 将是我首选的存储,而且因为我已经了解 Sql Server 很长时间了。考虑到我在 sharepoint 上工作了 3 周,而在 Sql Server 上工作了 7 年。我没有足够的经验来见证 Sharepoint 的强大之处,无法决定该怎么做。因此,为了公平起见,我想请教一下在这方面更有经验的人。
我的问题:
1.)sharepoint有存储数据的能力吗?
2.) 如果sharepoint可以存储数据,有什么优点和缺点?
3.)它可以涵盖复杂的设计,例如像sql server那样的关系数据库设计吗?
4.) 如果你在哪里开发一个sharepoint项目,你会选择sql server作为后端吗?
提前致谢!
Our IT manager is asking my help on deciding on which would be the best to save the data. Is it in sharepoint or sql server.
On my side I don't know much about saving data on sharepoint server, how does it work, how fast, how secured, etc. I even have a doubt if sharepoint is capable of complex database design. As far as I know, sharepoint is not a database server that's why I have this doubts.
So obviously I would say Sql Server would be my prefered storage and also because Sql server is known to me for a long time already. Considering my 3 weeks exposure on sharepoint vs. 7 years on Sql Server. I don't have the enough experience to witness the strength of Sharepoint for me to decide on what to do. So to be fair on sharepoint I would like to ask you guys out there who are more experienced on this.
My questions:
1.) Does sharepoint have the ability to store data?
2.) If sharepoint can store data, what are the pros and cons?
3.) Can it cover a complex design such as relational database design like sql server does?
4.) If you where to develop a sharepoint project, would you choose sql server as the backend?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
这显然取决于应用程序及其复杂性、客户或受众是谁,以及您希望如何部署它。
以下是我对您的问题的回答:
就我个人而言,我认为考虑到您的技能,您应该使用 SQL Server,如果您的经理说这取决于您的话。
It obviously depends on the application, and complexity of it, who the client or audience is, and how you want to deploy it.
Here are my answers to your questions:
Personally, I think given your skillset, you should use SQL Server, if your manager has said it's up to you.
SharePoint 本身构建在 SQL Server 和 ASP.NET 之上。
SharePoint itself is built on top SQL Server and ASP.NET.
SharePoint 提供了构建在 SQL Server 之上的自己的数据库层。
提供了复杂的对象模型,并且不提供SQL语言API。
通过 API、REST 和带有视图的 UI 列表 Web 部件进行访问; NOT SQL,除非通过接口,否则无法访问数据库。
存储在实体-属性-值三元组(具体来说:站点、网络、列表、项目、状态、字段、值)中的深层数据,使得每个值都进入其自己的记录中。这完全是非表格的。
维护动态的最终用户填充的元数据字典。
作为数据库之上的非关系层,它提供继承、多类型列表、层次结构、分类法、版本控制、签入/签出以及关系模型中缺少的其他高级功能。
文件可以附加到列表中。
广泛使用 GUIDS 作为标识符,但这会在系统之间移动部分相关数据时出现问题。
没有参照完整性。
不加入数据库表或列表。
过滤比 SQL 中的过滤更受限制。
没有模式的概念。
从备份恢复或发布到单独的网站时,SharePoint 的某些部分会损坏。
将新功能和数据从开发滚动到生产是有问题的,有时甚至会中断。
希望这有帮助。
SharePoint offers its own database layer built on top of SQL Server.
A complex object model is provided, and the SQL language API not available.
Acsess is by API, REST, and UI List Webparts with views; NOT SQL and the database is not accessible except through interfaces.
Deep inside data stored in Entity-Attribute-Value triples (specifically: site, web, list, item, state, field, value) such that each value goes into its own record. This is strickly non-tablular.
Maintains a dynamic end-user populated Metadata dictionary.
As a non-relational layer above a DB is offers inheritance, multi-type list, hierarchies, taxonomies, versioning, check in/out and other advanced features missing from a relational model.
Documents may be attached to a list.
Extensive use of GUIDS for identifiers, but this causes problems when moving partial related data between systems.
No referential integrity.
No joining of database tables or lists.
Filtering is more limited than in SQL.
No concept of a schema.
Parts of SharePoint break when restoring from a backup or when published to a separate site.
Rolling new features and data from development to production is problematic and sometimes breaks.
Hope this helps.
Sharepoint 显然不是数据库服务器,但它以某些方式工作。
1.) 是
2.) 可以,但不像 Sql Server 那样复杂。
优点:正是界面赋予了 sharepoint 优势,UI 为用户提供了一种更友好的输入数据方式。
缺点:正如我所说,复杂的数据库设计并不容易做到。
3.) 100% 是
4.) 如果应用程序不需要复杂的数据设计,我更喜欢 Sharepoint。绝对是用于企业类型应用程序的 Sql Server。
Sharepoint is obviously not a Database Server but somehow it works on some ways.
1.)Yes
2.)You can but not as complicated as Sql Server does.
Pros: It's the interfaces the gives sharepoint the edge, UI grants the user a friendlier way of inputting data.
Cons:Just like what I've said complicated database design is not easy to do.
3.) 100% Yes
4.) I would prefer Sharepoint if the application doesn't need complex design on data. Definitely Sql Server for enterprise type of application.