GIS:PostGIS/PostgreSQL与MySql与SQL Server? [英] GIS: PostGIS/PostgreSQL vs. MySql vs. SQL Server?
问题描述
我已经将Postgres与PostGIS一起使用了几个月,对此感到满意.
我需要分析几百万个地理编码的记录,每个记录都有经度和纬度.这些记录包含至少三种不同类型的数据,我将尝试看看每个集合是否会相互影响.
I need to analyze a few million geocoded records, each of which will have latitude and longitude. These records include data of at least three different types, and I will be trying to see if each set influences the other.
哪个数据库最适合所有这些数据的基础数据存储?这是我的愿望:
What database is best for the underlying data store for all this data? Here's my desires:
- 我对DBMS熟悉.我对PostgreSQL最弱,但是我愿意学习是否其他所有功能都可以解决.
- 它与GIS查询配合得很好. Google搜索表明PostgreSQL + PostGIS可能是最强大的?至少很多产品似乎都在使用它. MySql的Spatial Extensions似乎比较少?
- 低成本.尽管SQL Server Express 2008 R2的DB限制为10GB,但我不确定我是否要承受免费版本的这一限制和其他限制.
- 不与Microsoft .NET Framework对抗.多亏了Connector/Net 6.3.4,MySql可以很好地运行C#和.NET Framework 4程序.它完全支持.NET 4的实体框架.尽管我不反对为Devart的dotConnect for PostgreSQL Professional Edition支付180美元,但我找不到任何与之相当的非商业PostgreSQL.
- 与R兼容.似乎所有这三个都可以使用ODBC与R通讯,因此可能不是问题.
- I'm familiar with the DBMS. I'm weakest with PostgreSQL, but I am willing to learn if everything else checks out.
- It does well with GIS queries. Google searches suggest that PostgreSQL + PostGIS may be the strongest? At least a lot of products seem to use it. MySql's Spatial Extensions seem comparatively minimal?
- Low cost. Despite the 10GB DB limit in SQL Server Express 2008 R2, I'm not sure I want to live with this and other limitations of the free version.
- Not antagonistic with Microsoft .NET Framework. Thanks to Connector/Net 6.3.4, MySql works well C# and .NET Framework 4 programs. It fully supports .NET 4's Entity Framework. I cannot find any noncommercial PostgreSQL equivalent, although I'm not opposed to paying $180 for Devart's dotConnect for PostgreSQL Professional Edition.
- Compatible with R. It appears all 3 of these can talk with R using ODBC, so may not be an issue.
我已经使用MySql进行了一些开发,但是如有必要,我可以进行更改.
I've already done some development using MySql, but I can change if necessary.
推荐答案
如果您有兴趣进行全面比较,建议您和/或,由波士顿GIS公司提供.
If you are interested in a thorough comparison, I recommend "Cross Compare SQL Server 2008 Spatial, PostgreSQL/PostGIS 1.3-1.4, MySQL 5-6" and/or "Compare SQL Server 2008 R2, Oracle 11G R2, PostgreSQL/PostGIS 1.5 Spatial Features" by Boston GIS.
考虑您的观点:
- 我熟悉DBMS:在Windows上轻松建立PostGIS数据库,使用PgAdmin3管理也很简单
- 它在GIS查询中表现出色: PostGIS绝对是这三个中最强大的,只有Oracle Spatial具有可比性,但如果考虑到其成本,则被取消资格
- 低成本:肯定是+1的PostGIS
- 不与Microsoft .NET Framework相对立::您至少应该能够通过ODBC进行连接(请参阅Postgres Wiki )
- 与R兼容:这三个都不是问题
- I'm familiar with the DBMS: setting up a PostGIS database on Windows is easy, using PgAdmin3 management is straight-forward too
- It does well with GIS queries: PostGIS is definitely strongest of the three, only Oracle Spatial would be comparable but is disqualified if you consider its costs
- Low cost: +1 for PostGIS for sure
- Not antagonistic with Microsoft .NET Framework: You should at least be able to connect via ODBC (see Postgres wiki)
- Compatible with R: shouldn't be a problem with any of the three
这篇关于GIS:PostGIS/PostgreSQL与MySql与SQL Server?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!