Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 36 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
36
Dung lượng
2,5 MB
Nội dung
Visit us on the World Wide Web at
www.sqlservercentral.com
MAY/JUNE 2005 ISSUE
A technical Journal for the SQLServerCentral.com and PASS communities
Scheduled Jobs and Disk Contention 6 Locking, Blocking and Deadlocks 13 Discovering SQLServer 20
GUID Performance 23 What’s Wrong With GUIDs 25 Understanding Forwarding Pointers 26
Is Your Database Secure? 28 PASS 31
[...]... smallest list may be this: (note the file name is “nmap-services” with no extension) nmap-services # # Small SQLServer search # ms -sql- s 1433/tcp ms -sql- s 1433/udp ms -sql- m 1434/tcp ms -sql- m 1434/udp ms -sql2 000 9152/tcp # MS SQLServer # MS SQLServer # MS SQL Monitor # MS SQL Monitor # MS SQL2 000 You may want to add a few more ports if you want it to “finger print” Adding a couple of common Unix/Linux... tools to do this – sqlscan, sqlping, odbcping, osql or isql, SNMP, NetCat There are probably more Here is a brief description of each tool that I use SQL Scan (http://suppor t.microsof t.com/default.aspx?scid=kb;enus;814514&Product =sql2 k) SQL Scan (Sqlscan.exe) locates instances of SQL Server 2000 and MSDE 2000 on Windows NT 4.0, Windows 2000, Windows XP (Professional), or later SQL Scan scans an individual... t.com/default.aspx?kbid=138541) “Microsoft SQLServer versions 6.0 and later contain a 32-bit utility named Odbcping.exe that you can use to verify connectivity to SQLServer through ODBC SQLServer drivers With the Odbcping.exe utility, you verify whether ODBC and the Microsoft SQLServer driver are properly installed by connecting to a server by using the ODBC SQLServer Driver.” Occasionally this will... to the SQLServer instance through the firewall if you block UDP port 1434.” Also see http://www.microsoft.com /sql/ techinfo/tips/administration/port1434.asp, and http://suppor t.microsof t.com/default.aspx?scid=kb;enus;823938&Product =sql “By default, the default instance of SQLServer listens for requests from SQLServer clients on static port 1433” and “If UDP port 1434 is disabled, the SQL Server. .. addition, SQL Scan identifies instances of SQLServer and MSDE 2000 that may be vulnerable to the Slammer worm and attempts to shut them down.” This is all well and good until you try to scan a large network It tends to choke after about 100 machines sqlscan (http://www.foundstone.com/) “SQLScan is a Windows GUI scanner tailored specifically to finding SQL servers that may be vulnerable to the recent SQL. .. issues Understanding the transactions and lock architecture in SQL Server 2000 and modification to the application code is needed in order to scale such an application on SQLServer I will be covering the new Isolation Levels in SQLServer 2005: Snapshot and Read Committed Snapshot in another article which makes porting such an application to SQLServer a breeze Troubleshooting & Resolving blocking: Most... Architect for Manhattan Associates, Inc., in Atlanta He writes technical articles for databasejournal.com, SQLServerCentral.com, informIT.com, DBAZine.com and SSWug.com Mr Sharma has been working with Microsoft SQLServer since the release of SQLServer 6.5 and is currently working with both SQLServer 2000 & 2005 (Beta 2), Oracle 9i & 10g and DB2 UDB v.8.2 He is a Microsoft Certified DBA with more than... performance on your tables Randy Dyess I started working with SQLServer in the mid 1990s after spending time as both a Visual Basic developer and Microsoft Access developer Numerous projects upsizing Access to SQLServer lead me to become a full-time SQLServer DBA and I have remained one ever since I have a large variety of experiences dealing with SQL Server, Oracle, Sybase, DB2, Access, and other database... references for more information http://www.microsoft.com /sql/ techinfo/tips/administration/ckportnumbers.asp “You need the port number to lock down a firewall between the client and server The client determines which port to use by sending a special request to SQLServer on User Datagram Protocol (UDP) port 1434 SQLServer responds with a list of available server instances, along with the port numbers that... number of available locks, thereby limiting the amount of memory SQLServer uses for locks The default setting is 0, which allows SQLServer to allocate and deallocate locks dynamically based on changing system requirements When the server is started with locks set to 0, the lock manager allocates two percent of the memory allocated to SQLServer to an initial pool of lock structures As the pool of locks . Small SQL Server search
#
ms -sql- s 1433/tcp # MS SQL Server
ms -sql- s 1433/udp # MS SQL Server
ms -sql- m 1434/tcp # MS SQL Monitor
ms -sql- m 1434/udp # MS SQL. databasejour-
nal.com, SQLServerCentral.com, informIT.com, DBAZine.com and SSWug.com. Mr. Sharma has been working with
Microsoft SQL Server since the release of SQL Server