Linking Database to Source Control with Large Git Repo
bcraw
Posts: 2
Hello,
I am using Version 4.4.0.1714 and am trying to link one of our 5 databases to source control. We have a rather large .Git repo that we want to be able to use to store all the DB schema as well.
My issue is when i first say link, and choose a currently empty folder in the repo, it seems to take forever to link up to the .Git repo and either
A. Crashes SSMS
B. Takes forever before finally linking
C. "out of memory error"
From my take it seems to be likely looking in the entire /.git directory for the full repo when linking up and its choking on the number of files that are in the repo even though the folder i'm linking is pretty small by comparison. At this current juncture It appears I likely have 2 options.
1. Create a New repo for the databases which creates: hassle of two pull requests per branch.
2. Link Database to a working Directory which bypasses the commit functionality of .git but gets around the taking forever to link.
Has anyone else run into this issue? If so, how did you go about fixing the issue? And is it something that might be fixed in a later version?
Thanks,
Brian Craw
Senior Database Developer
I am using Version 4.4.0.1714 and am trying to link one of our 5 databases to source control. We have a rather large .Git repo that we want to be able to use to store all the DB schema as well.
My issue is when i first say link, and choose a currently empty folder in the repo, it seems to take forever to link up to the .Git repo and either
A. Crashes SSMS
B. Takes forever before finally linking
C. "out of memory error"
From my take it seems to be likely looking in the entire /.git directory for the full repo when linking up and its choking on the number of files that are in the repo even though the folder i'm linking is pretty small by comparison. At this current juncture It appears I likely have 2 options.
1. Create a New repo for the databases which creates: hassle of two pull requests per branch.
2. Link Database to a working Directory which bypasses the commit functionality of .git but gets around the taking forever to link.
Has anyone else run into this issue? If so, how did you go about fixing the issue? And is it something that might be fixed in a later version?
Thanks,
Brian Craw
Senior Database Developer
Tagged:
Comments
Tianjiao Li | Redgate Software
Have you visited our Help Center?
Tianjiao Li | Redgate Software
Have you visited our Help Center?