PC Review


Reply
Thread Tools Rate Thread

Check for MSysCompactErrors

 
 
Lars Brownies
Guest
Posts: n/a
 
      7th Jan 2010
On http://www.granite.ab.ca/access/corr...fterrepair.htm I read:

"Check that MSysCompactErrors hasn't been created or had new entries added.
If it does, then these records document the objects and or data removed as
part of the repair. Make a backup of the repaired file."


Now in a daily maintenance action which is activated when the first user of
that day logs on, the backend of my app gets compacted and repaired.

As a precaution, wouldn't it be a good idea to add a function to the
maintenance routine, that checks for the existance of MSysCompactErrors? Any
thoughts/hints?

Thanks,
Lars

 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      8th Jan 2010
On Thu, 7 Jan 2010 19:11:15 +0100, "Lars Brownies" <(E-Mail Removed)>
wrote:

My thoughts are that it is rather unfriendly to penalize the first
person in the office, who got out of her warm bed before everyone
else, with a few minutes of the hourglass cursor, while you could have
scheduled the Compact to occur overnight.

Sure, it would add to the robustness of the Compact if you checked the
Errors table.

-Tom.
Microsoft Access MVP


>On http://www.granite.ab.ca/access/corr...fterrepair.htm I read:
>
>"Check that MSysCompactErrors hasn't been created or had new entries added.
>If it does, then these records document the objects and or data removed as
>part of the repair. Make a backup of the repaired file."
>
>
>Now in a daily maintenance action which is activated when the first user of
>that day logs on, the backend of my app gets compacted and repaired.
>
>As a precaution, wouldn't it be a good idea to add a function to the
>maintenance routine, that checks for the existance of MSysCompactErrors? Any
>thoughts/hints?
>
>Thanks,
>Lars

 
Reply With Quote
 
Lars Brownies
Guest
Posts: n/a
 
      8th Jan 2010
> else, with a few minutes of the hourglass cursor, while you could have
> scheduled the Compact to occur overnight.


A scheduled compact is not an option, it is not allowed by the
IT-department, and the compact now takes about 5 seconds for a 10 MB
backend.

Lars

"Tom van Stiphout" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> On Thu, 7 Jan 2010 19:11:15 +0100, "Lars Brownies" <(E-Mail Removed)>
> wrote:
>
> My thoughts are that it is rather unfriendly to penalize the first
> person in the office, who got out of her warm bed before everyone
> else, with a few minutes of the hourglass cursor, while you could have
> scheduled the Compact to occur overnight.
>
> Sure, it would add to the robustness of the Compact if you checked the
> Errors table.
>
> -Tom.
> Microsoft Access MVP
>
>
>>On http://www.granite.ab.ca/access/corr...fterrepair.htm I
>>read:
>>
>>"Check that MSysCompactErrors hasn't been created or had new entries
>>added.
>>If it does, then these records document the objects and or data removed as
>>part of the repair. Make a backup of the repaired file."
>>
>>
>>Now in a daily maintenance action which is activated when the first user
>>of
>>that day logs on, the backend of my app gets compacted and repaired.
>>
>>As a precaution, wouldn't it be a good idea to add a function to the
>>maintenance routine, that checks for the existance of MSysCompactErrors?
>>Any
>>thoughts/hints?
>>
>>Thanks,
>>Lars


 
Reply With Quote
 
Tom van Stiphout
Guest
Posts: n/a
 
      8th Jan 2010
On Fri, 8 Jan 2010 06:23:57 +0100, "Lars Brownies" <(E-Mail Removed)>
wrote:

You approached IT incorrectly. You should have said "no way will I
allow you to compact my database overnight". :-)

One issue you will have to deal with is how to be informed if the
Errors table has unexpected entries. Perhaps best to have the system
send yourself an email with the details. I would not rely on the user
reporting the error.

-Tom.
Microsoft Access MVP


>> else, with a few minutes of the hourglass cursor, while you could have
>> scheduled the Compact to occur overnight.

