Showing posts with label runtime. Show all posts
Showing posts with label runtime. Show all posts

Friday, March 23, 2012

Forcing a package to run as 32 bit on a x64 machine using SQL Server Agent?

I have a need to force a package to run using the 32-bit runtime from the SQL Server Agent. The machine is a x64 unit. I'm having to use an ODBC driver to extract data from our ERP package that will only run in 32 bit. Any help would be appreciated.

Hi.

Here is another suggestion: run distributed queries through SqlExpress/32. Here is a sample for MS Access:

http://gorm-braarvig.blogspot.com/2005/11/access-database-from-sql-200564.html

Hope this helps

|||

In Agent, use an Operating System (CmdExec) step and use the copy of dtexec.exe in C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn

hth

Donald Farmer

|||Thanks, Donald. That worked like a charm.sql

Monday, March 19, 2012

Force memory release

Hi all,
in SQL Server 2005 is it possible to force the SQL Server runtime to release
memory when it's not working?
Thanks a lot.
--
LuigiLuigi
If some application/os needs e memory , SQL Server will release it , if you
set up MIN server memory BOL says
/*
The database engine will not free any of the acquired memory until it
reaches the amount specified in min server memory. Once min server memory is
reached, the database engine then uses the standard algorithm (keeping the
operating system's free memory within 4 MB to 10 MB) to acquire and free
memory as needed
*/
"Luigi" <ciupazNoSpamGrazie@.inwind.it> wrote in message
news:979ED183-7761-477A-89B8-E8FB11EF7DA1@.microsoft.com...
> Hi all,
> in SQL Server 2005 is it possible to force the SQL Server runtime to
> release
> memory when it's not working?
> Thanks a lot.
> --
> Luigi
>|||"Luigi" <ciupazNoSpamGrazie@.inwind.it> wrote in message
news:979ED183-7761-477A-89B8-E8FB11EF7DA1@.microsoft.com...
> Hi all,
> in SQL Server 2005 is it possible to force the SQL Server runtime to
> release
> memory when it's not working?
> Thanks a lot.
> --
> Luigi
>
Not exactly. SQL Server will dynamically allocate and deallocate memory as
it needs it. If you find other applications are being starved for memory,
there are a couple of things you can do.
1. In my opinion, a production SQL Server should live on it's own box and
that box should be doing nothing other than SQL Server.
2. If you can't do this, then take a look at the max server memory option.
This will limit the amount of memory SQL Server can use for it's own use.
Other potential memory saving options might be to clear/drop the buffer
cache and procedure cache. I don't know if this will force SQL to give up
the memory. The downside of course is that any sprocs and other saved
execution plans will be forced to recompile. In addition, any indexes and
data pages that had been put into buffer for speedy access will now need to
be reloaded, which means more i/o which of course means slower response
times.
Rick Sawtell|||Ok, very exaustive. Thanks a lot Uri and Rick.
Luigi