Book a Demo

Author Topic: EAP files getting larger  (Read 5135 times)

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
EAP files getting larger
« on: July 15, 2013, 11:35:00 pm »
I've had a couple of customers recently who have created unexpectedly large EAP models. In one case, a few newbie BAs created a 200+Mb model in just a few weeks, but <5,000 rows in t_object.
Compacting the model took it down to 125 Mb, but that still seemed a lot. Finally, I exported all the content to XMI, and all the ref data, then re-imported everything. Result: a 12Mb model, which is about what I was expecting.
  • My another customer is not quite so extreme, but they see the same effect when exporting/re-importing: model size is reduced by 80%.
  • Just tried the same thing on what I thought was a well looked-after model of my own: this time just a 50% reduction in size!
Question is, what's happening here? Have  I missed-out in exporting some data, such that this isn't a fair comparison? Ticked all the boxes in the Ref data, and the whole model went into the XMI.
Normally I recommend that model manager runs the Project Integrity check once a week, and compacts their EAP, and that's enough to maintain a good model. But is there something else we should be doing?

Why am I bothered about file size? Just makes everything take longer, especially when models are being moved about, versioned, backed-up etc.

Also, I can't make any of these models available for anyone else to experiment with.
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: EAP files getting larger
« Reply #1 on: July 15, 2013, 11:43:19 pm »
Hi Ian,

just try: Tools, Data Management, Manage *.eap files, compact *.eap file.

Access don't reorganize itself. You have to do it with Access or with the above command.

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: EAP files getting larger
« Reply #2 on: July 16, 2013, 01:46:02 am »
As I said in the initial post, I had already compacted the files.
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Takeshi K

  • EA User
  • **
  • Posts: 632
  • Karma: +43/-1
    • View Profile
    • Sparx Systems Japan
Re: EAP files getting larger
« Reply #3 on: July 16, 2013, 06:27:30 am »
Usually, the following data tend to be large:

- Audit log
- Baseline data
- Images

Maybe the first or second item is the reason, I guess.

HTH,

--
t-kouno

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: EAP files getting larger
« Reply #4 on: July 16, 2013, 06:59:40 am »
I agree with HTH I would check the Audit settings.

If Audit is indeed on, then

1) Use Audit Settings and Save the Logs
2) Clear the logs
3) Compact the EAP file

Repeat 1) through 3) above on a regular (weekly monthly?) basis

Cheers

Phil
Models are great!
Correct models are even greater!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EAP files getting larger
« Reply #5 on: July 16, 2013, 07:36:51 am »
Of course you could write a little script printing COUNT * for all tables.

@Phil: HTH is not Takeshi's initials :-)

q.
« Last Edit: July 16, 2013, 07:37:40 am by qwerty »

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: EAP files getting larger
« Reply #6 on: July 16, 2013, 09:37:12 pm »
@qwerty

Oops thanks for the heads up!  :)
Models are great!
Correct models are even greater!