Pergunta de entrevista da empresa Adobe

How would you pull this data out of this SQL table without loading it all into memory?

Respostas da entrevista

Sigiloso

10 de mar. de 2015

What's the answer for this?

Sigiloso

10 de mar. de 2015

The answer I gave was instead of loading it into memory to do your processing, you would instead preprocess the file you wanted using unix command line programs and then you create a stream to the DB file and read data in from it. Basically the answer is you don't load it all into memory. You use input/output steams to process the data one line at a time.