2012年2月24日星期五

Disabled/turn off Transcation logging while performing BCP opratio

Hi,
I am doing BCP in particular database.I need to improve perfommace of BCP
opration.I found some article which provide way to minmize transcation
logging.
Please let me know how I completely disabled /turn off transaction logging
for optimized & higher performance.
Regards
Amit SamriaYou can't completely turn off transaction logging but you can change your
database to use BULK logging, which works well with bcp. You can do this via
Enterprise Manager or with:
ALTER DATABASE <db name> SET RECOVERY BULK_LOGGED
--
Jacco Schalkwijk
SQL Server MVP
"Amit Samria" <Amit Samria@.discussions.microsoft.com> wrote in message
news:33190FE5-07CB-43E0-9690-84152EE61503@.microsoft.com...
> Hi,
> I am doing BCP in particular database.I need to improve perfommace of BCP
> opration.I found some article which provide way to minmize transcation
> logging.
> Please let me know how I completely disabled /turn off transaction
> logging
> for optimized & higher performance.
> Regards
> Amit Samria
>|||Hi Jacco,
I found in some article that a nonlogged bulk copy can be performed if
The database option select into/bulkcopy is set to true using sp_dboption.
Is above mentioned way same as setting recovery model using alter table.
Regards
Amit Samria
"Jacco Schalkwijk" wrote:
> You can't completely turn off transaction logging but you can change your
> database to use BULK logging, which works well with bcp. You can do this via
> Enterprise Manager or with:
> ALTER DATABASE <db name> SET RECOVERY BULK_LOGGED
> --
> Jacco Schalkwijk
> SQL Server MVP
>
> "Amit Samria" <Amit Samria@.discussions.microsoft.com> wrote in message
> news:33190FE5-07CB-43E0-9690-84152EE61503@.microsoft.com...
> > Hi,
> > I am doing BCP in particular database.I need to improve perfommace of BCP
> > opration.I found some article which provide way to minmize transcation
> > logging.
> > Please let me know how I completely disabled /turn off transaction
> > logging
> > for optimized & higher performance.
> >
> > Regards
> > Amit Samria
> >
> >
>
>|||Yes. Bulk-Logged recovery in SQL Server 2000 is similar to
setting select into/bulk copy to true in SQL Server 7. Some
operations will be minimally logged with this option or
recovery model.
-Sue
On Mon, 18 Oct 2004 04:19:02 -0700, "Amit Samria"
<AmitSamria@.discussions.microsoft.com> wrote:
>Hi Jacco,
>I found in some article that a nonlogged bulk copy can be performed if
>The database option select into/bulkcopy is set to true using sp_dboption.
>Is above mentioned way same as setting recovery model using alter table.
>Regards
>Amit Samria
>"Jacco Schalkwijk" wrote:
>> You can't completely turn off transaction logging but you can change your
>> database to use BULK logging, which works well with bcp. You can do this via
>> Enterprise Manager or with:
>> ALTER DATABASE <db name> SET RECOVERY BULK_LOGGED
>> --
>> Jacco Schalkwijk
>> SQL Server MVP
>>
>> "Amit Samria" <Amit Samria@.discussions.microsoft.com> wrote in message
>> news:33190FE5-07CB-43E0-9690-84152EE61503@.microsoft.com...
>> > Hi,
>> > I am doing BCP in particular database.I need to improve perfommace of BCP
>> > opration.I found some article which provide way to minmize transcation
>> > logging.
>> > Please let me know how I completely disabled /turn off transaction
>> > logging
>> > for optimized & higher performance.
>> >
>> > Regards
>> > Amit Samria
>> >
>> >
>>

没有评论:

发表评论