Re: DTS on Sql 2005
- From: Allan Mitchell <allan@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 5 May 2007 12:13:35 +0000 (UTC)
Hello Travis,
OK so let's take DTS/SSIS out of the picture. What happens in SSMS? Same results?
What is the difference in the query plans between the two statements?
Is this DB an upgraded DB from 2K?
--
Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com
Hi Allan ,
I manually open the DTS package and run on Sql 2005 after import.
When transform. Below is the query I pass before load.
But really strange , when I take out the "cast" , then the result
return in 1 seconds. If put in the "cast" , then the result never
return.
SELECT DISTINCT
CAST(DT_ID AS VARCHAR) + AGN_ID,
DT_ID,
AGN_ID,
AGN_CUR_ID,
AGN_SCH_BCYC_ID,
AGN_STS_ID,
AGN_CR_BAL_AMT,
AGN_CR_AMT,
AGN_CR_USED_AMT,
AGN_DIR_COMM,
AGN_GDS_COMM,
AGN_ONL_COMM,
AGN_ADD_ON_COMM,
AGN_NOTIFY_AMT
FROM F_AGN_TMP
WHERE CAST(DT_ID AS VARCHAR) + AGN_ID Not IN
(SELECT CAST(DT_ID AS VARCHAR) + AGN_ID FROM AAWH.dbo.F_AGN)
AND NOT (
(AGN_ID LIKE ('%HUALINTH%')
OR AGN_ID LIKE ('%NANTATH%'))
AND AGN_CR_BAL_AMT = 0
AND AGN_CR_AMT = 0
AND AGN_CR_USED_AMT = 0
AND AGN_GDS_COMM = 0
AND AGN_ONL_COMM = 0
AND AGN_ADD_ON_COMM = 0
AND AGN_NOTIFY_AMT = 0
)
"Allan Mitchell" wrote:
Hello Travis,
How are you executing the 2K package exactly?
What parts are slow? Is it the extract, is it the transform or the
load?
--
Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com
|
http://www.konesans.com
Hi ,
I had import the DTS Sql 2000 to Sql 2005. When I run the package
and test the result , surprisingly the performance is very slow
compare to Sql 2000. What is wrong in there ?
The new server on Sql 2005 had 4 CPU , 8 GB memory and running on
windows 2003 enterprise. Already enable AWE and lock page memory and
set the max memory to 5 GB.
How can I ensure the new server is utilize the 5GB I set ? Can I
monitor the AWE in performance monitor and how can I do that ?
Many thanks
.
- Follow-Ups:
- Re: DTS on Sql 2005
- From: Travis
- Re: DTS on Sql 2005
- References:
- Re: DTS on Sql 2005
- From: Travis
- Re: DTS on Sql 2005
- Prev by Date: Re: breakpoints - Unable to step. Not implemented
- Next by Date: Re: DTS transformation task loads partial data and succeeds
- Previous by thread: Re: DTS on Sql 2005
- Next by thread: Re: DTS on Sql 2005
- Index(es):
Relevant Pages
|