Please note AFTable in the current release is not designed to handle 1M rows. We are working on improvements that would allow you to do that in the next AF release.
Create a template for the meter having those six attributes. Then in your webparts, you can search the elements based on the value of an attribute.
In order to implement searching, refer to this article http://techsupport.osisoft.com/Support+Solution/10/KB00477.htm. You will need to write query that uses search by template name (fixed) and attribute value (from the user).
Note: If you have a naming convention for meter PI tags, you can take advantage of placeholders while creating the attributes in the template.
I hope this helps.