Archive systems for the TNG telescope: lessons learned in the VO perspective