Thursday, February 21, 2019

Npgsql.EntityFrameworkCore.PostgresSQl & Index

I'm currently using Npgsql.EntityFrameworkCore.PostgresSQl in my project, and I'm configuring my db with FluentAPI.

The question is:

Is it necessary to create index for my Id (PK)?

I see in the migrations that I have a constraint for my primary key, but no index.

Also, what about cluester index, how can I set it up?

Npgsql.EntityFrameworkCore.PostgresSQl & Index Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team