技术文章 - CS321032

“无法为对象分配空间<Object>在数据库中<Database>因为“PRIMARY”文件组已满”在 Microsoft SQL Server 上的 ThingWorx Platform 上显示

已修改: 23-May-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Platform 9.0 to 9.6
  • Microsoft SQL Server
  • Azure SQL Database

说明

  • Microsoft SQL Server 上的 ThingWorx Platform 不会启动,并在/ThingworxStorage>/logs/ApplicationLog.log中引用以下数据库错误:
    • [L: ERROR] [O: c.t.p.m.MssqlModelExceptionTranslator] [I: ] [U: SuperUser] [S: ] [T: ForkJoinPool-1-worker-3] [message: Could not allocate space for object '<object_name>'.<object_name>' in database 'thingworx' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.]
      [L: ERROR] [O: c.t.s.s.a.AuditSubsystem] [I: ] [U: SuperUser] [S: ] [P: ] [T: ForkJoinPool-1-worker-1] Unable to write audit entry for: [AuditEntry category=audit.AuditCategory.Lifecycle, messageKey=<Audit>]
      [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: Administrator] [S: ] [T: http-nio-8443-exec-4] [context: com.thingworx.webservices.context.HttpExecutionContext@7753d44a][message: Thing [ptc-windchill-demo-thing] is not running]
  • 将实体导入 ThingWorx 失败,并在/ThingworxStorage/logs/ErrorLog.log中出现以下错误:
    • [L: ERROR] [O: E.c.t.p.m.MssqlModelExceptionTranslator] [I: ] [U: <User>] [S: ] [T: https-jsse-nio-8443-exec-11] [message: [1,018] Data store unknown error: [Error occurred while accessing the model provider.]] com.microsoft.sqlserver.jdbc.SQLServerException: Could not allocate space for object '<object_name>'.<object_name>' in database 'thingworx' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
          ...
      Wrapped by: com.thingworx.common.exceptions.ModelAccessException: [1,018] Data store unknown error: [Error occurred while accessing the model provider.]
          ...
  • 无法创建实体或编辑子系统的任何配置,并出现与上述相同的错误
  • 执行服务PurgeStreamEntries时出现以下错误:
    •  Unable to Invoke Service PurgeStreamEntries on XXX : com.thingworx.common.exceptions.DataAccessException: [1,018] Data store unknown error: [Error occurred while accessing the data provider.]
  • 无法更新事物形状,尝试更新和保存事物形状时出现以下错误:
    •  Unable to update thing shape: [1,018] Data store unknown error: [Error occurred while accessing the model provider.]
  • 日语错误信息如下
    • データベース 'thingworx' にオブジェクト 'xxx'.'xxx' の領域を割り当てられませんでした。'PRIMARY' ファイル グループがいっぱいです。不要なファイルの削除、ファイル グループ内のオブジェクトの削除、ファイル グループへの新しいファイルの追加、またはファイル グループの既存のファイルの自動拡張の設定のいずれかを行ってディスク領域を作成してください。
这是文章 321032 的 PDF 版本,可能已过期。最新版本 CS321032