Row operation in Net-SNMP
"Zheng, Wenjie (Barclay)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel,gmane.network.net-snmp.user |
|---|---|
| Message-ID | <A8F658F27E2A06459025251CA0A460060F4F67E159@FRMRSSXCHMBSA2X.dc-m.alcatel-lucent.com> |
Hi, Dave et al, I have a puzzle of Net-SNMP table operation, for example I have a table like below: a1-a2-a3-a4 b1-b2-b3-b4 c1-c2-c3-c4 In net-snmp, if I use iterator helper to implement the table handler, it will translate the getbulk request to bunch of get request, the order is: a1->b1->c1->a2->b2->c2..... So it's first column then send column and so on. In my case, the data is stored ourside in row order, like first row, second row. a1->a2->a3->a4->b1->b2.... I can read the whole row one time, and then return all the values for the whole row. Then I only need read outside data 3 times for the whole table. But in the itorator helper, I will need to read outside data 12 times for the whole table. Do you have any good suggestion on this? Thanks and have a nice day! Barclay ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr