- 浏览: 120498 次
- 性别:
- 来自: 武汉
最新评论
This past weekend I spent about 25 plus hours rehosting a production Windchill server to an identical development Windchill server. One of the last steps in cleaning up the rehost procedure is removing valuted items out of the database for replica sites. This needs to be done before you can remove all replica servers that are not being used. Typically, you aren't going to have replica servers talking to your development environment. Plus this helps keep your Windchill logs from getting cluttered with uneccesary errors and warnings.
Before you begin the SQL statement below is for MS SQL 2005 or MS SQL 2008. Also, remember that due to the settings of the Windchill database the column and table names are case sensitive.
-
Idenitfy if your database has a scheme
- By default the scheme is wtuser, but can be set to anything when the database is created
-
Run the following SQL script to get your vault names
select * from schemename.ReplicaVault
-
Open up a new script window, and run the following script to see which vaults have vaulted files
select idA2A2 from schemename.ReplicaFolder where idA3A5 in (select idA2A2 from schemename.ReplicaVault where name ='vault_name_from_query_above')
-
Make note of the vaults that return a number from the query above, and
then run the following script to delete from records from the database:
delete from schemename.MasteredonReplicaItem where idA3A4 in (select idA2A2 from schemename.ReplicaFolder where idA3A5 in (select idA2A2 from schemename.ReplicaVault where name ='vault_name_with_records_from_step_2'))
- After this is complete you can now remove the sites from the Sites administration from within Windchill. This is not an approved process by PTC, but I have worked with PTC's tech support to come up with this solution.
发表评论
-
How to deactivate a user in Windchill?
2012-10-17 22:09 1011Introduction Procedure base ... -
How to shorten display time for the inline message in Windchill 10.0
2012-09-03 00:24 1220标题 How to shorten display ... -
How to perform SaveAs on WTPart using API in Windchill PDMLink 10.0
2012-04-05 18:38 1555标题 How to perform SaveAs ... -
Manual Installation Steps For Archive Client Installation on Red Hat Linux 4.0
2012-03-31 19:18 1002On Red hat Linus 4.0 (64-Bit), ... -
Windchill单点登录方案
2012-03-31 00:20 3160Windchill SSO 单点登录 可下载附件查看。 ... -
如何在Windchill PDMLink 9.1设定多个Background Method Server去执行特定的工作流
2012-03-31 00:17 2687标题 如何在Windchill PDMLink 9.1 ... -
通过IE8访问Windchill PDMLink 10.0,出现警告提示"Windchill 只支持标准模式下的浏览器".
2012-03-31 00:15 3070标题 通过IE8访问Windchill PDMLink ... -
JSP Authentication with the Method Server
2012-02-07 20:31 3090During development for a cus ... -
Solution for searching the latest revision object
2012-02-01 11:44 1037// Implement your query ... -
Solution for search object with IBA Attribute
2012-02-01 11:39 1498QuerySpec qs = new Quer ... -
Required Ports for Windchill
2011-10-29 18:53 1075Windchill utilizes multiple por ... -
[WIP] How to see the document creator full name instead of the login name in DTI
2011-09-07 14:23 872标题 [WIP] How to see the doc ... -
Windchill Project Daily Build
2011-08-26 22:54 706下载软件: ant svnant sliksvn htt ... -
How to set schedule for Synchronization from Replica to Master?
2011-08-23 10:17 1106To do this, please follow these ... -
copy user from team administrator to workflow team.
2011-07-16 12:14 1665The code can be used directly i ... -
How to Disallow Anonymous Access to Aphelion LDAP?
2011-06-12 17:34 1667Description This TPI add ... -
MethodServer Exits Prematurely With the Error *com.ptc.windchill.upgrade.history
2011-06-11 23:39 2921Description ---------------- ... -
从Aphelion迁移至WindchillDS
2011-06-11 23:00 946假设: 1. Aphelion ... -
How to Configure Windchill with Active Directory
2011-06-09 22:28 3798说明 This article describe ... -
Taking the Windchill System Offline
2011-06-09 22:20 1215Description This documen ...
相关推荐
R. Fergus, B. Singh, A. Hertzmann, S. T. Roweis, and W. T. Freeman. Removing camera shake from a single photograph. ACM Trans. Graphics, 25(3):787–794, 2006.
Removing Credentials from a Cloned EBS Production Database (Doc ID 419475.1)
"Removing the Genetics from the Standard.pdf" 本文将从三个方面对标题、描述、标签和部分内容进行解析,并生成相关的知识点。 一、Genetic Algorithm(遗传算法) Genetic Algorithm(GA)是一种搜索、优化和...
removing fog from atmosphere
当用户遇到“Removing VM snapshot”备份任务在99%处停滞的问题时,这通常意味着备份过程的最后阶段——删除虚拟机快照——遇到了阻碍。这个问题可能导致备份周期延长,甚至完全失败,对数据保护策略造成影响。以下...
From Motion Blur to Motion Flow: a Deep Learning Solution for Removing Heterogeneous Motion Blur
Tutorial about how to remove sentinel dongle protection
"Modeling and Simultaneously Removing Bias via Adversarial Neural Networks"这篇论文提出了一种新颖的方法,通过对抗性神经网络(Adversarial Neural Network, ANN)来同时建模并消除这种偏差。 传统的解决偏差...
### Oracle Database 10g PL/SQL ... From basic concepts to advanced features, this resource equips readers with the knowledge necessary to effectively utilize PL/SQL for database application development.
Removing moire pattern using with a matlab algorithm
这个压缩包文件包含了名为 "源码(removing camera shake from a single photograph)" 的源代码,这可能是实现相机去模糊算法的程序。 相机抖动去模糊技术主要基于图像恢复理论,其中包括运动模糊模型、逆滤波和迭代...
Removing or Reordering Columnsin a List of Rows Recipe 4.8. Transposing Two-Dimensional Arrays Recipe 4.9. Getting a Value from a Dictionary Recipe 4.10. Adding an Entry to a Dictionary ...
Players alternate turns, and on his/her turn, a player’s move consists of removing one or more stones from any single pile. Play ends when all the stones have been removed, at which point the last ...
本应用报告——《 Removing Ground Noise in Data Transmission Systems》由Thomas Kugelstadt撰写,深入探讨了地噪声的来源、频率特性以及如何通过避免地电位差(GPDs)和地环路来提高传输信号的质量。 首先,地...
在IT领域,泰森多边形(Voronoi Diagram)是一种广泛应用的空间分割方法,它源自数学几何中的分形理论。泰森多边形也被称作泰森网格,它是由一系列多边形组成,每个点都是该多边形内部离自己最近的点集。...
本文主要探讨了如何从局部信息推测基恩士( KEYENCE )的 Removing Background Information 算法的实现。基恩士是一家知名的工业自动化和检测设备制造商,其算法通常涉及图像处理和分析。 1. **Removing Background ...
Predelete scripts are run only when removing files from the current boot volume. -e Show errors and other output when predelete scripts are run. Predelete scripts are run only when removing files ...