我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
Archive Database Will Not Run on Distributed Systems

Issue

Archives will not run through scheduled tasks on a distributed system.

Product Line

Power Monitoring Expert 8.x

Power Monitoring Expert 9.x

Power Monitoring Expert 2020

Power Monitoring Expert 2021

Power Monitoring Expert 2022

Power Monitoring Expert 2023

Power Monitoring Expert 2024

Environment

SQL Server Database

Cause

Scheduled tasks on distributed systems need to be set up. This is commonly handled by the database administrator and will need to be configured following an upgrade or migration.


Resolution

Resolution 1:

Follow the steps listed in the PME System Guide: https://product-help.schneider-electric.com/EcoStruxure/Power-Monitoring-Expert-2024/content/8_reference/configuring/database_maintenance/ref_dbmaint_setuparchivetask.htm

Resolution 2:

If the above does not work follow the steps below:

  1. Open SQL Server Management Studio. Navigate to the ION_Data database. Right click on ION_Data -> Tasks -> Generate Scripts.
  2. Create a script with the below configuration
    1. Choose Objects: Script entire database and all database objects
    2. Set Scripting Options: Save as script file
      1. Confirm under Advanced that type of data to script is Schema Only
        1. Properties
  3. Click Next until the script is saved.
  4. In SSMS, File -> Open recently saved script. Press Ctrl + F to search for all references to ION_Data. Click the leftmost dropdown error to expand the replace option. Replace ION_Data with the desired name of your archive.
    1. SCript
  5. Set MAXSIZE for the .ldf and .mdf file to be unlimited. Set SIZE to be a reasonable size depending on the length of the archive. Make sure the location to which the archive is being saved can accommodate the size of the .ldf and .mdf files.
  6. Run the query.
  7. If successful, disconnect and reconnect to the PME SQL Server instance. Confirm that the archive is attached to the instance by locating it in the database tree.
    1. Images
  8. Right Click on the database archive -> Properties -> Files -> Owner -> Set to ION or the Windows user running the PME services.
    1. Database Properties
  9. Open up the ION_Data tree by clicking on the + symbol. Navigate to Programmability -> Stored Procedures -> Right click on dbo.Archive and select Execute Stored Procedure.
    1. SourceDBNameValue: ION_Data
    2. ArchiveDBNameValue: Your Archive Name
    3. StartDateValue: YYYY-MM-DD
    4. EndDateValue: YYYY-MM-DD
    5. ArchiveIntervalValue: 1 (this is your revenue data)
    6. ArchiveEventValue: 1 (this is your event data)
    7. ArchiveWaveformValue: 1 (this is your waveform data)
    8. It is recommended that if trimming is needed, do this post archive to increase the query speeds. Select 0 for the remaining values.
  1. Press OK.

施耐德電機Taiwan

探索更多
系列:
探索更多
系列:

需要協助?

  • 產品選型工具

    快速輕鬆地為您的應用找到合適的產品和附件。

  • 取得報價

    立即線上提交您的銷售需求,專業團隊將主動聯繫您。

  • 購買地點

    輕鬆在您所在地區找到最近的施耐德電機經銷商。

  • 支援中心

    在同一位置找到滿足您所有需求的支援資源。

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings