patternMinor
What might be the reason for licence compliance violation?
Viewed 0 times
mightthewhatviolationreasonforlicencecompliance
Problem
Much to my surprise we got a licence compliance violation for our DB2 Workgroup Server Edition installation regarding:
Since we are not using any of these I was kind of puzzled, how can this happen?
~]$ db2licm -g tmp.txt
~]$ cat tmp.txt
License Compliance Report
DB2 Workgroup Server Edition Violation
Materialized Query Tables
Multidimensional Clustering TablesSince we are not using any of these I was kind of puzzled, how can this happen?
Solution
One possible cause might be that someone created a sample database using db2sampl. The sample database contains both of these artefacts:
It appears as if something in the instance is flipped during create of sample database, dropping the sample database does not help, the violation persists.
As @Chris Aldrich points out in the comment,
Out of curiosity I created 1 MQT to see if the violation re-appears. So far it has not. It's now more than 12 hours since I created the MQT and I'm still in compliance.
I'm still puzzled by how the licence compliance mechanism works, but I'll add another question about that.
]$ db2 -x "select tabschema, tabname, type, clustered
from syscat.tables
where type = 'S' or clustered = 'Y'"
DB2INST1 ADEFUSR S -
DB2INST1 EMPMDC T YIt appears as if something in the instance is flipped during create of sample database, dropping the sample database does not help, the violation persists.
As @Chris Aldrich points out in the comment,
db2licm -x does a reset of the license report:DB2 Workgroup Server Edition In complianceOut of curiosity I created 1 MQT to see if the violation re-appears. So far it has not. It's now more than 12 hours since I created the MQT and I'm still in compliance.
I'm still puzzled by how the licence compliance mechanism works, but I'll add another question about that.
Code Snippets
]$ db2 -x "select tabschema, tabname, type, clustered
from syscat.tables
where type = 'S' or clustered = 'Y'"
DB2INST1 ADEFUSR S -
DB2INST1 EMPMDC T YDB2 Workgroup Server Edition In complianceContext
StackExchange Database Administrators Q#147869, answer score: 2
Revisions (0)
No revisions yet.