[VDF 19.1 w/MySQL 8.0 and ODBC 6.x] Using the method attached/below with a fairly complex SELECT Statement and two files having 28M records I can return 52k records in 4 seconds when I comment out the bolded code that adds to the array. However, I need to grab the id's of records found for a subsequent archive process: When I uncomment that bolded code and add 52k record id's to the array it takes 1140 seconds (=19 min, which is too long). Any input you have on how to do this WAY more efficiently is most appreciated