Let's assume the following situation:
- I have a database server that uses 4 core CPU;
- My machine has 2 core CPU;
- Assume they are of equal speed in terms of GHZ;
- Systems are connected over a network (two lines 200mb/s each);
Test tool that I use provides # of threads parameter and will issue commands in parallel to the server.
QUESTIONS:
- How would you test parallel reads/writes via stored procedure? Please brainstorm as any advice is appreciated;
- How can I prove that many threads are executing the queries on the server (or should I not pay attention to this as this servers and DB's responsibility)?
- What controls how many threads are executed at any time primarily in case of SQL server? I checked the "server properties" > processors > # of processors and threads section - waht more should I check?
- How can I check that my application truly executes on all my machine cores - in other words - uses real threads instead of virtual ones? Or should I pay attention only to the virtual ones?
- Should I pay attention to the network bandwidth? Can it be a bottleneck (I dont' send any big data, only commands with variables).