Skip to content
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

Add database setting to reuse query plans #3991

Merged
merged 11 commits into from
Jul 30, 2024

Conversation

SergeyGaluzo
Copy link
Contributor

@SergeyGaluzo SergeyGaluzo commented Jul 28, 2024

https://microsofthealth.visualstudio.com/Health/_workitems/edit/123488/

FYI Does not contain replacement of EXISTS by JOIN.

@SergeyGaluzo SergeyGaluzo requested a review from a team as a code owner July 28, 2024 16:57
@SergeyGaluzo SergeyGaluzo added Enhancement Enhancement on existing functionality. Azure Healthcare APIs Label denotes that the issue or PR is relevant to the FHIR service in the Azure Healthcare APIs Schema Version unchanged labels Jul 28, 2024
@SergeyGaluzo SergeyGaluzo added this to the S144 milestone Jul 28, 2024

namespace Microsoft.Health.Fhir.SqlServer.Features.Storage
{
internal class ProcessingFlag<TLogger>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is ProcessingFlag class using another class's logger?

Copy link
Contributor Author

@SergeyGaluzo SergeyGaluzo Jul 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just kept current behavior when moved ProcessingFlag from private to internal. Does it hurt?
BTW That is what we do in other places. See CustomQueries, for example, which takes search service logger.

@SergeyGaluzo SergeyGaluzo enabled auto-merge (squash) July 30, 2024 14:31
@SergeyGaluzo SergeyGaluzo merged commit f3c5b16 into main Jul 30, 2024
47 checks passed
@SergeyGaluzo SergeyGaluzo deleted the users/sergal/reusequeryplans branch July 30, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure Healthcare APIs Label denotes that the issue or PR is relevant to the FHIR service in the Azure Healthcare APIs Enhancement Enhancement on existing functionality. Schema Version unchanged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants