question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create indexes using the Console

See original GitHub issue

Hi,

I know you can do that on PostgreSQL, but manually. It would be handy to be able to rely on the Console to do that instead, and also get the up and down migration files along the way.

As far as I know, at this time, you’ll have to craft your own SQL query. That is not only time consuming, but very error-prone. Being able to create indexes, even basic ones, right from the Console would help much.

Thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:67
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

28reactions
sn-kaiercommented, Jun 24, 2019

Places where I’d absolutely love to see such a feature in the console would be:

  • At add/modify table e.g. below “Unique Keys”
  • at Data > Schemas near “Untracked foreign-key relations” as suggestions for foreign keys on one-to-many relations
  • at “Query Analysis” for easy query performance improvement (might be more complex, but very nice to have for people with less experience with PostgreSQL).

Additionally it would be handy to see existing indexes in the modify-table section.

8reactions
rikinskcommented, Jun 29, 2020

@AdityaAnand1 We’ll add this soon. In the meantime, you can use the Raw SQL tab to run any SQL command and mark it as a migration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create index API | Elasticsearch Guide [8.5] | Elastic
You can use the create index API to add a new index to an Elasticsearch cluster. When creating an index, you can specify...
Read more >
How to create simple and composite database indexes ... - IBM
1. Login to the Administration Console for Content Platform Engine (ACCE) tool · 2. Navigate down to <object_store> / Data Design / Classes...
Read more >
How to Create or Add an Index in MySQL With Examples
MySQL Create Index in New Table · 1. Open a terminal window and log into the MySQL shell. mysql -u username -p ·...
Read more >
Create Index · OrientDB Manual
Console - CREATE INDEX. Create an index on a given property. OrientDB supports three index algorithms and several index types that use these...
Read more >
Creating the index using the management console - Qlik | Help
Define the dataset with the following settings: Setting, Description. Dataset name, Name of the data set that should be processed. · Configure indexing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found