51TestingÈí¼þ²âÊÔÂÛ̳

 ÕÒ»ØÃÜÂë
 (×¢-²á)¼ÓÈë51Testing

QQ怬

Ö»ÐèÒ»²½£¬¿ìËÙ¿ªÊ¼

΢ÐŵǼ£¬¿ìÈËÒ»²½

ÊÖ»úºÅÂ룬¿ì½ÝµÇ¼

²é¿´: 3435|»Ø¸´: 3
´òÓ¡ ÉÏÒ»Ö÷Ìâ ÏÂÒ»Ö÷Ìâ

[ÇóÖú] ΪʲôTPSͻȻ±äСÁËÄØ£¿

[¸´ÖÆÁ´½Ó]

¸ÃÓû§´Óδǩµ½

Ìøתµ½Ö¸¶¨Â¥²ã
1#
·¢±íÓÚ 2008-7-27 01:45:13 | Ö»¿´¸Ã×÷Õß »ØÌû½±Àø |µ¹Ðòä¯ÀÀ |ÔĶÁģʽ
ÎÒ×öÁËÒ»¸öSQLµÄÐÔÄܲâÊÔ.ÓÃJAVAдµÄ. WINDOW XP ,SQL SERVER 2000
   µ«ÊÇÔÚÔËÐлúÁË:5:20ÃëµÄʱºò,·¢ÏÖÊÂÎñÊýʧ°ÜµÄÌ«¶àÁË.ÎҲ鿴ÁË´íÎóÈÕÖ¾.·¢ÏÖÁË ´íÎóÊÇÕâÑùµÄ:
   error -1799  system.err java.sql.sqlexception [Microsoft][sql server 2000 driver for JDBC ] error establishing socket
  ´ÓÉÏÃæµÄ´íÎóÐÅÏ¢¿ÉÒԲ鿴³ö,ÊÇÔÚ×¢²áSQLÇý¶¯Ê±Ê§°ÜÁË. µ«ÎÒÓֲ鿴ÁËϵ±Ê±µÄ
   Ó²¼þÇé¿ö(CPU ,MEM,HARDDISK)¶¼ÊÇÕý³£µÄ,
   ÍøÂç:ÎÒÊÇÔÚ±¾»ú×öµÄѹÁ¦²âÊÔ
   µ«ÊǾÍÊÇ×¢²áÊý¾Ý¿âÇý¶¯Ê±Ê§°ÜÁË... ²»ÖªµÀΪʲô?

JAVA ´úÂëΪÏÂÃæËùʾ:
   /*
* LoadRunner Java script. (Build: 873)
*
* Script Description:
*                     
*/

import lrapi.lr;
//import java.sql.*;
import com.sql.TestJDBC;
import java.io.*;

public class Actions
{

        public int init() throws Throwable {
                return 0;
        }//end of init


        public int action() throws Throwable {
                String user = "sa" ;
                String password = "sa" ;
                String sel = "select * from student where id > 950" ;
                //String sel = "select * from student" ;
                TestJDBC.main(user,password ,sel);
                 
                return 0;
        }//end of action


        public int end() throws Throwable {
                return 0;
        }//end of end
}

[ ±¾Ìû×îºóÓÉ superfang ÓÚ 2008-7-27 01:49 ±à¼­ ]

±¾Ìû×ÓÖаüº¬¸ü¶à×ÊÔ´

ÄúÐèÒª µÇ¼ ²Å¿ÉÒÔÏÂÔØ»ò²é¿´£¬Ã»ÓÐÕʺţ¿(×¢-²á)¼ÓÈë51Testing

x
·ÖÏíµ½:  QQºÃÓѺÍȺQQºÃÓѺÍȺ QQ¿Õ¼äQQ¿Õ¼ä ÌÚѶ΢²©ÌÚѶ΢²© ÌÚѶÅóÓÑÌÚѶÅóÓÑ
ÊÕ²ØÊÕ²Ø

¸ÃÓû§´Óδǩµ½

2#
·¢±íÓÚ 2008-7-27 18:48:54 | Ö»¿´¸Ã×÷Õß
¿´¿´SQLµÄÈÕÖ¾.

¸ÃÓû§´Óδǩµ½

3#
 Â¥Ö÷| ·¢±íÓÚ 2008-7-27 20:28:22 | Ö»¿´¸Ã×÷Õß
