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
What is Data Caches size?
What is the difference between stop and abort in informatica
Can you use flat files in Mapplets.
Define enterprise data warehousing?
What is Cognos script editor?
Please let me know how to make Data masking in informatica..
how to load dimension table and fact table. plz tell me the steps.
What is the meaning of decode in informatica?
What is a sorter transformation?
What is option by which we can run all the sessions in a batch simultaneously?
Explain the difference between a data warehouse and a data mart?
What is repository manager?
What are the types of caches in lookup?
Which means the first record should come as last record and last record should come as first record and load into the target file?
What are active and passive transformations?