Skip to content

Commit

Permalink
Added SQL script to monitor the status of database
Browse files Browse the repository at this point in the history
Added script to check the neighbors of each feature vector in graph
to make sure the number of neighbors is at most max_deg
  • Loading branch information
Wenzheng Li committed May 13, 2015
1 parent 67d02bd commit b3bc3b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 0 additions & 8 deletions engine/debug.txt

This file was deleted.

4 changes: 4 additions & 0 deletions engine/monitor.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- sql statement to make sure each node has no more than max_deg neighbors
select feature_vector.id, count(graph_edge.dst) as OutDegree
from graph_edge left join feature_vector
on feature_vector.id = graph_edge.src group by src;

0 comments on commit b3bc3b5

Please sign in to comment.