I used SQL profiler to help me identify what was going on with the Database during the load of my netperfmon home page. I determined that the All Nodes "ajax" web resource was the cause of my home page taking greater than 30 sec to load. Using sql profiler I noticed that the following queries were run to populate the page. It seems to me that it select's * from the interface table for every interface on every node. I have 108 nodes and 10,000 interfaces. Is this by design? Thanks
exec sp_executesql N'SELECT * FROM Views WHERE ViewID=@ViewID';, N'@ViewID int', @ViewID = 9
SELECT * FROM Nodes
I see this query for every node...exec sp_executesql N'SELECT InterfaceID FROM Interfaces WHERE NodeID=@NodeID';, N'@NodeID int', @NodeID = 32
I see this query for every interface......exec sp_executesql N'SELECT * FROM Interfaces WHERE InterfaceID=@interface';, N'@interface int', @interface = 951
Thanks
Brandon
Charter Communications