I am new to multi-threading.
Is it safe to make 8 threads, one for every table? I use TTask
.
Theoretically it should be safe, assuming each table is accessed using a separate thread and no data is shared between the threads.
It should be safe even if you slightly "mess up", since the databases are likely to be thread safe.
However, your internal code might not be thread safe, so we don't really know.