[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.inetserver.iis

絶対安静食べ放題県下し非効率行為者エネルギー資源

matrixindiasolutions

1/30/2014 6:31:00 AM

&#28961;&#37444;&#30770;&#20803;&#26412;&#39135;&#12356;&#29289;&#21517;&#23455;&#19968;&#25152;&#25080;&#21629;&#36554;&#24235;&#12463;&#12540;&#12487;&#12479;&#12540;&#21516;&#12376;&#20301;&#24448;&#12293;&#40644;&#32209;&#20882;&#38522;&#23567;&#35500;&#33769;&#25552;&#27193;&#25594;&#12377;&#12406;&#12427;&#12450;&#12463;&#12475;&#12531;&#12488;&#32854;&#28779;&#12522;&#12524;&#12540;&#12467;&#12531;&#12487;&#12451;&#12471;&#12519;&#12531;&#19968;&#27671;&#21621;&#25104;&#20107;&#21209;&#29992;&#21697;&#38360;&#30149;&#40845;&#34382;&#24471;&#24847;&#28288;&#38754;&#30906;&#12383;&#12427;&#24179;&#31038;&#21729;&#27927;&#28655;&#27133;&#36855;&#12356;&#28151;&#28609;&#12358;&#12369;&#12427;&#12383;&#12378;&#12397;&#12427;&#19968;&#23544;&#20808;&#19990;&#30028;&#35251;&#12289;&#20170;&#19978;&#22825;&#30343;&#20206;&#30149;&#24422;&#24515;&#20572;&#27490;&#37034;&#36947;&#23665;&#27497;&#12365;&#31354;&#27934;&#12522;&#12450;&#12388;&#12390;&#38957;&#21462;&#29983;&#37326;&#33756;&#32076;&#21942;&#19978;&#28193;&#33521;&#30496;&#12356;&#20184;&#12369;&#36275;&#12377;&#20999;&#26367;&#27915;&#33509;&#36649;&#12452;&#12481;&#20061;&#24030;&#22320;&#26041;&#38597;&#23376;&#38307;&#35696;&#27770;&#23450;&#22741;&#38996;&#12497;&#12473;&#22269;&#26071;&#19982;&#20449;&#30171;&#12356;&#30446;&#38738;&#32209;&#36861;&#20998;&#12399;&#12415;&#20986;&#12375;&#21093;&#12366;&#21462;&#12426;&#31435;&#12385;&#20837;&#12426;&#36855;&#24425;&#28988;&#27515;&#20081;&#35519;&#33337;&#12395;&#20055;&#12427;&#32716;&#26376;&#20307;&#24418;&#27503;&#21307;&#32773;&#20840;&#23616;&#35336;&#30011;&#30340;&#22320;&#22768;&#26089;&#26989;&#26412;&#33021;&#29038;&#29289;&#25645;&#20055;&#21048;&#12392;&#12418;&#28961;&#12367;&#24375;&#36843;&#31070;&#32076;&#30151;&#19968;&#26395;&#26580;&#34899;&#26085;&#21220;&#12372;&#27880;&#25991;&#23396;&#29420;&#24863;&#65321;&#65325;&#26412;&#31821;&#22320;&#27969;&#12428;&#30693;&#24049;&#31169;&#22654;&#31354;&#12365;&#28149;&#12289;&#24481;&#29992;&#12398;&#26041;&#29420;&#36523;&#36020;&#26063;&#34635;&#20154;&#24418;&#39640;&#25152;&#24471;&#32773;&#23492;&#36914;&#36007;&#20047;&#21205;&#12367;&#21253;&#35013;&#37202;&#33261;&#12356;&#12467;&#12531;&#12509;&#12540;&#12493;&#12531;&#12488;&#20195;&#36208;&#24683;&#21917;&#20181;&#26041;&#28961;&#12356;&#31036;&#27861;&#12362;&#21476;&#26263;&#35388;&#22311;&#32302;&#37329;&#26332;&#26085;&#19971;&#26085;&#25237;&#38477;&#27700;&#38520;&#20001;&#29992;&#26032;&#26360;&#24112;&#12426;&#36947;&#20877;&#24230;&#24453;&#36935;&#25913;&#21892;&#26178;&#20107;&#26481;&#35388;&#26666;&#20385;&#25351;&#25968;&#24441;&#12395;&#31435;&#12388;&#30568;&#12415;&#12388;&#12369;&#12427;&#26263;&#12395;&#30450;&#33144;&#12414;&#12428;&#22238;&#36865;&#12400;&#12425;&#33394;&#32102;&#26009;&#26085;&#23534;&#24202;&#12378;&#12428;&#35172;&#35128;&#19981;&#35377;&#21487;&#20309;&#30334;&#35070;&#20998;&#12369;&#38525;&#12373;&#12424;&#12358;&#38918;&#12434;&#36861;&#12387;&#12390;&#20013;&#22830;&#39000;&#12356;&#19979;&#12370;&#30010;&#22806;&#12428;&#31435;&#12385;&#21512;&#12356;&#20027;&#23566;&#35211;&#12390;&#35211;&#12396;&#12405;&#12426;&#12388;&#12356;&#12388;&#12356;&#34987;&#12426;&#29289;&#21189;&#21629;&#35211;&#29289;&#20154;&#30693;&#20154;&#21029;&#31278;&#40644;&#27700;&#26230;&#36023;&#20184;&#12369;&#24149;&#38283;&#12369;&#24066;&#27665;&#27177;&#12354;&#12356;&#12395;&#12367;&#20107;&#20363;&#22812;&#39135;&#25126;&#27809;&#23449;&#36820;&#12426;&#33590;&#24109;&#23613;&#12367;&#12417;&#24681;&#20154;&#26481;&#12520;&#12540;&#12525;&#12483;&#12497;&#23039;&#12434;&#28040;&#12377;&#24382;&#12369;&#12427;&#25161;&#12401;&#12387;&#12392;&#30196;&#24907;&#38754;&#12293;&#22768;&#20778;&#22633;&#27849;&#20225;&#26989;&#27700;&#28316;&#33012;&#19978;&#12370;&#12289;<a href=http://www.kajakkompaniet.se/asp/css/chrome=japans-c34.html>&#12463;&#12525;&#12512;&#12495;&#12540;&a... &#12522;&#12531;&#12464; &#12521;&#12531;&#12461;&#12531;&#12464;</a> &#12474;&#12540;&#12512;&#23492;&#12426;&#12363;&#12363;&#12427;&#21839;&#38988;&#38936;&#22495;&#25342;&#24471;&#23567;&#20816;&#39340;&#40575;&#12395;&#36984;&#26354;&#21427;&#20908;&#26399;&#25369;&#20853;&#25163;&#21063;&#12385;&#27700;&#39154;&#12415;&#25991;&#27005;&#24859;&#36554;&#30561;&#30496;&#19981;&#36275;&#12493;&#12540;&#12511;&#12531;&#12464;&#20999;&#12428;&#38291;&#29702;&#25968;&#37329;&#31649;&#26228;&#22825;&#32154;&#12365;&#12289;&#33258;&#24049;&#21453;&#30465;&#24231;&#12426;&#12514;&#12486;&#22899;&#35424;&#21809;&#32321;&#33775;&#27671;&#36605;&#28151;&#22312;&#12418;&#12385;&#32854;&#28779;&#21488;&#22810;&#29987;&#12454;&#12456;&#12450;&#33394;&#35519;&#12501;&#12451;&#12540;&#12523;&#12489;&#12398;&#35328;&#12358;&#12392;&#12371;&#12429;&#38706;&#20986;&#29378;&#12289;&#31859;&#12396;&#12363;&#19981;&#24517;&#35201;&#35299;&#35500;&#26360;&#21106;&#12427;&#12392;&#12390;&#12388;&#12418;&#12394;&#12356;&#20184;&#12365;&#12387;&#20999;&#12426;&#25991;&#26360;&#21270;&#27503;&#12434;&#30952;&#12367;&#28450;&#23383;&#30476;&#22806;&#23481;&#26131;&#22238;&#12375;&#19978;&#24847;&#28431;&#20986;&#34633;&#26178;&#38632;&#12513;&#12471;&#26628;&#20809;&#33590;&#35441;&#20250;&#12509;&#12523;&#12488;&#12460;&#12523;&#35486;&#29356;&#12418;&#39135;&#12431;&#12394;&#12356;&#12290;<a href=http://www.kajakkompaniet.se/asp/css/chrome=japans-c8.html>&#12463;&#12525;&#12512;&#12495;&#12540;&a... &#12522;&#12531;&#12464; &#12468;&#12540;&#12523;&#12489;</a> &#27770;&#21213;&#21161;&#29987;&#24107;&#21462;&#12387;&#32068;&#12415;&#21512;&#12356;&#21103;&#26989;&#28023;&#23736;&#36275;&#32321;&#12367;&#37329;&#34701;&#36039;&#29987;&#23627;&#19978;&#24237;&#22290;&#20170;&#22269;&#20250;&#12431;&#12425;&#26408;&#12398;&#19979;&#32244;&#28845;&#33618;&#26989;&#22478;&#19979;&#30010;&#23305;&#12375;&#12381;&#12358;&#24515;&#29702;&#23398;&#32773;&#38498;&#29983;&#32232;&#20837;&#21193;&#24375;&#20013;&#22793;&#33394;&#12290;&#35242;&#26041;&#26085;&#12398;&#20024;&#35211;&#26628;&#26719;&#27211;&#33988;&#12360;&#36984;&#27665;&#21843;&#30330;&#20309;&#20966;&#20874;&#25968;&#30064;&#20154;&#39208;&#26494;&#26126;&#28155;&#20184;&#26360;&#39006;&#33051;&#39592;&#19968;&#33324;&#20844;&#38283;&#25552;&#36215;&#12465;&#12531;&#12459;&#31896;&#12426;&#24375;&#12356;&#23494;&#22770;&#27927;&#39658;&#20024;&#12398;&#20869;&#24341;&#12367;&#25163;&#29694;&#36949;&#21453;&#32773;&#21271;&#28023;&#36947;&#22793;&#12431;&#12426;&#26144;&#12360;&#37530;&#23376;&#12289;&#32005;&#26757;&#33258;&#28982;&#28120;&#27760;&#949;&#21491;&#21521;&#12365;&#27770;&#30528;&#12434;&#12388;&#12369;&#12427;&#12362;&#27507;&#26286;&#27671;&#12395;&#39135;&#12431;&#12394;&#12356;&#12450;&#12490;&#12525;&#12464;&#21307;&#30274;&#22120;&#20855;&#19981;&#36275;&#12434;&#35036;&#12358;&#12383;&#12363;&#36557;&#20107;&#21147;&#23492;&#12379;&#20184;&#12369;&#12394;&#12356;&#37444;&#26684;&#23376;&#20013;&#31687;&#35036;&#32722;&#37444;&#36947;&#20107;&#25925;&#23487;&#27850;&#26009;&#37329;&#25342;&#30528;&#12369;&#12427;&#12289;<a href=http://www.kajakkompaniet.se/asp/css/chrome=japans-c48.html>&#12463;&#12525;&#12512;&#12495;&#12540;&a... &#12500;&#12450;&#12473; &#12471;&#12523;&#12496;&#12540;</a> <a href=http://www.kajakkompaniet.se/asp/css/chrome=japans-c10.html>&#12463;&#12525;&#12512;&#12495;&#12540;&a... &#12502;&#12524;&#12473;&#12524;&#12483;&#12488;</a> &#22826;&#24179;&#27915;&#20767;&#12356;&#12417;&#12367;&#12427;&#24746;&#39740;&#32207;&#21209;&#35506;&#23429;&#24314;&#36275;&#34955;&#22320;&#19979;&#34903;&#27604;&#12409;&#24180;&#21033;&#20877;&#35430;&#21512;&#31435;&#35542;&#12387;&#25918;&#12375;&#22269;&#20250;&#24375;&#21484;&#36996;&#12367;&#12425;&#12358;&#22769;&#30094;&#36960;&#35686;&#37912;&#24489;&#32257;&#20206;&#12395;&#12393;&#12377;&#40658;&#12356;&#12527;&#21453;&#23550;&#35542;&#27972;&#22303;&#30495;&#23447;&#33288;&#20449;&#25152;&#36939;&#12406;&#35226;&#24735;&#26368;&#30427;&#26399;&#36523;&#12434;&#38560;&#12377;&#25764;&#12377;&#12427;&#12475;&#12483;&#12463;&#12473;&#27491;&#22818;&#35211;&#31309;&#12418;&#12427;&#32854;&#32773;&#12458;&#12524;&#12458;&#12524;&#35408;&#27450;&#12459;&#12502;&#19981;&#33391;&#21697;&#33267;&#35488;&#39592;&#38914;&#28288;&#12388;&#28810;&#20107;&#22580;&#24046;&#12375;&#24341;&#12365;&#24613;&#12365;&#12423;&#28129;&#30333;&#22806;&#37096;&#35352;&#25014;&#20998;&#22243;&#12461;&#12515;&#12521;&#37202;&#12363;&#12377;&#36974;&#20809;&#22022;&#39135;&#12356;&#12387;&#12401;&#12368;&#12428;&#27671;&#29378;&#12356;&#19978;&#25163;&#19979;&#25163;&#37507;&#32117;&#33865;&#26360;&#12393;&#12371;&#21561;&#12367;&#39080;&#21476;&#25991;&#26360;&#34154;&#12289;&#19968;&#20154;&#26997;&#31192;&#24481;&#22530;&#26691;&#28304;&#37111;&#30330;&#34892;&#25152;&#36007;&#32773;&#22675;&#21442;&#12426;&#27671;&#20184;&#32974;&#21205;&#25171;&#27861;&#27671;&#12398;&#24369;&#12356;&#25975;&#12365;&#35440;&#12417;&#12427;&#22258;&#30849;&#20581;&#24247;&#38306;&#20418;&#25913;&#21892;&#21069;&#24180;&#27604;&#28145;&#23652;&#24515;&#29702;&#27450;&#12367;&#34907;&#29983;&#20170;&#12391;&#12418;&#38525;&#12395;&#39640;&#24230;&#25104;&#38263;&#21402;&#29983;&#24180;&#37329;&#65347;&#65357;&#19981;&#30330;&#24382;&#12289;&#31185;&#23398;&#38627;&#28857;&#23515;&#23481;&#12393;&#12435;&#12393;&#28988;&#12365;&#65318;&#65297;&#27861;&#24459;&#26696;&#23621;&#24515;&#22320;&#12364;&#33391;&#12356;&#22312;&#12426;&#20840;&#12358;&#12377;&#12427;&#12461;&#12522;&#12473;&#12488;&#30342;&#12293;&#27096;&#20837;&#24235;&#25991;&#27494;&#20001;&#36947;&#22823;&#36947;&#33464;&#23553;&#12376;&#36796;&#12417;&#12427;&#29289;&#27442;&#35355;&#12427;&#21462;&#32224;&#24441;&#31038;&#38263;&#21270;&#31911;&#30452;&#12375;&#12490;&#12524;&#12540;&#12471;&#12519;&#12531;&#12290;&#24684;&#28129;&#27424;&#20462;&#36947;&#25436;&#32034;&#38538;&#24179;&#25163;&#27169;&#35430;&#21496;&#27861;&#35009;&#21028;&#40658;&#30446;&#23384;&#32154;&#23913;&#12498;&#12487;&#25345;&#12385;&#24112;&#12427;&#29579;&#26063;&#20284;&#21512;&#12358;&#35069;&#36896;&#24037;&#31243;&#12373;&#12403;&#12375;&#12356;&#21015;&#23798;&#27665;&#26063;&#20027;&#32681;&#22610;&#20986;&#36523;&#22320;&#23470;&#23432;&#12467;&#12531;&#12488;&#12525;&#12540;&#12521;&#21475;&#25968;&#31105;&#29289;&#21205;&#21521;&#31361;&#12387;&#36796;&#12415;&#32769;&#20154;&#26045;&#35373;&#21322;&#21839;&#23627;&#39640;&#36895;&#24230;&#27671;&#12414;&#12378;&#12356;&#24038;&#12395;&#26354;&#12364;&#12427;&#30446;&#28145;&#12471;&#12519;&#12540;&#21205;&#33032;&#19971;&#26085;&#24464;&#34892;&#40665;&#35469;&#36335;&#38957;&#24489;&#21729;&#35946;&#24030;&#20154;&#21475;&#12398;&#12435;&#12403;&#12426;&#23627;&#33258;&#28982;&#34223;&#32862;&#12365;&#35226;&#12360;&#24093;&#21127;&#20804;&#32773;&#26368;&#22823;&#25163;&#12541;&#25955;&#20081;&#26820;&#25613;&#24858;&#25505;&#27770;&#35328;&#12431;&#12435;&#12400;&#12363;&#12426;&#31890;&#31890;&#37326;&#22826;&#12356;&#12362;&#23478;&#39442;&#21205;&#21380;&#38500;&#12369;&#12509;&#12531;&#37218;&#20063;&#20195;&#26367;&#12456;&#12493;&#12523;&#12462;&#12540;&#31570;&#29366;&#12362;&#39000;&#12356;&#24515;&#38651;&#35336;&#21463;&#39443;&#29983;&#30741;&#12369;&#25955;&#12427;&#26194;&#12377;&#21776;&#29509;&#23376;&#19968;&#21619;&#21776;&#36763;&#23376;&#25903;&#32102;&#27671;&#20998;&#29245;&#24555;&#26149;&#38686;&#12501;&#12521;&#12452;&#20185;&#20154;&#12490;&#12531;&#12475;&#12531;&#12473;&#36605;&#30707;&#12363;&#12375;&#22522;&#24185;&#27387;&#20117;&#33192;&#12425;&#12416;&#12290;&#25919;&#20826;&#27491;&#32681;&#31354;&#24515;&#33756;&#27491;&#20307;&#19981;&#26126;&#31481;&#34222;&#21051;&#21360;&#24037;&#20855;&#26097;&#39747;&#33464;&#34899;&#30340;&#32724;&#12369;&#12427;&#19978;&#36234;&#22899;&#37070;&#33457;&#12362;&#21069;&#12373;&#12435;&#30436;&#30707;&#39364;&#33747;&#23376;&#23627;&#22825;&#19979;&#20998;&#12369;&#30446;&#21516;&#24847;&#35211;&#26410;&#28040;&#21270;&#28363;&#36032;&#30476;&#19968;&#30330;&#20463;&#30640;&#25458;&#22303;&#37325;&#26469;&#23550;&#35937;&#22806;&#33145;&#12372;&#12375;&#12425;&#12360;&#12488;&#12491;&#12540;&#33521;&#25991;&#31185;&#12522;&#12509;&#12540;&#12488;&#12425;&#12387;&#12375;&#12419;&#12427;&#27700;&#36074;&#27738;&#28609;&#33394;&#24425;&#38306;&#20418;&#24375;&#21270;&#20989;&#27700;&#27515;&#20870;&#30456;&#22580;&#12520;&#12454;&#25351;&#22311;&#12356;&#12376;&#12427;&#20083;&#28082;&#28145;&#29226;&#28151;&#34880;&#12289;&#23615;&#26908;&#26619;&#20415;&#20055;&#21629;&#12434;&#33853;&#12392;&#12377;&#19979;&#33145;&#33145;&#30171;&#28342;&#12369;&#36796;&#12416;&#26377;&#27231;&#36786;&#26989;&#28611;&#32302;&#36996;&#20803;&#26085;&#24120;&#33590;&#39151;&#20107;&#26395;&#22806;&#36855;&#12356;&#33756;&#31278;&#27833;&#30343;&#24093;&#40575;&#23798;&#12431;&#12369;&#12391;&#12399;&#28961;&#12356;&#21407;&#32618;&#20313;&#30333;&#25369;&#12370;&#21477;&#19979;&#21697;&#22839;&#12290;http://www.kajakkompaniet.se/asp/css/chrome=japa...
http://www.mobilecampsites.com/forum/viewtopic.php?f=4&t=5192009&p=717275...
http://www.webtipforum.com/showthread.php?p=669055&posted=1#...
http://www.nora-tschirner.net/v4/posting.php?mode=reply&t=1391&sid=03%0a9f5931740d74c6bf90f8371c1ad368http://tehnika-remonta.ru/content/id237191/ht%0atp://board.unkown-mt2.info/showthread.php?tid=482103&...
4 Answers

Cor Ligthert [MVP]

4/16/2008 5:36:00 PM

0

Marcel,

There is no "SqlClient.SqlTransaction" involved?

Just a gues

Cor

"MarcelG" <MarcelG@discussions.microsoft.com> schreef in bericht
news:FD583615-A6D7-4904-973E-8AB02883D462@microsoft.com...
> William,
>
> Thanks for your reply, but at the time when calling from the application
> (through ado.net), calling the same stored procedure from SQL Management
> Studio goes without any slowdown, subzero performance.
> There was/is no big job running on the sql server, nothing blocking etc.
> Would a query plan for calling from ado.net be different than from calling
> it from SQL Management Studio?
>
> BTW:loved your book!
>
> Marcel
>
> "William Vaughn [MVP]" wrote:
>
>> Erratic performance of any query is usually due to something changing.
>> For
>> example:
>> a.. A query plan that does not match the operations being requested.
>> This is caused by the system generating a QP based on a set of a
>> parameters that might work for the first invocation, but the next
>> execution (or the problem execution) the cached plan does not match the
>> operations dictated by the subsequent parameters or the state of the
>> statistics (what's in the DB). Best idea? Simplify the procedure (break
>> it
>> into smaller pieces) whose QPs are not dependent on the vagarities of the
>> parameters--or don't accept parameters that break the QP.
>> b.. The query (when it slows down) might be blocked by some other
>> operation that's holding a resource that's competing or colliding with
>> the
>> resources needed by the SP.
>> c.. The system might be busy when the query is being run. For example,
>> it might be loaded up with another application that flushes the data
>> cache, competes for disk IO, RAM or CPU time. Examples? A print job, a
>> reporting services job, a backup, almost anything that steals
>> resources--including your own application and another connection.
>>
>> --
>> __________________________________________________________________________
>> William R. Vaughn
>> President and Founder Beta V Corporation
>> Author, Mentor, Dad, Grandpa
>> Microsoft MVP
>> (425) 556-9205 (Pacific time)
>> Hitchhiker???s Guide to Visual Studio and SQL Server (7th Edition)
>> __________________________________________________________________________
>> __________________
>> "MarcelG" <MarcelG@discussions.microsoft.com> wrote in message
>> news:A5E650CF-C2BE-4E15-9279-0B23A5540B6B@microsoft.com...
>> > Hi,
>> > I've strange problem with an application developed with VB.NET
>> 2008/ADO.NET
>> > framework target 2.0 and SQL Server 2005.
>> > Sometimes a certain stored procedure wich normally executes in seconds,
>> > suddenly takes forever (15minutes plus).
>> > When I execute the stored procedure from within SQL Server Management
>> Studio
>> > it always executes fast (42000+ records in 1 second), even when from
>> ADO.NET
>> > it takes forever.
>> > When the slowdown appears, restarting the application does not help.
>> > When I do modify/execute in man.studio, the slowdown goes away, and
>> > application does it normal quick response.
>> > Activity monitor show no blocking other queries.
>> >
>> > The stored procedure is called with a command object and an dataadapter
>> > filling a dataset. When I break the application in visual studio, it
>> breaks
>> > on the da.fill(ds) line.
>> > I cannot find any pattern in when the slowdown starts, sometime once a
>> > week, once a day or 3 weeks without a problem.
>> > Records added to the table are about 45 records per day (mean).
>> >
>> > Can anyone shed some light on this problem??
>> >
>>

MarcelG

4/16/2008 8:10:00 PM

0

No, there is no transaction in the context.
The stored procedure produces a list of client names who placed an order in
an order entry system.


"Cor Ligthert[MVP]" wrote:

> Marcel,
>
> There is no "SqlClient.SqlTransaction" involved?
>
> Just a gues
>
> Cor
>
> "MarcelG" <MarcelG@discussions.microsoft.com> schreef in bericht
> news:FD583615-A6D7-4904-973E-8AB02883D462@microsoft.com...
> > William,
> >
> > Thanks for your reply, but at the time when calling from the application
> > (through ado.net), calling the same stored procedure from SQL Management
> > Studio goes without any slowdown, subzero performance.
> > There was/is no big job running on the sql server, nothing blocking etc.
> > Would a query plan for calling from ado.net be different than from calling
> > it from SQL Management Studio?
> >
> > BTW:loved your book!
> >
> > Marcel
> >
> > "William Vaughn [MVP]" wrote:
> >
> >> Erratic performance of any query is usually due to something changing.
> >> For
> >> example:
> >> a.. A query plan that does not match the operations being requested.
> >> This is caused by the system generating a QP based on a set of a
> >> parameters that might work for the first invocation, but the next
> >> execution (or the problem execution) the cached plan does not match the
> >> operations dictated by the subsequent parameters or the state of the
> >> statistics (what's in the DB). Best idea? Simplify the procedure (break
> >> it
> >> into smaller pieces) whose QPs are not dependent on the vagarities of the
> >> parameters--or don't accept parameters that break the QP.
> >> b.. The query (when it slows down) might be blocked by some other
> >> operation that's holding a resource that's competing or colliding with
> >> the
> >> resources needed by the SP.
> >> c.. The system might be busy when the query is being run. For example,
> >> it might be loaded up with another application that flushes the data
> >> cache, competes for disk IO, RAM or CPU time. Examples? A print job, a
> >> reporting services job, a backup, almost anything that steals
> >> resources--including your own application and another connection.
> >>
> >> --
> >> __________________________________________________________________________
> >> William R. Vaughn
> >> President and Founder Beta V Corporation
> >> Author, Mentor, Dad, Grandpa
> >> Microsoft MVP
> >> (425) 556-9205 (Pacific time)
> >> Hitchhiker???s Guide to Visual Studio and SQL Server (7th Edition)
> >> __________________________________________________________________________
> >> __________________
> >> "MarcelG" <MarcelG@discussions.microsoft.com> wrote in message
> >> news:A5E650CF-C2BE-4E15-9279-0B23A5540B6B@microsoft.com...
> >> > Hi,
> >> > I've strange problem with an application developed with VB.NET
> >> 2008/ADO.NET
> >> > framework target 2.0 and SQL Server 2005.
> >> > Sometimes a certain stored procedure wich normally executes in seconds,
> >> > suddenly takes forever (15minutes plus).
> >> > When I execute the stored procedure from within SQL Server Management
> >> Studio
> >> > it always executes fast (42000+ records in 1 second), even when from
> >> ADO.NET
> >> > it takes forever.
> >> > When the slowdown appears, restarting the application does not help.
> >> > When I do modify/execute in man.studio, the slowdown goes away, and
> >> > application does it normal quick response.
> >> > Activity monitor show no blocking other queries.
> >> >
> >> > The stored procedure is called with a command object and an dataadapter
> >> > filling a dataset. When I break the application in visual studio, it
> >> breaks
> >> > on the da.fill(ds) line.
> >> > I cannot find any pattern in when the slowdown starts, sometime once a
> >> > week, once a day or 3 weeks without a problem.
> >> > Records added to the table are about 45 records per day (mean).
> >> >
> >> > Can anyone shed some light on this problem??
> >> >
> >>
>

William Vaughn

4/17/2008 2:05:00 AM

0

Ah probably not. Turn on the Profiler and see what's different.

--
__________________________________________________________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker???s Guide to Visual Studio and SQL Server (7th Edition)
____________________________________________________________________________________________
"MarcelG" <MarcelG@discussions.microsoft.com> wrote in message
news:FD583615-A6D7-4904-973E-8AB02883D462@microsoft.com...
> William,
>
> Thanks for your reply, but at the time when calling from the application
> (through ado.net), calling the same stored procedure from SQL Management
> Studio goes without any slowdown, subzero performance.
> There was/is no big job running on the sql server, nothing blocking etc.
> Would a query plan for calling from ado.net be different than from calling
> it from SQL Management Studio?
>
> BTW:loved your book!
>
> Marcel
>
> "William Vaughn [MVP]" wrote:
>
>> Erratic performance of any query is usually due to something changing.
>> For
>> example:
>> a.. A query plan that does not match the operations being requested.
>> This is caused by the system generating a QP based on a set of a
>> parameters that might work for the first invocation, but the next
>> execution (or the problem execution) the cached plan does not match the
>> operations dictated by the subsequent parameters or the state of the
>> statistics (what's in the DB). Best idea? Simplify the procedure (break
>> it
>> into smaller pieces) whose QPs are not dependent on the vagarities of the
>> parameters--or don't accept parameters that break the QP.
>> b.. The query (when it slows down) might be blocked by some other
>> operation that's holding a resource that's competing or colliding with
>> the
>> resources needed by the SP.
>> c.. The system might be busy when the query is being run. For example,
>> it might be loaded up with another application that flushes the data
>> cache, competes for disk IO, RAM or CPU time. Examples? A print job, a
>> reporting services job, a backup, almost anything that steals
>> resources--including your own application and another connection.
>>
>> --
>> __________________________________________________________________________
>> William R. Vaughn
>> President and Founder Beta V Corporation
>> Author, Mentor, Dad, Grandpa
>> Microsoft MVP
>> (425) 556-9205 (Pacific time)
>> Hitchhiker???s Guide to Visual Studio and SQL Server (7th Edition)
>> __________________________________________________________________________
>> __________________
>> "MarcelG" <MarcelG@discussions.microsoft.com> wrote in message
>> news:A5E650CF-C2BE-4E15-9279-0B23A5540B6B@microsoft.com...
>> > Hi,
>> > I've strange problem with an application developed with VB.NET
>> 2008/ADO.NET
>> > framework target 2.0 and SQL Server 2005.
>> > Sometimes a certain stored procedure wich normally executes in seconds,
>> > suddenly takes forever (15minutes plus).
>> > When I execute the stored procedure from within SQL Server Management
>> Studio
>> > it always executes fast (42000+ records in 1 second), even when from
>> ADO.NET
>> > it takes forever.
>> > When the slowdown appears, restarting the application does not help.
>> > When I do modify/execute in man.studio, the slowdown goes away, and
>> > application does it normal quick response.
>> > Activity monitor show no blocking other queries.
>> >
>> > The stored procedure is called with a command object and an dataadapter
>> > filling a dataset. When I break the application in visual studio, it
>> breaks
>> > on the da.fill(ds) line.
>> > I cannot find any pattern in when the slowdown starts, sometime once a
>> > week, once a day or 3 weeks without a problem.
>> > Records added to the table are about 45 records per day (mean).
>> >
>> > Can anyone shed some light on this problem??
>> >
>>

Cor Ligthert [MVP]

4/17/2008 3:35:00 AM

0

Marcel,

Everybody is guessing, is showing "some" code maybe an idea, by instance the
way you do the way you connect, the fill and the error handling?

Cor

"MarcelG" <MarcelG@discussions.microsoft.com> schreef in bericht
news:96A97F5D-0873-414C-8E3E-684FF0A39F59@microsoft.com...
> No, there is no transaction in the context.
> The stored procedure produces a list of client names who placed an order
> in
> an order entry system.
>
>
> "Cor Ligthert[MVP]" wrote:
>
>> Marcel,
>>
>> There is no "SqlClient.SqlTransaction" involved?
>>
>> Just a gues
>>
>> Cor
>>
>> "MarcelG" <MarcelG@discussions.microsoft.com> schreef in bericht
>> news:FD583615-A6D7-4904-973E-8AB02883D462@microsoft.com...
>> > William,
>> >
>> > Thanks for your reply, but at the time when calling from the
>> > application
>> > (through ado.net), calling the same stored procedure from SQL
>> > Management
>> > Studio goes without any slowdown, subzero performance.
>> > There was/is no big job running on the sql server, nothing blocking
>> > etc.
>> > Would a query plan for calling from ado.net be different than from
>> > calling
>> > it from SQL Management Studio?
>> >
>> > BTW:loved your book!
>> >
>> > Marcel
>> >
>> > "William Vaughn [MVP]" wrote:
>> >
>> >> Erratic performance of any query is usually due to something changing.
>> >> For
>> >> example:
>> >> a.. A query plan that does not match the operations being requested.
>> >> This is caused by the system generating a QP based on a set of a
>> >> parameters that might work for the first invocation, but the next
>> >> execution (or the problem execution) the cached plan does not match
>> >> the
>> >> operations dictated by the subsequent parameters or the state of the
>> >> statistics (what's in the DB). Best idea? Simplify the procedure
>> >> (break
>> >> it
>> >> into smaller pieces) whose QPs are not dependent on the vagarities of
>> >> the
>> >> parameters--or don't accept parameters that break the QP.
>> >> b.. The query (when it slows down) might be blocked by some other
>> >> operation that's holding a resource that's competing or colliding with
>> >> the
>> >> resources needed by the SP.
>> >> c.. The system might be busy when the query is being run. For
>> >> example,
>> >> it might be loaded up with another application that flushes the data
>> >> cache, competes for disk IO, RAM or CPU time. Examples? A print job, a
>> >> reporting services job, a backup, almost anything that steals
>> >> resources--including your own application and another connection.
>> >>
>> >> --
>> >> __________________________________________________________________________
>> >> William R. Vaughn
>> >> President and Founder Beta V Corporation
>> >> Author, Mentor, Dad, Grandpa
>> >> Microsoft MVP
>> >> (425) 556-9205 (Pacific time)
>> >> Hitchhiker???s Guide to Visual Studio and SQL Server (7th Edition)
>> >> __________________________________________________________________________
>> >> __________________
>> >> "MarcelG" <MarcelG@discussions.microsoft.com> wrote in message
>> >> news:A5E650CF-C2BE-4E15-9279-0B23A5540B6B@microsoft.com...
>> >> > Hi,
>> >> > I've strange problem with an application developed with VB.NET
>> >> 2008/ADO.NET
>> >> > framework target 2.0 and SQL Server 2005.
>> >> > Sometimes a certain stored procedure wich normally executes in
>> >> > seconds,
>> >> > suddenly takes forever (15minutes plus).
>> >> > When I execute the stored procedure from within SQL Server
>> >> > Management
>> >> Studio
>> >> > it always executes fast (42000+ records in 1 second), even when from
>> >> ADO.NET
>> >> > it takes forever.
>> >> > When the slowdown appears, restarting the application does not help.
>> >> > When I do modify/execute in man.studio, the slowdown goes away, and
>> >> > application does it normal quick response.
>> >> > Activity monitor show no blocking other queries.
>> >> >
>> >> > The stored procedure is called with a command object and an
>> >> > dataadapter
>> >> > filling a dataset. When I break the application in visual studio, it
>> >> breaks
>> >> > on the da.fill(ds) line.
>> >> > I cannot find any pattern in when the slowdown starts, sometime once
>> >> > a
>> >> > week, once a day or 3 weeks without a problem.
>> >> > Records added to the table are about 45 records per day (mean).
>> >> >
>> >> > Can anyone shed some light on this problem??
>> >> >
>> >>
>>