Dear users, I need to fetch data from two different database (A and B). I wrote a sequential code fetching from A and, after the fetch is finished, from B. Then I tried to use threads: I splitted the fetches into 2 threads: each one makes its own connection to A or B and fetches his data. Apparently the threaded code works but the fetches are slower (about half) compared to the sequential code.
Is it a known issue or am I doing something wrong? Thanks for any hint ... I' using perl v5.8.8 built for i486-linux-gnu-thread-multi, DBI 1.57-1, DBD-Oracle-1.22 on linux ubuntu 7.10, kernel 2.6.22-15, dual core intel processor 2.80 GHz, Hyper-Threading enabled Davide -- Sacchetti Davide ARPAL UO3 Centro Meteo Idrologico Regione Liguria - Dir. Scientifica V.le Brigare Partigiane 2 16121 Genova (I) tel: +39 010 6437535 mail: [EMAIL PROTECTED] web: www.meteoliguria.it
