Network Computing is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Clearing Database Network Clogs: Page 5 of 6

From the network side, there aren't many options for optimizing your database other than throwing bandwidth at the problem. As database and hardware technologies advance, though, more developers will tackle solutions for reducing database traffic. Until then, it's up to you and your packet sniffers.

Don MacVittie is an applied technologist at WPS Resources. Write to him at [email protected].

Post a comment or question on this story.

How to reduce Database Traffic on Your Network

1. Use a network packet sniffer to track down problem applications. The sniffer shows you how many times a database query creates connections, and how much data is being transferred.

2. Check your SQL. Look for queries that return more rows than the program needs or more columns than the application uses. Combine multiple queries into a single query, if possible. If a SQL statement selects one or two fields from a table and another SQL statement uses this information to get data from another table, for example, then merge the two into a single statement that returns data from both tables.