WGM Code (both ProE and other CAD WGMs) governs file name uniqueness and not the database. Because of this one flaw, Windchill is not a truly multi-CAD tool. It behaves like a single Pro/INTRALINK. Cannot import customer data and compare, collaborate with other companies. OOTB ProjectLink has conflicts with duplicates the same file name in the ProjectLink workspace with commonspace.
out with the old:
SQL> drop index WTPartMasterKey$UNIQUE;
SQL> drop index WTDocumentMasterKey$UNIQUE;
SQL> drop index EPMDocumentMasterKey$UNIQUE;
on with the new:
SQL> CREATE UNIQUE INDEX WTPartMasterKey$UNIQUE ON WTPartMasterKey(wtkey,idA3organizationReference) TABLESPACE INDX STORAGE ( INITIAL 64k NEXT 64k PCTINCREASE 0 );
SQL> CREATE UNIQUE INDEX WTDocumentMasterKey$UNIQUE ON WTDocumentMasterKey(wtkey,idA3organizationReference) TABLESPACE INDX STORAGE ( INITIAL 64k NEXT 64k PCTINCREASE 0 );
Or SQL> CREATE UNIQUE INDEX WTDocumentMaster$UNIQUE ON WTDocumentMaster(WTdocumentnumber,doctype,idA3organizationReference) TABLESPACE INDX STORAGE ( INITIAL 64k NEXT 64k PCTINCREASE 0 );
SQL> CREATE UNIQUE INDEX EPMDocumentMaster$UNIQUE ON EPMDocumentMaster(documentnumber,doctype,authoringapplication,idA3organizationReference) TABLESPACE INDX STORAGE ( INITIAL 64k NEXT 64k PCTINCREASE 0 );
SQL> CREATE UNIQUE INDEX EPMDocumentMasterFile$UNIQUE ON EPMDocumentMaster(cadname,authoringapplication,idA3organizationReference) TABLESPACE INDX STORAGE ( INITIAL 64k NEXT 64k PCTINCREASE 0);
SQL Server has issues with indexes that goes beyond 8K. SQL Server is such a immature database tool. I have a mile long of issues why customers should not go with SQL server. The license may be cheap but it is horrible to support and maintain. I just wish PTC support in the future PostgreSQL. Like RedHat Linux, some company can just support it. I went to SQL server DBA courses and TC meetings regarding moving from Oracle to SQL Server and both sadly asked me "Why would you do that?". I told them it was not my decision and all of them including the SQL Server DBAs from some large banks shook their heads in pity.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.