产品使用及交流论坛
wwx8311 - 2010/7/5 15:43:00
不知道大家的网站没有遇到这样的问题,就是以改变内容或者是模板,access数据库就会变得出奇的大,本来只有8M的,居然会变成180M,太可怕了。目前解决的方法就是下载下来,压缩以后再上传,累不说,也不是长久之计。大家都是怎么解决的,有没有可以在线压缩的源文件提供出来给大家参考。
还有一个提问,为什么会有这么多的数据冗余?是因为bug还是故意设置的门槛?
gearfox - 2010/7/5 20:19:00
这个是bug的 使用最新补丁重新覆盖升级后 问题解决
wwx8311 - 2010/7/6 10:03:00
最新补丁是什么概念
gearfox - 2010/7/6 10:41:00
比如2010-6-18的
wwx8311 - 2010/7/6 11:18:00
补丁打过了,可是依旧数据会暴涨~,
gearfox - 2010/7/6 17:26:00
覆盖后 多执行几次sql语句
wwx8311 - 2010/7/7 9:26:00
sql语句?我使用access 数据库,请问如何执行sql?
gearfox - 2010/7/7 11:48:00
当然了 你没注意看升级说明么?
在覆盖之前 只要先执行的
然后再覆盖
gearfox - 2010/7/7 11:49:00
先备份再执行
alter table information add author nvarchar(100),source nvarchar(100);
alter table lanmu1 add zdy_wztop ntext;
alter table member add reg_ip varchar(50),lst_ip varchar(50);
alter table ip add isrobot int default 0;
update ip set isrobot=0;
wwx8311 - 2010/7/8 9:17:00
继续求教大哥~
wwx8311 - 2010/7/8 9:21:00
先备份再执行 是备份 数据库么?
wwx8311 - 2010/7/8 10:17:00
大哥,按照补丁说明,都装了一遍,可惜没成功。依旧会暴涨~
gearfox - 2010/7/8 16:19:00
但是我就是这么变正常的。
wwx8311 - 2010/7/11 18:12:00
现在依旧正常么?对了,你现在的数据正常的有多大?
gearfox - 2010/7/14 9:16:00
我正常的是4.6m
前几天升级到0709版本 数据又变大了。。 现在还没恢复
wwx8311 - 2010/7/14 15:57:00
杯具了
gearfox - 2010/7/14 16:17:00
是的呀 。。
试过好几个办法了 都没解决呢
kax168 - 2010/7/14 17:00:00
我的更离谱 现在大到1G 真奇怪
wilsonjor - 2010/7/14 19:18:00
access数据库强大到这个程度网站还能用吗?呵呵
能访问不?
丢失的蓝色 - 2010/7/14 19:37:00
下载最新的版本
除了images,template,upload文件夹不用覆盖
以及web.config不要覆盖,其他的全部覆盖下去,
在压缩下数据库.这样就好了
gearfox - 2010/7/14 23:18:00
好的 我去试试
gearfox - 2010/7/15 9:28:00
按您的方式测试了 网站直接出现错误了。
wwx8311 - 2010/7/15 11:01:00
只能重新安装了~
wwx8311 - 2010/7/16 16:42:00
已经解决,就是要彻底的安装一遍新的,就可以了。数据库可用以前的。
master - 2010/7/17 11:15:00
您能帮我操作一下吗?》
gearfox - 2010/7/19 13:31:00
数据库用以前的,直接报错了。
- 堆栈跟踪:
- [OleDbException (0x80040e10): 至少一个参数没有被指定值。]
- System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1003520
- System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +255
- System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +188
- System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
- System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +161
- System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +116
- System.Data.OleDb.OleDbCommand.ExecuteReader() +6
- PageAdmin.banner.x22cf7fa3883a3f80() +1435
- PageAdmin.banner.xc1bb1325cf000902() +310
- PageAdmin.banner.Page_Load(Object sender, EventArgs e) +200
- System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
- System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
- System.Web.UI.Control.OnLoad(EventArgs e) +91
- System.Web.UI.Control.LoadRecursive() +74
- System.Web.UI.Control.LoadRecursive() +163
- System.Web.UI.Control.LoadRecursive() +163
- System.Web.UI.Control.LoadRecursive() +163
- System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2607
-
复制代码
master - 2010/7/19 14:11:00
我的还没动,哎,一直没解决
xiyou - 2010/7/19 16:02:00
这个问题升级到新版本就可以
wwx8311 - 2010/7/19 16:15:00
用旧版本的数据库,可以么?
gearfox - 2010/7/19 17:07:00
bin目录下的dll是17号的
已经再次升级了
再观察观察。 有问题了我再联系您咯