Skip to content

Suggestion: Manage mongoDB index with dashboard #352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TerryHuangHD opened this issue May 17, 2016 · 12 comments
Closed

Suggestion: Manage mongoDB index with dashboard #352

TerryHuangHD opened this issue May 17, 2016 · 12 comments
Labels
type:feature New feature or improvement of existing feature

Comments

@TerryHuangHD
Copy link

TerryHuangHD commented May 17, 2016

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • [ O ] You're running version >=2.1.4 of Parse Server.
  • [ O ] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

Right now, most people finished migration to self-host DB/Server.
From now on, the database index manage will become a task can not be ignored, it directly affect the database performance.

One recommendation would be supporting database index managing in dashboard.
The whole class lifecycle (creation, optimization...) could be managed in a place.

Steps to reproduce

Logs/Trace

Note: If you get a browser JS error please run npm run dev. This will provide source maps and a much more useful stack trace.

@drew-gross
Copy link
Contributor

This is a good idea and definitely something we want to support. It will need some big changes from Parse Server first, that I am in the middle of, so it's more of a long term feature.

@natario1
Copy link

natario1 commented Jun 4, 2017

@drew-gross have you kept working on this? It would be great!

@dplewis
Copy link
Member

dplewis commented Dec 29, 2017

@flovilmart I was thinking about getting started on this after the next update. I'm not very good with react tho. I was going to base it off MLab and how they do indexes. Have you guys internally discussed this?

@flovilmart
Copy link
Contributor

Uhm, we didn't get started nor discussed the implications / UI of it, that's an interesting project to learn react though :) mLab has a textual inference, if it's just to replicate it, let's not really do that then. I believe we can do better :) we could start with some UX / mocks of what it could look like.

@dplewis
Copy link
Member

dplewis commented Dec 29, 2017

We could do a new tab Indexes next to Logs, Jobs, Config etc or we could add it to the data browser toolbar under each class like View Indexes button next to Add Row, Filter, Edit etc.

List all indexes and their name for a class.
Can't edit indexes, only remove and add.
Adding will be a popup where you select the Field (prepopulated) and Value (1,-1,'Text','2dsphere'), Add more than one for a compound index.

Can't delete special indexes like _id / objectId (any others?)
Can't access indexes from certain classes?

Did I miss anything?

@flovilmart
Copy link
Contributor

I would go for the data browser option, between security and edit.

A single popup modal with all the indexes + a way to add more indexes.

@dplewis
Copy link
Member

dplewis commented Dec 29, 2017

Great Plan!

@flovilmart
Copy link
Contributor

@dplewis do we need more work on the JS SDK, I don't remember :)

@dplewis
Copy link
Member

dplewis commented Dec 29, 2017

As far as indexes? I don’t think so. It’s just 2.7.1 release still uses JS SDK 1.10.2.

Edit: I may have to change the php and js sdk when I add index support for PG

@regalstreak
Copy link

Any update on the index feature?

@dplewis
Copy link
Member

dplewis commented Apr 5, 2018

@flovilmart I have some IRL stuff to take care of. In the meantime, I've started on this feature.

Still waiting on parse-community/parse-server#4629

I have a branch https://github.com/dplewis/parse-dashboard/tree/index

Feel free to finish, I'll have some time in the next few weeks.

@mtrezza mtrezza added type:feature New feature or improvement of existing feature and removed type:improvement labels Dec 6, 2021
@segevfiner
Copy link

This is closed yet I don't actually see the feature in parse-dashboard 5.4.0...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

8 participants