DOCUMENT:Q142557 06-FEB-1999 [iis] TITLE :Internet Information Server Performance Logging to Disk vs. ODBC PRODUCT :Internet Information Server PROD/VER:winnt:1.0,2.0,3.0,4.0 OPER/SYS: KEYWORDS:kbinterop ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Internet Information Server versions 1.0, 2.0, 3.0, 4.0 ------------------------------------------------------------------------------- SUMMARY ======= The impact of logging Internet Information Server (IIS) activity to disk is minimal compared to logging it to a SQL Server database. The performance impact of logging to SQL Server is greater and depends on the SQL Server implementation and the hardware you use. See your SQL Server documentation for more information on increasing performance. MORE INFORMATION ================ If disk logging is used, data is cached in 64K chunks. When the server has 64K of log data cached, it writes the data to disk. NOTE: Stopping the WWW, FTP, or Gopher service forces the cached data to be written to the log file. If SQL Server logging is used, the log is always up to date because SQL Server entries are written immediately. You may experience problems implementing live reports when using these files as the data source for two reasons: - The current log file is held open until it reaches the maximum size or time interval specified in the Internet Server Manager. The log file closes when the next log entry is written after midnight of the day the log file time limit expires. - The log file is updated in 64K chunks. On servers that do not have a high usage rate, the statistics will not be up-to-date because of the delayed write. Additional query words: ====================================================================== Keywords : kbinterop Technology : kbiisSearch kbiis400 kbiis300 kbiis200 kbiis100 Version : winnt:1.0,2.0,3.0,4.0 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.