[CSHARP-1417] Create a unique index Created: 16/Sep/15  Updated: 16/Nov/21  Resolved: 16/Sep/15

Status: Closed
Project: C# Driver
Component/s: Error Handling
Affects Version/s: 2.0.1
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Rosa Shlayzer Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

We are trying to change an index to a unique index.

We need to understand the consequences of this operation,
also if this can cause performance issues.



 Comments   
Comment by Rosa Shlayzer [ 16/Sep/15 ]

Thanks.

Comment by Craig Wilson [ 16/Sep/15 ]

Rosa,

As I mentioned above, these types of questions are better asked in our user support forums located here: https://groups.google.com/forum/#!forum/mongodb-user. Please ask your questions there as you will get answers from a broader audience and those answers can also benefit the community at large.

Thanks,
Craig

Comment by Rosa Shlayzer [ 16/Sep/15 ]

Hello Craig,

I'm not sure this is a driver related question. Please advice:

1. I would like to understand the impact of the unique index. Can it damage our performance?
2. About the .Net driver, maybe this is a general case for all the drivers: Can we call conditional select+insert as an Atomic Action?
for example: I would like to insert new user only if it's LoginName doesn't exist and do this with 1 call.

Thanks,
Rosa.

Comment by Craig Wilson [ 16/Sep/15 ]

Hi Rosa,

This is a request tracker for bugs for the .NET driver. This appears as though it's a server question. I'Our user support forums (https://groups.google.com/forum/#!forum/mongodb-user) are a great place to ask this type of question.

Thanks,
Craig

Generated at Wed Feb 07 21:39:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.