viper-framework / viper

Binary analysis and management framework
Other
1.54k stars 353 forks source link

Multiple projects are not supported when using mysql #723

Closed WilsonZJ closed 5 years ago

WilsonZJ commented 5 years ago

Firstly, I used Sqlite as database. The find command became very slow when the number of samples get large. In my case, I got 820k of samples at No.1 project named allSamples. I used sql in sqlite3-cli for searching instead.
Afterwards, I migrated sqlite3 to mysql, but a new problem troubled me. whatever project I opened, viper always use the same mysql DB. If the mysql DB has a large number of data(like 820k), the opening process is extremely slow(In fact, I still can't open it). A truly way to change project is by editing the config file, which is inconvenient. So is there a way to solve this problem, or it already have but I don't know. Thanks.

botherder commented 5 years ago

Closing this as it is a duplicate of #650.