I have several questions about how to handle a record module in my application, since the requirement indicates that a CVS file should be loaded with approximately 18mil to 20mil records . The file must be loaded in a JSF application, with PrimeFaces and MySql . Subsequently, through an SP that performs the logic of insertion in the database according to certain characteristics of the given information.
The question would be, although one reads the file and uses certain libraries ... Which would be the most optimal? What kind of List, map, etc , should be used for that number of records?