Feb 10, 2019 06:49 AM
(This post was last modified: Feb 10, 2019 06:52 AM by RayGenWurm.)
Hey everyone,
i got my hands on "collection #1" password list.
since the collection is split into hundreds of files i am looking for a way to search trough all of them.
My idea at the moment is to import all lists into a mysql database and then write a simple script to search inside the database.
My problem is im not sure whats the best way to import this huge data.
We are talking here about 100 millions of lines.
First try: write a script that parses line by line of every file and write them into the database => of course takes ages
Second try: a php script using the LOAD FILE command to load whole files into the database => works okay but takes longer the larger the database gets
Third: using "LOAD FILE" via comand line with mysql => faster but also same problem as second try
so the main problem is: The larger the database gets the longer it takes to add new data.
For example first file with 100.000 lines get imported in 8 seconds... the third file with 100.000 lines already takes 40 seconds... 10'th file with 100.000 lines takes about 6 minutes...
do you have any ideas how to import the data?
i got my hands on "collection #1" password list.
since the collection is split into hundreds of files i am looking for a way to search trough all of them.
My idea at the moment is to import all lists into a mysql database and then write a simple script to search inside the database.
My problem is im not sure whats the best way to import this huge data.
We are talking here about 100 millions of lines.
First try: write a script that parses line by line of every file and write them into the database => of course takes ages
Second try: a php script using the LOAD FILE command to load whole files into the database => works okay but takes longer the larger the database gets
Third: using "LOAD FILE" via comand line with mysql => faster but also same problem as second try
so the main problem is: The larger the database gets the longer it takes to add new data.
For example first file with 100.000 lines get imported in 8 seconds... the third file with 100.000 lines already takes 40 seconds... 10'th file with 100.000 lines takes about 6 minutes...
do you have any ideas how to import the data?


![[Image: ln2sPXQ.gif]](https://i.imgur.com/ln2sPXQ.gif)

![[Image: 26yROWk.gif]](https://i.imgur.com/26yROWk.gif)
