SamuelTallet / MongoDB-PHP-GUI

Open-source graphical interface for MongoDB database. Written in PHP, JavaScript, HTML & CSS.
142 stars 33 forks source link

Database visualization gets really slow with huge dataset #32

Open Prime1Code opened 2 years ago

Prime1Code commented 2 years ago

Hi Samuel,

as mentioned in the title, the database visualization tab gets really slow when displaying a lot of data. Maybe you can provide a configuration property (gui or docker environment variable) for toggling (show/hide) this tab? Example: 15+ databases with around 5-10+ collections each.

Best regards

SamuelTallet commented 2 years ago

Hi Maximilian,

I'm not sure this issue should be resolved via a configuration property. 🤔

I've upgraded the vis-network library used in the "Visualize database" tab. Please upgrade to the latest version, then tell me if performance is better.

Best regards