[aprssig] High speed datbase inserts (feedback/ re-think)
Andrew Rich (VK4TEC) vk4tec at tech-software.netWed Mar 2 06:32:22 UTC 2005
- Previous message: [aprssig] High speed datbase inserts (CGI)
- Next message: [aprssig] High speed datbase inserts (feedback/ re-think)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ok I tried telnet to my source and insert into directly into mysql. This works great UNTIL ... you do any other database activity on the table. The perl script cannot insert (even delayed) and bombs out. Maybe the telnet overruns ? I don't know. Some solutions I see are 1) Write to temp file and get mysql to copy from temp into real table (mysqlcopy ?) 2) Write to flat files and mysqlimport into the real table. (csv files) 3) Use RAM some how (hash tables ?) I have never been here before and it is intersting to see you script flying past on one screen inserting data, and then as soon as you do a select on the table, the insert script halts and dies (sometimes it recovers) sometimes it does not. Cheers Andy vk4tec
- Previous message: [aprssig] High speed datbase inserts (CGI)
- Next message: [aprssig] High speed datbase inserts (feedback/ re-think)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the aprssig mailing list
