<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 31, 2015 at 8:39 PM, Madhura Jayaratne <span dir="ltr"><<a href="mailto:madhura.cj@gmail.com" target="_blank">madhura.cj@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Sun, May 31, 2015 at 8:26 PM, Isaac Bennetch <span dir="ltr"><<a href="mailto:bennetch@gmail.com" target="_blank">bennetch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
Deven has done nice work on the print view[0] pull request but we've hit<br>
a bit of a grey area with regards to what to do with a view count. In<br>
the database structure page, in the standard "screen-based interface" we<br>
provide an approximate row count for a view and the user can click on<br>
the row count to get an exact number.<br>
<br>
With print view, we could handle this in a couple of ways, each of which<br>
has a tradeoff. I think these are the two that I find most appealing.<br>
<br>
1) We could only provide an approximate count. This is programmatically<br>
easiest and provides instant results, but might frustrate some users.<br>
<br>
2) We could provide an exact count, computed when the user presses the<br>
print button. We should probably display a dialog during the counting<br>
such as "Getting an exact count for views, the print dialog will appear<br>
once the MySQL server is done counting." A shortcoming is that the count<br>
would only be triggered by the "Print View" link, not when they use<br>
their print function of the browser. Users with many complex views may<br>
not care about an exact count and may want a quick print dialog, so we<br>
might need to provide yet another configuration directive about this.<br>
<br>
How does the rest of the team feel about this?<br>
<br>
0 - <a href="https://github.com/phpmyadmin/phpmyadmin/pull/1708" target="_blank">https://github.com/phpmyadmin/phpmyadmin/pull/1708</a><br>
<br><br></blockquote></span><div>I am fine with the first option. If a user wants to get the real counts, he/she can click on the links and then go for the print option, right? </div><div>Apart from this, may be we need a way to fetch real counts for all the views at once (for example, making total count clickable)</div></div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​The feature already exists in some inconsistent way. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The 'Total Rows' in 'information_schema' is clickable and gets all the real row counts.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">But in db like 'sakila', which has both tables and views, it is not clickable.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I created a new feature request related to this : [0]</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">and submitted a PR : [1]</div><br></div><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​[0] : <a href="https://sourceforge.net/p/phpmyadmin/feature-requests/1676/">https://sourceforge.net/p/phpmyadmin/feature-requests/1676/</a></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[1] : <a href="https://github.com/phpmyadmin/phpmyadmin/pull/1709">https://github.com/phpmyadmin/phpmyadmin/pull/1709</a>​</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span><font color="#888888"><div><br></div>-- <br><div>Thanks and Regards,<div><br></div><div>Madhura Jayaratne<br><div><br></div></div></div>
</font></span></div></div>
<br>------------------------------------------------------------------------------<br>
<br>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net" target="_blank">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><font face="trebuchet ms, sans-serif">Regards,</font></div><div><font face="trebuchet ms, sans-serif">Deven Bansod</font></div><span style="font-family:'arial narrow',sans-serif"><b></b></span><div><span style="font-family:'arial narrow',sans-serif"><b><a href="mailto:f2012316@pilani.bits-pilani.ac.in" target="_blank"></a></b></span></div></div></div></div></div>
</div></div>