It is a two's complement overflow, and I use this SQL snippet to get valid values. I get the value, a MB value and the real number in case there is some confusion.
CASE
WHEN to_number(t.data_byte_count) < 0 THEN
power(2, 32) + to_number(t.data_byte_count) + 1
ELSE
to_number(t.data_byte_count)
END data_byte_count,
CASE
WHEN t.data_byte_count < 0 THEN
round((power(2, 32) + t.data_byte_count + 1) / power(1024, 2), 4)
ELSE
round(t.data_byte_count / power(1024, 2), 4)
END data_byte_count_mb,
t.data_byte_count AS data_byte_count_neg,
Thanks,
Ed Lipson
Director
BNY Mellon | 2 Hanson Pl AIM 111-0800 | Brooklyn NY 11217
Information Lifecycle Management
T 718.315.4763 | F 724.540.6622 | C 917.859.5180 | ed.lipson@bnymellon.com
The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.
Please refer to
https://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities. We take our data protection and privacy responsibilities seriously and our privacy notice explains how we collect, use and share personal information in the course of our business activities. It can be accessed at the privacy section of
www.bnymellon.com.------Original Message------
I am in the process of estimating our next 2 years of Optim Data Growth volume license usage for Native Optim Connectors.... "relational databases".
During our validating testing of Optim 11.3. FP7, I noticed some unexpected results in the
"Archive File Data Byte Count" that is written to the Archive Process Report. The value that is written to the...
- PSTARCVFILE*,
- PSTARCVTBL*,
- PSTOBJ* tables.
- Or better yet, the xml content in the OPTIM_TRANSACTION_CONTENT table.
Has anyone come across any documentation or have experience on how this calculation works? i.e. compressed or uncompressed data sources. Why the negative values in the results? I am unable to reliably use the information in these tables to determine or predict how much licencing I should purchase.
It appears as though FP7 addressed the OPTIM_DATA_CONSUMPTION_VIEW calculation issues but I'm still seeing very large differences between the actual source size of the database objects and what Optim calculates or writes to the Process Report?
P.S.
Yes I have a ticket open for this.
------------------------------
Danny Lankford
Advanced IT Specialist
3M
St Paul MN
------------------------------
#InfoSphereOptim#Optim