ÐÞ¸Äsql server µÄÁ¬½ÓÊý
ÈçºÎÐÞ¸ÄSQL ServerµÄÁ¬½ÓÊý
ÎÒ°ÑSQL Server 7.0µÄÓû§Á¬½ÓÊýÉèΪ1ºó£¬Êý¾Ý¿â¾ÍÔÙÒ²Á¬²»ÉÏÁË£¬ËùÒÔҲû°ì·¨ÐÞ¸ÄÁ¬½ÓÊý
ÇëÎÊÓÐʲô°ì·¨ÄÜÐÞ¸ÄÁ¬½ÓÊý£¿
ÔÚserver µÄÊôÐÔÀïÃæÓиöconnetctions µÄ
maximun concurrent user connections
Ê×ÏȹرÕËùÓеÄÓû§Á¬½Ó(±ØÒªµÄʱºò²¦µôÍøÏß)
È»ºó´ò¿ªÆóÒµ¹ÜÀíÆ÷--ÓÒ¼üÄãµÄSQLʵÀý--ÊôÐÔ--ÕÒµ½Á¬½Ó,½«Á¬½ÓÓû§Êý¸ÄΪ0
µ«ÊÇÏÖÔÚÊôÐÔ¸ü±¾¾Í´ò²»¿ª
µ¯³ö¾¯¸æ¿ò˵²»ÄÜÕýÈ·Á¬½Ó£¬connection transact(TransactNamedPipe())µÄÁ¬½ÓδȷÁ¢
ÇëÎÊ»¹ÓÐÆäËû·½·¨Â𣿿ɲ»¿ÉÒÔͨ¹ý¸ÄÎļþ»ò×¢²á±íÀ´ÐÞ¸ÄÁ¬½ÓÊý£¿
ÄãµÄ·½·¨ÎÒÊÔ¹ýÁË£¬ÓÒ¼üÄãµÄSQLʵÀý--ÊôÐÔ ÎÞ·¨´ò¿ª
ÄãÊÔÊÔÕâÑù
1.Í£Ö¹sql·þÎñ
2.Óõ¥Óû§Ä£Ê½Æô¶¯SQL
ÔÚÃüÁîÐÐģʽÏÂÊäÈësqlservr -c -f -m»òÕßÊäÈësqlservr -m
sqlservr.exeÔÚÄãµÄsql°²×°Ä¿Â¼ÏÂ,Äã×Ô¼ºÕÒÕÒ
3.ÓÃosqlµÇ¼ÖØÐÂÅäÖÃ:
osql /U"sa" /P"ÃÜÂë" /Q"exec sp_configure N'user connections', 0"
4.È»ºóÖØÐÂÆô¶¯²Ù×÷ϵͳ
Ïà¹ØÎĵµ£º
String keyword = request.getParameter("keyword");
String timeRange = request.getParameter("timeRange");
String type = request.getParameter("type");
StringBuffer sql = new StringBuffer();
sql.append("use webstation_leadall s ......
ÈçºÎÔÚSQLÖÐÆôÓÃÈ«ÎļìË÷¹¦ÄÜ£¿
¡¡¡¡--------------------------------------------------------------------------------
¡¡¡¡È«ÎÄË÷ÒýµÄÒ»¸öÀý×Ó£¬ÔÚ²éѯ·ÖÎöÆ÷ÖÐʹÓãº
¡¡¡¡use pubs
¡¡¡¡go
¡¡¡¡--´ò¿ªÊý¾Ý¿âÈ«ÎÄË÷ÒýµÄÖ§³Ö
¡¡¡¡execute sp_fulltext_database 'enable'
¡¡¡¡go
¡¡¡¡--½¨Á¢È«ÎÄĿ¼ft_titles
¡¡¡ ......
----start
ÎÊÌ⣺²é¿´DB2 °æ±¾---SELECT * from SYSIBM.SYSVERSIONS
ÎÊÌ⣺²é¿´ÏµÍ³ÖÐÓÐÄÄЩ±íÒÔ¼°ÕâЩ±íµÄ¸ÅÒªÐÅÏ¢£ºSELECT * from SYSCAT.TABLES
ÎÊÌ⣺²é¿´Ä³¸ö±íÓÐÄÄЩÁÐÒÔ¼°ÕâЩÁеĸÅÒªÐÅÏ¢£ºSELECT * from SYSCAT.COLUMNS WHERE TABNAME=<YOUR_TABLE_NAME>
---´ýÐøδÍê
---¸ü¶à²Î¼û£ºDB2 SQL ¾«Ò ......
CareGroup Ò½ÁÆ×éÖ¯¸ºÔð±£»¤2TB µÄ²¡ÈËÐÅÏ¢ºÍÏà¹ØÊý¾ÝµÄÒþ˽¼°ÍêÕûÐÔ¡£¸Ã×é֯λÓÚ²¨Ê¿¶Ù£¬ÊÇBeth Israel Deaconess ҽѧÖÐÐÄ£¨¹þ·ðҽѧԺµÄ½ÌѧҽԺ£©ÒÔ¼°ÁíÍâÈý¼ÒµØÇøÒ½ÔºµÄĸ¹«Ë¾¡£CareGroup ²ÉÓÃMicrosoft® SQL Server™ 2005£¬½«ÆäÊý¾Ý´æ´¢ÓÚ30¸öʵÀýµÄ390¸öÊý¾Ý¿âÖС£¸Ã×é֯ϣÍû½«Êý¾Ý¿âÉý¼¶µ½SQL Server 200 ......