I'm trying to use the Autonumber() function to remove the Symbol width... for performance tuning.
However it's not working...
Background, we are adding tables together via an SQL union
1. The first table uses 'gkey' as primary key (about 2,000,000 rows)
2 The secondary table uses 'dkey' as 'gkey' as the primary key [but we add 9 Trillion to the dkey, to avoid any overlapping, duplicate keys: so 561,930 becomes 9,000,000,561,930...so after the union, all the keys are still distinct, howbeit there is a large gap between keys from different tables]
My question is... can I use autonumber with an SQL Union statement? Could the SQL union be causing the problem?
Here is my Load statement, and SQL Union statement....
Autonumber(gkey,'gkey') AS [Primary Gkey],
dkey as gkey.
Here is my current size (in Rob Wunderlich's Document Analyzer):
Re: Does Autonumber work with SQL Union Statement?
However, I'm not sure, why, after I use autonumber doesn't reduce my Symbol Width to ) (.e.g. Sequential numbers occupy zero Symbol storage... the state table used as proxy). Shouldn't my Symbol width be 0 ?