Does Benchmark Factory replay trace file in parallel or in sequence? For example, if 10 trace files are imported but gathered from different times, does the replay run them in parallel or in sequence? Also, if one session has 5 queries, does Benchmark Factory replay the 5 queries in sequence or in parallel?
When BMF imports trace file(s), it is importing the SQL and the bind parameters for every session recorded in the trace file(s). This data also includes the timestamp of when the SQL was executed. BMF uses this not only to create the sessions (user scenarios) and their associated SQL, but also maintain the timing relationship between the SQL executions. Also each session is, just like Oracle saw it when it traced the data, is it own connection. So each user scenario (session) is, or can be if the timing specifies it, can be run in parallel. The SQL within the user scenarios is run sequential. Therefore when the import is replayed it is played back the same way as the Oracle database saw it when it was originally traced.
If trace files are gathered at different times, but are imported at the same time, there will be delays in the replay to match the time of the trace files because BMF retains the timing information. For example if two trace files are imported but one was captured an hour after the first one, when the workload is replayed there will be an hour wait before the sessions are executed.
The delay (latency) of the user scenarios (sessions) of the imported traces can be changed by editing the latencies, in particular the keying time, of the user scenarios themselves.