保持在数据库app_data文件和连接到外部数据库之间差 [英] difference between keeping database in app_data and connecting to an external database

查看:185
本文介绍了保持在数据库app_data文件和连接到外部数据库之间差的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道什么是创建在app_data文件数据库和连接到外部数据库之间的差。

I want to know what is the difference between creating a database in app_data and connecting to a external database.

我通过这个question.but去我不清晰的概念。

i went through this question.but i am not clear idea.

<一个href="http://stackoverflow.com/questions/4000848/whats-the-difference-between-the-database-inside-app-data-folder-vs-connecting-t">What's VS连接到SQL Server App_Data文件夹内的数据库之间的区别是什么?

什么是使用每种类型的优势/劣势。

what is the advantages/disadvantage of using each type.

推荐答案

在开发,你不会看到他们两人之间有很大的区别,但很多人都知道,SQL服务器EX preSS有一定的限制(如支持仅1个CPU),这与密集的网站会影响整体性能。

while developing, you will not see a big difference between both of them, but as many know, SQL server express has some limitations ( like supporting only 1 CPU) and this with intensive websites will affect the overall performance.

如果你的模型是使用SQL EX preSS本地开发,然后采取DB从App_Data文件夹到一个完整的SQL Server实例(说你的主机服务器上),那么不用担心,但托管你的网站,让SQL服务器EX preSS管理您的最终用户,可能会导致不好的性能解决方案。

if your model is to develop locally using SQL express, then take the DB from your App_Data folder to a full SQL server instance( say on your hosting server) then no worries, but hosting your website and let SQL server express manage your end users, may result in bad performance solution.

这篇关于保持在数据库app_data文件和连接到外部数据库之间差的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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