Hi, I am querying the database for a like 10000 tables ( the database is quite big ) and as of now my code for querying the database is serial. To speed up the process I intend to openup multiple connections to the database and query database i.e. embed some parallelism in the cilk code for my project. I cannot think of a way to implement this in cilk plus I thought of doing it in the following manner( but I don't know anything that would help me): Write a main queue in which all other threads put request to and a shared counter which takes into account how many connections are there at the this time if connection exceds maximum connection then you have to wait otherwise a connection would be granted to you. Please suggest some idea to implement this idea because the data extraction part is proving to be a real bottleneck in the process.Any help is appriciated!!!Thanks.
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.