<br><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 2:01 AM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ammar Yasir a écrit :<br>
<div class="im">><br>
><br>
> On Wed, Jul 27, 2011 at 10:22 PM, Ammar Yasir <<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a>>> wrote:<br>
><br>
><br>
><br>
>     On Wed, Jul 27, 2011 at 3:37 PM, Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a><br>
</div><div class="im">>     <mailto:<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>>> wrote:<br>
><br>
>         Ammar,<br>
>         With Firebug I had a look at the network traffic when I click a data<br>
>         point to edit it: I was surprised to see none.<br>
><br>
>         IMO this is not good: it means that all the columns for all rows<br>
>         are in<br>
>         memory, making the browser able to handle far less rows.<br>
><br>
>         Is there a reason why you are reading the complete rows to<br>
>         generate the<br>
>         plot? I expected that you would just read the necessary columns,<br>
>         then<br>
>         use AJAX to read a complete row when the user wants to edit it.<br>
><br>
>     I'm currently working on the edit feature for strings. I'll work on<br>
>     it after this.<br>
><br>
>         --<br>
><br>
> Implemented this and pushed to my repo. I only send the xField, yField<br>
> and dataLabel to the user now.<br>
<br>
</div>Ammar,<br>
you have reduced the amount of data transferred between the PHP level<br>
and the Javascript level, by sending less data in the querydata div.<br>
<br>
Can you also reduce what is transferred between the MySQL server and the<br>
web server, by avoiding to generate "SELECT *" in the query generation<br>
part, instead selecting only the needed columns?<br>
<br></blockquote><div>That would have been the ideal case but to generate the unique-condition( function PMA_getUniqueCondition($handle, $fields_cnt, $fields_meta, $row, $force_unique=false) ), I need the complete row. So I cannot do much about the query generation on the server side other than putting a limit on the number of rows retrieved.<br>
 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
--<br>
<div class="im">Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
<br>
------------------------------------------------------------------------------<br>
</div>BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA<br>
The must-attend event for mobile developers. Connect with experts.<br>
Get tools for creating Super Apps. See the latest technologies.<br>
Sessions, hands-on labs, demos & much more. Register early & save!<br>
<a href="http://p.sf.net/sfu/rim-blackberry-1" target="_blank">http://p.sf.net/sfu/rim-blackberry-1</a><br>
<div><div></div><div class="h5">_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">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>
</div></div></blockquote></div><br>