Fast Record Append

Which is the faster way - Adding a record at the beginning of a file or adding a record at the end of a file? Explain

Questions by shalaka242

Showing Answers 1 - 12 of 12 Answers

Adding a record at the begining, will lead to move the exisiting recordswhere as adding a record at the end, will not require moving of exisiting records.so Adding of records at the end is the fastest way to append

  Was this answer useful?  Yes

jayapraveen

  • Feb 11th, 2011
 

Best way is to have a flag in the data to denote it is last row. =Powercenter reads till end of data and it reads in blocks, so it doesn't =expose the state of the last record.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions