Kev*_*don 11 tridion tridion-2011
我目前正在测试Tridion 2011,并且在创建带有上传内容的多媒体组件时遇到了问题(而不是外部).
我填写标题,架构,多媒体类型,从我的系统中选择一个文件,然后单击保存.我收到一条Saving item...信息消息,大约30秒后我会收到一条The wait operation timed out消息.
目录中似乎没有任何错误消息C:\Program Files (x86)\Tridion\log.查看事件查看器,我看到以下有关保存操作的信息
Unable to save Component (tcm:4-738361).
The wait operation timed out
Error Code:
0x8004033F (-2147220673)
Call stack:
System.Data.SqlClient.SqlConnection.OnError(SqlException,Boolean,Action`1)
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException,Boolean,Action`1)
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject,Boolean,Boolean)
System.Data.SqlClient.TdsParser.TryRun(RunBehavior,SqlCommand,SqlDataReader,BulkCopySimpleResultSet,TdsParserStateObject,Boolean&)
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader,RunBehavior,String)
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior,RunBehavior,Boolean,Boolean,Int32,Task&,Boolean)
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior,RunBehavior,Boolean,String,TaskCompletionSource`1,Int32,Task&,Boolean)
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1,String,Boolean,Int32,Boolean)
System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
Tridion.ContentManager.Data.AdoNet.Sql.SqlDatabaseUtilities.SetBinaryContent(Int32,Stream)
Tridion.ContentManager.Data.AdoNet.ContentManagement.ItemDataMapper.Tridion.ContentManager.Data.ContentManagement.IItemDataMapper.SetBinaryContent(Stream,TcmUri)
Tridion.ContentManager.ContentManagement.RepositoryLocalObject.SetBinaryContent(BinaryContent)
Tridion.ContentManager.ContentManagement.Component.OnSaved(SaveEventArgs)
Tridion.ContentManager.IdentifiableObject.Save(SaveEventArgs)
Tridion.ContentManager.ContentManagement.VersionedItem.Save(Boolean)
Tridion.ContentManager.ContentManagement.VersionedItem.Save()
Tridion.ContentManager.BLFacade.ContentManagement.VersionedItemFacade.UpdateAndCheckIn(UserContext,String,Boolean,Boolean)
XMLState.Save
Component.Save
Run Code Online (Sandbox Code Playgroud)
由于另一个问题,我已将Content Manager Snap-In中的超时设置设置为高值(超过10分钟).
BINARIES如果有帮助,内容管理数据库中的表为25GB.
有任何想法吗?谢谢.
根据Bart Koopman的建议,我的DBA重建了索引,但并未认为事务日志对性能有任何影响.问题依然存在.
我刚刚发现了错误的更多细节
Unable to save Component (tcm:0-0-0).
Timeout expired.
The timeout period elapsed prior to completion of the operation or the server is not responding.
A database error occurred while executing Stored Procedure "EDA_ITEMS_UPDATEBINARYCONTENT".EDA_ITEMS_UPDATEBINARYCONTENT
Run Code Online (Sandbox Code Playgroud)
看一下这个程序后,看起来以下语句可能是根本原因
SELECT 1 FROM BINARIES WHERE ID = @iBINARY_ID AND CONTENT IS NULL
Run Code Online (Sandbox Code Playgroud)
我手动执行它,@ iBINARY_ID为-1,2分钟后仍然没有完成.我假设当我插入一个新的多媒体组件时,查询将是类似的(即表中不存在id).
BINARIES表目前有一个NON-CLUSTERED主键.也许解决方案是将其更改为主CLUSTERED键?但是,我认为它是非集群的原因.
Kev*_*don 14
刚收到SDL客户支持的回复.显然,这是与统计和所选查询计划相关的已知问题.
从SQL Server Management Studio手动运行以下语句可以解决问题(甚至不需要为我完成)
SELECT 1 FROM BINARIES WHERE ID = -1 AND CONTENT IS NULL
Run Code Online (Sandbox Code Playgroud)
希望这可以帮助其他人!
| 归档时间: |
|
| 查看次数: |
2080 次 |
| 最近记录: |