Showing posts with label clear. Show all posts
Showing posts with label clear. Show all posts

Monday, March 12, 2012

msde log file full

Getting error "msde log file is full, back up the transaction file for the database." I do not know how to clear out the log file for msde? Any help is greatly appreciated.
Thank you very much
If you need to keep your log backup sequence intact, you can
use something similar:
backup log msde
to disk = 'D:\PathToYourBackups\YourDB_Log.bak'
If you do not want to keep the log backup and can afford to
have the log sequence invalidated, you can use something
along the lines of:
backup log msde with truncate_only
For more information, refer to Backup in books online.
Additionally, if you aren't using the logs as part of your
recovery plan for the database, you can set it to simple
recovery.
-Sue
On Tue, 20 Apr 2004 17:36:04 -0700, Marion
<anonymous@.discussions.microsoft.com> wrote:

>Getting error "msde log file is full, back up the transaction file for the database." I do not know how to clear out the log file for msde? Any help is greatly appreciated.
>Thank you very much
|||Hi,
First check the recovery model for the database "MSDE". If it is FULL, you
need to backup the transaction log in frequent intervals. Otherwise
every time you will get this sort of error, even if you clear the log once.
I feel that you are using MSDE, You have to OSQL command line utility
OSQL -Usa -Ppassword -S Servername -Q"sp_helpdb MSDE"
If the recover model is FULL , then you have to Backup the transaction log
and shrink the transaction log file
From command prompt execute
OSQL -Usa -Ppassword -S Servername (Press enter, this will go to a prompt)
backup log MSDE to disk='d:\backup\dbname.trn'
go
dbcc shrinkfile('logical_log_file',truncateonly)
go
If the recovery model is SIMPLE then you do not want to schedule a
transaction log backup.
From command prompt execute
OSQL -Usa -Ppassword -S Servername (Press enter, this will go to a prompt)
backup log MSDE with truncate_only
go
dbcc shrinkfile('logical_log_file',truncateonly)
go
Note:
Logical Log file name can identified by executing:
OSQL -Usa -Ppassword -S Servername (Press enter, this will go to a prompt)
use MSDE
go
sp_helpfile
(The name column contains the logical file name)
Thanks
Hari
MCDBA
"Marion" <anonymous@.discussions.microsoft.com> wrote in message
news:7C1DFCCA-9BF5-478E-B7AB-21F027A638FE@.microsoft.com...
> Getting error "msde log file is full, back up the transaction file for the
database." I do not know how to clear out the log file for msde? Any help
is greatly appreciated.
> Thank you very much

msde log file full

Getting error "msde log file is full, back up the transaction file for the d
atabase." I do not know how to clear out the log file for msde? Any help i
s greatly appreciated.
Thank you very muchIf you need to keep your log backup sequence intact, you can
use something similar:
backup log msde
to disk = 'D:\PathToYourBackups\YourDB_Log.bak'
If you do not want to keep the log backup and can afford to
have the log sequence invalidated, you can use something
along the lines of:
backup log msde with truncate_only
For more information, refer to Backup in books online.
Additionally, if you aren't using the logs as part of your
recovery plan for the database, you can set it to simple
recovery.
-Sue
On Tue, 20 Apr 2004 17:36:04 -0700, Marion
<anonymous@.discussions.microsoft.com> wrote:

>Getting error "msde log file is full, back up the transaction file for the
database." I do not know how to clear out the log file for msde? Any help
is greatly appreciated.
>Thank you very much|||Hi,
First check the recovery model for the database "MSDE". If it is FULL, you
need to backup the transaction log in frequent intervals. Otherwise
every time you will get this sort of error, even if you clear the log once.
I feel that you are using MSDE, You have to OSQL command line utility
OSQL -Usa -Ppassword -S Servername -Q"sp_helpdb MSDE"
If the recover model is FULL , then you have to Backup the transaction log
and shrink the transaction log file
From command prompt execute
OSQL -Usa -Ppassword -S Servername (Press enter, this will go to a prompt)
backup log MSDE to disk='d:\backup\dbname.trn'
go
dbcc shrinkfile('logical_log_file',truncateon
ly)
go
If the recovery model is SIMPLE then you do not want to schedule a
transaction log backup.
From command prompt execute
OSQL -Usa -Ppassword -S Servername (Press enter, this will go to a prompt)
backup log MSDE with truncate_only
go
dbcc shrinkfile('logical_log_file',truncateon
ly)
go
Note:
Logical Log file name can identified by executing:
OSQL -Usa -Ppassword -S Servername (Press enter, this will go to a prompt)
use MSDE
go
sp_helpfile
(The name column contains the logical file name)
Thanks
Hari
MCDBA
"Marion" <anonymous@.discussions.microsoft.com> wrote in message
news:7C1DFCCA-9BF5-478E-B7AB-21F027A638FE@.microsoft.com...
> Getting error "msde log file is full, back up the transaction file for the
database." I do not know how to clear out the log file for msde? Any help
is greatly appreciated.
> Thank you very much

Saturday, February 25, 2012

MSDE in registry ?

Hello. I have the question.
Now i am writing the tool that clear my instance registry values if
install of msde failed.
How to determine is any msde instance installed ?
Is it enough to know that in
HKLM\software\microsoft\microsoft sql server\component set
is exist {productcode} and in
HKLM\software\microsoft\microsoft sql server\my instance\setup
is exist productcode field with {productcode} value ?.This might be helpful:
http://support.microsoft.com/kb/290991/en-us
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Alexander" <alt7@.douweb.org> wrote in message
news:1147973979.884581.6850@.y43g2000cwc.googlegroups.com...
> Hello. I have the question.
> Now i am writing the tool that clear my instance registry values if
> install of msde failed.
> How to determine is any msde instance installed ?
> Is it enough to know that in
> HKLM\software\microsoft\microsoft sql server\component set
> is exist {productcode} and in
> HKLM\software\microsoft\microsoft sql server\my instance\setup
> is exist productcode field with {productcode} value ?.
>

MSDE in registry ?

Hello. I have the question.
Now i am writing the tool that clear my instance registry values if
install of msde failed.
How to determine is any msde instance installed ?
Is it enough to know that in
HKLM\software\microsoft\microsoft sql server\component set
is exist {productcode} and in
HKLM\software\microsoft\microsoft sql server\my instance\setup
is exist productcode field with {productcode} value ?.This might be helpful:
http://support.microsoft.com/kb/290991/en-us
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Alexander" <alt7@.douweb.org> wrote in message
news:1147973979.884581.6850@.y43g2000cwc.googlegroups.com...
> Hello. I have the question.
> Now i am writing the tool that clear my instance registry values if
> install of msde failed.
> How to determine is any msde instance installed ?
> Is it enough to know that in
> HKLM\software\microsoft\microsoft sql server\component set
> is exist {productcode} and in
> HKLM\software\microsoft\microsoft sql server\my instance\setup
> is exist productcode field with {productcode} value ?.
>