In simpler terms pack factor helps you to bundle up a bunch on instructions into a single package and send it to TD. That's faster than sending one instruction, getting back it's ACK/RESP from TD, send the next instruction etc...And having more sessions... well that help you do things in parallel ... it's like having more people to pick cherries is faster than having one person pick .. :)So having multiple sessions gives your more workers to do things in parallel ...
Actually it "depends"For example, if you had serialize on, and all the three records had the same value for key, you would end up using just one session. On the other hand if all the three records had diff key values, it will go to 3 sessions with serialize on.Without serialize on, all the the three records would be loaded by the same session (Because your pack is 10, so it tries to pack 10 records into the first session ...)
If we both are talking the same stuff (oh..) then there are no "multiple" tpump jobs. There's only one tpump job, with multiple sessions. And the job takes care of routing records to proper sessions based on the PI value... since there's only one job reading the data file and doing the assignment to sessions, there's no confusion or manual intervention required.I hope that clarifies.
That's true in that case there's a possibility of dead lock, one way to avoid that is to put pack factor 1 (very lousy in terms of performance).
I am trying to find the performance stats of a TPUMP control file that I am Using to run an insert statement. I need to find the SESSION No. in which the Insert is done in TERADATA Database. Please tell me how to do it.. Thanks
Hi ppl,In one of the articles i had come across, "pack factor and number of sessions contribute to the level of parallelism insite TD" .. can anyone tell exactly, how this happens..??? Thanks,Rock