Which gives the more performance when compare to fixed
width and delimited file ? and why?
Answer Posted / ams
It all depends on data and what you are ultimately doing
with that data. Any consumer of that data will ultimately
want to break down that data into fields. During the break
down of those fields, you will need to check for a maximum
field size as you read through the data stream.
So if you have an 80 character fixed width field, you will
ultimately have 80 comparisons to see if you have reached
the field max.
Delimited break down of data requires not only a check for
the field max, but also a check for the end of field
delimiter.
So if your delimited field is only 20 characters long, you
will have only 40 comparisons made across those 20
characters you just processed.
So, the more padding you have in your fields, the less
efficient fixed width becomes when processing.
An additional factor is actual bytes that are necessary to
be transmitted. In almost all cases, delimited will
require less character having to be transmitted.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
I have 10 columns in a flat file and 10 rows corresponding to that columns. I want column number 5 and 6 for last five records. In unix as well as informtica.
Is it possible to define a single node as a Gateway node as well as worker node?
server hot-ws270 is connect to Repository B. What does it mean?
Explain direct and indirect flat file loading (source file type) - informatica
What are the static cache and dynamic cache in informatica?
tell me the rules and responsblites in our project(my project is development)
Can we override a native sql query within informatica?
Explain pmcmd command usage in informatica
What are the different options available for update strategy?
What is deployment group?
How would you join a node to the already existing domain?
What is a joiner transformation?
What is session task and command task?
What do you understand by a term domain?
What is the difference between stop and abort in informatica