libyal / libesedb

Library and tools to access the Extensible Storage Engine (ESE) Database File (EDB) format.
GNU Lesser General Public License v3.0
338 stars 91 forks source link

Feature request: read table records in an iterator style #31

Open igorrogov opened 6 years ago

igorrogov commented 6 years ago

At the moment there is no way to quickly scan all the records in a table. The following methods work very slow on large EDB files (10+gb):

libesedb_table_get_number_of_records
libesedb_table_get_record

It would be really great to have a function that would just return the next record without scanning the entire table tree, something like that: libesedb_table_get_next_record or via callback function libesedb_table_iterate_records( int (*func) (libesedb_record_t *record )

Thanks!

joachimmetz commented 5 years ago

I'll assess this FR as part of https://github.com/libyal/libesedb/issues/2