Um, don’t use bulk load? Sorry Frank, I couldn’t resist. I’ve worked on a few tuning scenarios over the past few weeks where I got better throughput when NOT using bulk load. This was with Oracle as the target. Let me know if you want more details.
I was unable to find any declared properties in the DSConfig.txt file that seem to directly relate to the issue. There may be properties that could change this behaviour but they aren’t listed.
Otherwise, here’s all I could find on the forum related to this:
In the Datastore you can code a SQL statement that is executed every time the Datastore connects to the database. It’s possible that someone put something in there that is causing the issue.
But if you only see the issue when bulk load is used then the Datastore session parameter has nothing to do with it.
Is this in the DS log? Or is it in the SQL Server log? I know the Oracle API for Bulk Loader (aka Direct Path) does some things under the covers that at first you think DS is doing. But it’s Oracle.
Have you tried using the command line bulk loader for SQL Server (BCP)to see if you get the same message in the SQL Server log? I have a vague recollection that it would tweak the recovery model if you used just the right options.
No, I mean do a load with BCP to see if the same message shows up in the SQL Server log. Just to prove that it is the API - not DS - that is flipping the recovery mode.
Keeping in mind that it’s been a couple years since I worked closely with SQL Server…
Why is the DBA complaining? Is the normal recovery mode supposed to be FULL? It could be argued that it is normal for a Data Warehouse database to be in the bulk-logged mode not the full mode to support fast loading of the database while minimizing the impact to the transaction log. Yes, bulk-logged mode makes recovery difficult. I implemented a Data Warehouse a couple years ago that used the SIMPLE recovery model. Everything performed since the last full backup was rerunnable so we didn’t care about the transaction logs.
Tell the DBA that you never have this problem with Oracle.
I will test that… but it would surprise me if it does… since being able to control the recovery model is at the database level and there are a variety of scenarios that need to be supported:
did you file a case for this with SAP ? what is the case number, I did a quick check in the code (DS 4.0) but didn’t find this being set anywhere, what is the Database type to which you are loading the data using bulk load and also what method and options that you are using for bulk load
if you have a case filed then please attach the ATL to the case