2008-07-26 10:11:53.11 server    Copyright (C) 1988-2002 Microsoft Corporation.
2008-07-26 10:11:53.11 server    ±£ÁôËùÓÐȨÀû¡£
2008-07-26 10:11:53.13 server    ·þÎñÆ÷½ø³Ì ID ÊÇ 1980¡£
2008-07-26 10:11:53.13 server    ½« SQL Server ÏûÏ¢¼Ç¼ÔÚÎļþ¡°C:\Program Files\Microsoft SQL Server\MSSQL\log\ERRORLOG¡±ÖС£
2008-07-26 10:11:53.21 server    SQL Server ÕýÔÚÒÔÓÅÏȼ¶¡°normal¡±£¨ÒѼì²âµ½ 1 CPU£©Æô¶¯¡£
2008-07-26 10:11:54.26 server    ÒÑΪ thread ģʽ´¦Àí¶øÅäÖÃÁË SQL Server¡£
2008-07-26 10:11:54.41 server    ʹÓà dynamic Ëø·ÖÅä¡£[500] Ëø¿é£¬[1000] ËøËùÓÐÕß¿é¡£
2008-07-26 10:11:55.68 spid3     Æô¶¯Êý¾Ý¿â¡°master¡±¡£
2008-07-26 10:11:59.25 server    ÕýÔÚʹÓá°SSNETLIB.DLL¡±°æ±¾¡°8.0.2039¡±¡£
2008-07-26 10:11:59.25 spid5     Æô¶¯Êý¾Ý¿â¡°model¡±¡£
2008-07-26 10:11:59.28 spid3     ·þÎñÆ÷Ãû³ÆÊÇ¡°FANGTIESUO¡±¡£
2008-07-26 10:11:59.28 spid3     Skipping startup of clean database id 4
2008-07-26 10:11:59.33 spid3     Skipping startup of clean database id 5
2008-07-26 10:11:59.33 spid3     Skipping startup of clean database id 6
2008-07-26 10:11:59.33 spid3     Skipping startup of clean database id 7
2008-07-26 10:11:59.66 server    SQL Server ÕýÔÚ¼àÌý 127.0.0.1: 1433¡£
2008-07-26 10:11:59.96 spid5     Çå³ý tempdb Êý¾Ý¿â¡£
2008-07-26 10:12:00.01 server    SQL Server ÕýÔÚ¼àÌý TCP, Shared Memory, Named Pipes¡£
2008-07-26 10:12:00.01 server    SQL Server ÒÑ×¼±¸ºÃ½øÐпͻ§¶ËÁ¬½Ó
2008-07-26 10:12:01.13 spid5     Æô¶¯Êý¾Ý¿â¡°tempdb¡±¡£
2008-07-26 10:12:01.55 spid3     »Ö¸´Íê³É¡£
2008-07-26 10:12:01.55 spid3     SQL global counter collection task is created.
   ÕâÊÇ´íÎóÈÕÖ¾... ²»Ã÷°×ʲôÒâ˼? ÇëÂ¥Ö÷°ïÎÒ¿´¿´ÊÇʲôԭÒòÄØ?

[ ±¾Ìû×îºóÓÉ superfang ÓÚ 2008-7-27 20:29 ±à¼­ ]

¸ÃÓû§´Óδǩµ½

4#
 Â¥Ö÷| ·¢±íÓÚ 2008-7-27 20:39:19 | Ö»¿´¸Ã×÷Õß

»Ø¸´ 2# µÄÌû×Ó

2008-07-27 20:35:40.36 spid11    SQL Server ÒÑΪ 8 ¸ö²¢·¢²éѯ¶øÓÅ»¯¡£15 ¸ö²éѯ³¬¹ýÁË´ËÏÞÖÆ£¬Òò¶øÐÔÄÜ¿ÉÄÜ»áÊܵ½²»Á¼Ó°Ïì¡£
  Ê²Ã´Òâ˼?Â¥Ö÷ÖªµÀ²»? Çë½²ÏÂ...ÎÒ²»ÊǺÜÃ÷°×Õâ¸öÈÕÖ¾µÄº¬Òå...
ÄúÐèÒªµÇ¼ºó²Å¿ÉÒÔ»ØÌû µÇ¼ | (×¢-²á)¼ÓÈë51Testing

±¾°æ»ý·Ö¹æÔò

¹Ø±Õ

Õ¾³¤ÍƼöÉÏÒ»Ìõ /1 ÏÂÒ»Ìõ

СºÚÎÝ|ÊÖ»ú°æ|Archiver|51TestingÈí¼þ²âÊÔÍø ( »¦ICP±¸05003035ºÅ ¹ØÓÚÎÒÃÇ

GMT+8, 2024-11-13 14:13 , Processed in 0.068425 second(s), 29 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí