Book a Demo

Author Topic: Question about SQL Repositories  (Read 2760 times)

SAB

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Question about SQL Repositories
« on: July 15, 2010, 10:00:48 am »
I have recently upgraded EA to the corporate version, one of the items that I am interested in working with is storing my model information in SQL Server. I have successfully transfered data for a model from and EAP file to the SQL repository, and when looking to transfer another model, I noticed that EA wants a separate DB for each repository.

When discussing this with my DBA, I needed a crowbar to remove his hands from my neck.  Apparently having a different DB for each of our models is not something that he is very interested in.

I am looking for 2 things from he collective, 1) is my understanding of having separate DB's correct; and 2) if not, how do you put multiple models into one DB; and I guess 3) do we like this?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Question about SQL Repositories
« Reply #1 on: July 15, 2010, 01:48:44 pm »
Hi SAB,

You should think of it in terms of Repositories and branches.

Each EA Repository, whether Server or Direct File based can hold multiple branches.

The Tools|Data Management|Project Transfer... functionality (incorrectly named) transfers entire Repositories.  So you can copy only one repository up to the Server.

However, you can export an entire repository as an XML and import it - at a different level.

My recommendation is to create a new (empty) EAP file and create only one "project" in it called Repository.  Then export both existing models and import them below the Repository  node.  Then you can transfer this new repository up to the Server replacing the one that's there...

HTH,
Paolo
« Last Edit: July 15, 2010, 01:49:51 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

SAB

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Question about SQL Repositories
« Reply #2 on: July 15, 2010, 02:19:02 pm »
Thank you Paolo, That will definitely give us something to consider.

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: Question about SQL Repositories
« Reply #3 on: July 16, 2010, 08:43:14 am »
Quote

My recommendation is to create a new (empty) EAP file and create only one "project" in it called Repository.  Then export both existing models and import them below the Repository  node.  Then you can transfer this new repository up to the Server replacing the one that's there...

Paulo, if you checking multiple projects in and out of this single repository, does EA manage to keep your project glossaries intact, or do you end up with a single mish-mash of all of your projects?
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Question about SQL Repositories
« Reply #4 on: July 16, 2010, 10:12:12 am »
Quote
Paulo, if you checking multiple projects in and out of this single repository, does EA manage to keep your project glossaries intact, or do you end up with a single mish-mash of all of your projects?
I believe there's only one Glossary per Repository.  So it's a mash-up.

However, there might be ways to structure things so that it's not so much a problem...

I think it's a case of "You pays your money, you takes your choice"...

I'm of the view that a single Glossary per (anything) is flawed anyway.  In my experience Glossaries are much more context sensitive than is initially apparent.  I'm looking at other solutions.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!