简体   繁体   English

大规模数据库性能…MongoDB / NoSQL eval

[英]Large scale database performance … MongoDB / NoSQL eval

I'm working on a project currently where in production we have 100k rows or so in production. 我正在开发一个项目,目前在生产中我们有10万行左右的生产。

The existing system which I inherited is having quite a bit of problems dealing with this much data due to the complexity of the application. 由于应用程序的复杂性,我继承的现有系统在处理大量数据方面存在很多问题。 This will only be compounded year over year with the about the same frequency. 这只会以大约相同的频率逐年复合。 Give we are already having problems I think I need to start investigating options. 给我们已经遇到的问题,我认为我需要开始研究选择方案。

This was written in .NET / MSSQL. 这是用.NET / MSSQL编写的。 I'm trying to evaluate and determine if using a different database structure like MongoDB or maybe even mixed would help improve this. 我正在尝试评估并确定是否使用不同的数据库结构(如MongoDB或什至混合使用)是否可以帮助改善这一点。 For example, if the data was modeled in json it would look something like: 例如,如果数据是在json中建模的,则它将类似于:

Record 记录

 {
    1234: "Harry",
    1233: "Black",
    1234: 5
 }

Meta

{
    1234: {
        name: "First Name",
        alias: "fname",
        guid: "343-3433-4333",
        initalValue: "Calvin",
        type: 1
    },
    1233:{
        name: "Last Name",
        alias: "lname",
        guid: "343-3433-4333",
        initalValue: "Marshall",
        type: 1
    },
    1233:{
        name: "Age",
        alias: "age",
        guid: "343-3433-4343",
        type: 2,
        listId: 1
    }
}

List Meta 列出中继

{
    1:{
        1: "0-20",
        2: "20-30",
        3: "30-50",
        4: "50-60",
        5: "60 and older"
    }
}

This is a basic example, there is much more data in the record and more complexity in the meta data portion. 这是一个基本示例,记录中的数据更多,而元数据部分的复杂性更高。 Given this, what type of system would you suggest? 鉴于此,您建议使用哪种类型的系统?

If you use SQL Server 2012, you can consider ColumnStore Index technology : http://msdn.microsoft.com/en-us/library/gg492088.aspx , especially the scenarios : http://msdn.microsoft.com/en-us/library/gg492088.aspx#Scenarios , and check if it can fit. 如果使用SQL Server 2012,则可以考虑使用ColumnStore Index技术: http : //msdn.microsoft.com/en-us/library/gg492088.aspx ,尤其是以下场景: http : //msdn.microsoft.com/zh- us / library / gg492088.aspx#Scenarios ,并检查其是否适合。

This tehcnology will be improved in the new version of SQL Server, SQL Server 2014. 在新版本的SQL Server SQL Server 2014中将改进此技术。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM