Mac OS / Mac OS X developer since 30+ years and have been doing database client software for most of that time.
As I have no idea what your goal is or what your program is supposed to do,, my estimate is as rough as volcanic rock, but I think we can work something out.