>
>A scheduled compact is not an option, it is not allowed by the
>IT-department, and the compact now takes about 5 seconds for a 10 MB
>backend.
>
>Lars
>
>"Tom van Stiphout" <(E-Mail Removed)> schreef in bericht
>news:(E-Mail Removed)...
>> On Thu, 7 Jan 2010 19:11:15 +0100, "Lars Brownies" <(E-Mail Removed)>
>> wrote:
>>
>> My thoughts are that it is rather unfriendly to penalize the first
>> person in the office, who got out of her warm bed before everyone
>> else, with a few minutes of the hourglass cursor, while you could have
>> scheduled the Compact to occur overnight.
>>
>> Sure, it would add to the robustness of the Compact if you checked the
>> Errors table.
>>
>> -Tom.
>> Microsoft Access MVP
>>
>>
>>>On http://www.granite.ab.ca/access/corr...fterrepair.htm I
>>>read:
>>>
>>>"Check that MSysCompactErrors hasn't been created or had new entries
>>>added.
>>>If it does, then these records document the objects and or data removed as
>>>part of the repair. Make a backup of the repaired file."
>>>
>>>
>>>Now in a daily maintenance action which is activated when the first user
>>>of
>>>that day logs on, the backend of my app gets compacted and repaired.
>>>
>>>As a precaution, wouldn't it be a good idea to add a function to the
>>>maintenance routine, that checks for the existance of MSysCompactErrors?
>>>Any
>>>thoughts/hints?
>>>
>>>Thanks,
>>>Lars

 
Reply With Quote
 
Lars Brownies
Guest
Posts: n/a
 
      8th Jan 2010
Since it's also not allowed to send automatic mails :-)... I made an option
that, when the table is detected, the user gets a msgbox asking him to press
OK to send an email to the db controller. The mail is brought to front and
he only has to press Send.

Lars


"Tom van Stiphout" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> On Fri, 8 Jan 2010 06:23:57 +0100, "Lars Brownies" <(E-Mail Removed)>
> wrote:
>
> You approached IT incorrectly. You should have said "no way will I
> allow you to compact my database overnight". :-)
>
> One issue you will have to deal with is how to be informed if the
> Errors table has unexpected entries. Perhaps best to have the system
> send yourself an email with the details. I would not rely on the user
> reporting the error.
>
> -Tom.
> Microsoft Access MVP
>
>
>>> else, with a few minutes of the hourglass cursor, while you could have
>>> scheduled the Compact to occur overnight.

>>
>>A scheduled compact is not an option, it is not allowed by the
>>IT-department, and the compact now takes about 5 seconds for a 10 MB
>>backend.
>>
>>Lars
>>
>>"Tom van Stiphout" <(E-Mail Removed)> schreef in bericht
>>news:(E-Mail Removed)...
>>> On Thu, 7 Jan 2010 19:11:15 +0100, "Lars Brownies" <(E-Mail Removed)>
>>> wrote:
>>>
>>> My thoughts are that it is rather unfriendly to penalize the first
>>> person in the office, who got out of her warm bed before everyone
>>> else, with a few minutes of the hourglass cursor, while you could have
>>> scheduled the Compact to occur overnight.
>>>
>>> Sure, it would add to the robustness of the Compact if you checked the
>>> Errors table.
>>>
>>> -Tom.
>>> Microsoft Access MVP
>>>
>>>
>>>>On http://www.granite.ab.ca/access/corr...fterrepair.htm I
>>>>read:
>>>>
>>>>"Check that MSysCompactErrors hasn't been created or had new entries
>>>>added.
>>>>If it does, then these records document the objects and or data removed
>>>>as
>>>>part of the repair. Make a backup of the repaired file."
>>>>
>>>>
>>>>Now in a daily maintenance action which is activated when the first user
>>>>of
>>>>that day logs on, the backend of my app gets compacted and repaired.
>>>>
>>>>As a precaution, wouldn't it be a good idea to add a function to the
>>>>maintenance routine, that checks for the existance of MSysCompactErrors?
>>>>Any
>>>>thoughts/hints?
>>>>
>>>>Thanks,
>>>>Lars


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HANG AT STEP 5 OF CHECK DISK UTILITY (FREE SPACE CHECK) Teo Windows XP General 6 21st May 2008 07:54 PM
Spell check not resetting to check all text in outgoing email mess Dana Microsoft Word Document Management 5 14th May 2008 02:04 PM
Asp.net Treeview Clientscript - Auto Check Child Notes After Check Parent Node Sylvie Microsoft C# .NET 1 9th Oct 2007 02:25 PM
Treeview Clientscript - Auto Check Child Notes After Check Parent Node Sylvie Microsoft ASP .NET 1 9th Oct 2007 02:25 PM
Xp:Check Disk:Tools:Check Now:Both Options:reboot countdown does not complete? RAS Windows XP General 3 1st Feb 2005 06:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:36 AM.