How big can a mySQL db be before performance degradation?

Hi there,
I have a Flex app that accesses a mySQL database via PHP built using the Flex Builder wizard. It works fine but I have some questions about how big the database can be before the loading of tables begins to bog down the application too much.
Basically the way it works, as learned by David Gassner's Flex Bible and other sources, is that when my Flex app launches, it loads all the tables in the entire database into the Flex app.
Then, the different bits of information are displayed based on filter functions. Each user that logs in has different amounts of their own personal information that can be viewed and updated.
The thing is, based on the way it's built, ALL information in the entire database is loaded into Flex, then it's filtered based on which user has logged in. This works fine really, but I have one table in that database that has grown to about 20,000 rows of really simple text-based information. According to phpMyAdmin that table's usage is 1,971.1 KiB, which is what, almost 2 MB?
The thing I'm concerned about is as this mySQL database grows, the loading of my Flex app's data upon launch will become so slow for everyone because it may get so big. Is this a feasible concern? How big have your SQL databases been?
Is it possible in Flex to somehow filter the data on the server first from mySQL, then load only the required data up? So that users that have very little data in their account don't have to wait for the entire mySQL database to load first?
Any advice about this is greatly appreciated.

Thanks, that makes sense.
I know how to pass a variable from Flex to a PHP script. Is there anyone that can help me modify the canned Flex PHP Wizard script for "Find All" so that it simply takes my "where" variable that I pass to it and returns only the data that fits it. Just like this:
SELECT *
FROM `myTable`
WHERE `variable_id` =7
Currently the generated Flex Builder PHP just gets everything in the entire database but I'm not a PHP wiz and I can imagine that the canned PHP script can be easily modified to accept my variable and then run the query as usual.
Any help would be appreciated and I would be willing to pay someone to help me on this one.
Thanks

Similar Messages

  • How big can a word document be before Pages (iPad1) crashes?

    I have an iPad1 and was thinking of using it for some quick edits. Since my MacBook struggles a bit with some of my larger word documents, I wondered how the iPad would fare. I don't want to waste the $10 on Pages if it isn't going to work for me. My documents tend to be 100-400 pages, with TOC's, indices, tables, and figures spread through out. The file sizes (of .doc and .docx files) range from 2MB-12MB. Is the idea of editing these documents on an iPad just a dream?

    There is no fixed limit on what Pages for iPad can handle and 2-15 MB is doable.
    That said, 100-400 pages is not a "consumer" level document.  Thats a very large document.  If Word on a full blown computer is having issues with your documents then Pages on a Mobile device may struggle.
    Pages may run slowly with that number of pages and complexity you indicate.  Embeded graphics take more of a tole than simple text.  In addition it may not preserve some of the unique formatting you might have from Word.
    It might be wise to take an example document to an Apple Retail store or Best Buy and load it on one of their iPads and see what it does.
    Cheers.

  • I was wondering, once the 1gb free data is applied to the account, can you downgrade your plan?  If so, how low can you drop the data before the promo is affected?

    I was wondering, once the 1gb free data is applied to the account, can you downgrade your plan?  If so, how low can you drop the data before the promo is affected?

    I beleive you have to keep your PAID data of at least 1gb

  • I just bought and installed the Adobe Illustrator. I would like to know how long can I use the product before an extension is needed?

    I just bought and installed the Adobe Illustrator. I would like to know how long can I use the product before an extension is needed?  And on how many computers can I install this product? Thanks.

    What version exactly did you buy? If you bought CS6, then the license is perpetual and doesn't need any extension. If you bought CC, then you need to renew your plan every year. You can install each Adobe software on 2 machines with a single license for non-concurrent use.
    Mylenium

  • How low can ipad mini battery go before it needs to be charged?

    How low can an ipad mini's battery go before It should be charged? I just received this for Christmas and want to make sure I take care of it properly. Thanks

    Start with this and see of it will start up. Unplug it from the charger before you do this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. See if the iPad starts up.

  • Prototyping - How Big Can You Go?

    I'm currently building a Prototype and have about 25 pages - the Fireworks file is around 1.3MB and is all vectors and text, yet it brings Fireworks to its knees when I open the file to work on it??
    I've got a Intel Core 2 Duo 2.66GHZ processor running Vista SP1, 4GB RAM and loads of disc space.
    Was hoping to build another prototype soon with 100+ pages but am concerned it wont be able to handle it?
    How big are your prototypes guys and gals??

    It looks like you could take more advantage of using symbols for a lot of your common vector shapes. That will cut down on processing power because you're really only working with one shape.
    You have several pages which contain identical content in the same physical areas (menu pages for example) If you had separate layers for content, you could share the layers containing identical content over specific pages, again cutting down on graphic overhead.
    The drop down symbol you're using should have its own built in label, which can be customized for each instance of the symbol. For some reason, your version isn't working. The whole Rich Symbol concept is  - to be polite  - busted, but I'm sure one of the drop down menu symbols should allow you to add labels via the Symbol properties panel, rather than having to add a text object on top like you've done.
    I am not sure how much of an improvement you'll get, if you build new wireframes based on these suggestions, but when I've asked, there is no official limit to the the number of pages that can be created. Master pages, shared layers, symbols and excluding high-res bitmaps (not an issue in your case) should all help to improve performance and keep the file more manageable.
    I do suggest though, if you're finding FW very sluggish, to save often.
    HTH
    Jim Babbage
    NewMedia Services 
    http://www.newmediaservices.ca
    Community MX Partner -
    http://www.communitymx.com/author.cfm?cid=1036
    Adobe Community Professional
    http://www.adobe.com/communities/experts/members/206.html
    Author - Lynda.com
    http://movielibrary.lynda.com/authors/author/?aid=188
    Author: Peachpit Press
    http://www.peachpit.com/store/product.aspx?isbn=0321562879

  • Notes - how big can you go?

    How big of a text file can I put in the notes folder? Could I put a short story or a book on it? Or will it only do a few paragraphs?

    Use Book2Pod to put notes longer than 1000 characters (I think the limit) on your iPod. Works like a charm.
    http://www.tomsci.com/book2pod/

  • This is my first post. I would like to thank you all for all of the information you have posted on this forum. It has been most helpful to a Newbee. I have a MBP17 w/trackpad and click bar from '08. I need a bigger HD, how big can I go? THX

    This is my first post, but I have been following this forum for a while and you have all been very helpful in my MacEducation. I have a MBP17 10.6.8 w/6GB ram from '08. I need to upgrade my HD from 200GB. I would like to go as big as I can and would appreciate any experiance you've had. Could I go 750GB or 500 GB @ 7200 rpm.  Should I upgrade to Lion before I swap the drive out?  Thanks, Johnny

    Hi Johnny,
    Yes you can do the 750 or 500, 5400 or 7200. Just make sure it is 2.5" SATA and 12.5mm high or less (there is at least one HD out there that is 15mm high and will not work).
    Lion: I don't know that it matters much either way, just don't do them at the same time. That way, if there are issues, you have a much better chance of troubleshooting one major change instead of two.

  • New HD - How big can I go..

    Hard drive on my DV7-1426 took a dive. No warranty from WD cause it is an OEM. What ever...
    Is what I need to know is how large of a new HD will this laptop handle? Current one is 500G but not a lot of difference in price to go twice the size if it can accept it.
    Any help would be appreciated. PS. No guessing... need to know for sure.
    Thanks

    Hi:
    Please see this related post below.
    http://h30434.www3.hp.com/t5/Other-Notebook-PC-Questions/dv7-3173nr-Max-hard-drive-size/m-p/543019#M...
    Now, I personally disagree that 500 GB is the max you can go to.
    However the only way you can go to a 1 TB is if the drive has the same physical dimensions as the 500 GB one you removed.
    Problem being...many 1 TB drives are thicker than the 500 GB drives.
    So, if you can find one that is the same thickness as yours, you can install a 1 TB drive with no problems.
    I think (but I am not 100% positive) that a 750 GB drive is the same thickness as a 500 GB one.
    Just see if you can get the physical dimensions of the drive you are interested in and compare them to yours.
    Needless to say, if the drive is too thick, the connectors won't match up because it will be too big for the drive bay.
    That to me, is the only factor which would prevent you from going to a 1 TB drive.
    I would not exceed that size, then you may run into issues with compatibility other than physical dimensions.
    Paul

  • On Android, how big can PDF be for reading?

    I have Samsung Galaxy s4 mini, Android 4.4.2.  I have a PDF file that's about 400 pages and 2.6 Meg.  I'm thinking that it could be big for reading on the Android -- that moving around in the file may be cumbersome due to its size.  (I haven't tried it yet.)  I think I've opened smaller PDF files before without having a separate app.  If I do it that same way, how will the system handle the big file?
    1-Should I break the file up into smaller files (which I could do on my desktop computer and then put them on the Android)?
    2- Should I use a separately downloaded Adobe App to handle the file on the Android?
    Thanks

    [topic moved to Android subforum]

  • How big can you create an Image?

    Hi,
    I am trying to create a scrollable horizontal tree view using ScrollPane with a child Canvas.
    If I draw straight on to the canvas I get that awful flickering. If I create an offscreen Image and draw to it, if the image is bigger than 10000 by 10000 I get an out of memory exception. eg buffImage = this.createImage(10000, 10000);
    Is there a way of increasing the JVM memory for IE5 - or is this not the question I should be asking? Should I be asking how do I create big offscreen Images?
    Any help is much appreciated
    Rich W

    No need to increase the offscreen image!
    Let the offscreen image be the size of the the ScrollPane.
    Then, when painting to the offscreen image, adjust everything you paint for x, and y (leting the top left corner of the image not be the top left corner of the tree, but the top left corner of the viewable part of the tree). And when you scroll you paint your offscreen image to the viewable part of the canvas (not at 0,0 but at some x,y according to current scroll position). You dont need a huge Image for painting on nonviewable parts of the canvas. Even if you could get the resources needed, it would be a waste !
    Ragnvald Barth
    Software engineer

  • How big can a password protected sparse image be ?

    I'd like to make a sparse image fit on a 3tB external USB 2.0 WD drive (I haven't bought it yet), can I make
    one that's as big as 3tB ? (or close to it ?).
    I'm backing up a drive with lots of information on it and it's going to stay at work as an
    offsite backup..
    Or is there a good way to PW protect such a big drive ?

    With a single sparse image (not FV, which uses bands, but still quite risky) it's an all your eggs in one basket thing. Especially with a sparse image that large, if there's any file contamination, the whole thing goes bad and you lose it all. As Linc said, "as long as it's not your only backup." I woudn't trust it. Not only that, but the technology of a 3TB drive, itself, may not be that stable. You are looking at two layers of potential instability.

  • Desktop File in OS 9, How Big Can It Be?

    Based on my early Mac experiences with OS 7 and 8, I've always believed that it was not a good idea to have large files stored on the desktop. I was taught to always use a desktop alias for a large folder or file. That probably made some sense in OS 7 and maybe even OS 8, but does it hold true for OS 9?
    I ask because I recently was cleaning up my friend's Sawtooth G4 and noticed that he had parked a 2 GB folder or photos on his desktop. I cautioned him that that may be why his screen paints so slowly on startup/restart, even after rebuilding the desktop. Since then I've been giving this more thought and I can't seem to find a real reason why he shouldn't just keep his 2 GBs of photos on his desktop.
    Advice and comment please.
    Thanks,
    Carl B.

    Hi, Carl -
    The desktop file has very little to do with the Desktop, in spite of the similarity of names. Placing an item on the Desktop does not expand the desktop file.
    • The Desktop -
    The Desktop is actually an invisible, always open folder; every volume (in OS 9 and earlier) has its own Desktop folder.
    The Desktop is considered a shared area, but it's better to imagine it as a stack of separate invisible and transparent desktop folders, all open at the same time.
    Every mounted volume (disk or partition) has its own layer in that stack.
    By default, when something is saved to the Desktop, or Option-copied there from a volume, it is placed on the Desktop layer belonging to the current boot volume.
    If your folders are in a layer belonging to another volume, then when you drag the item from the Desktop into one of those folders it will be copied into it, not just moved - same as if you had dragged an item directly from one volume to another - with the original left behind.
    • The desktop file -
    There are two invisible database files, Desktop DB and Desktop DF, that Finder maintains; these are used by Finder to keep track of where files are, what program any given file type should be linked to, where those programs are, and what icon to apply to each file - in the case of files with custom icons, it often keeps a copy of those icons in those desktop files, too.
    Ages ago there was just one such invisible desktop file; in more modern OS's, there are now two. But, by tradition, we refer to both the files, collectively, as the desktop file, or simply, the desktop.
    Sometimes the desktop file gets out of kilter, out of sync with reality, and Finder gets confused, not being able to locate what it needs quickly enough. Often this status results in generic icons being displayed for programs and their files, and Finder can no longer link an app's documents with the app. In bad cases, it can affect the basic operation of the OS itself.
    The basic maintenance to do then is to rebuild the desktop - have Finder confirm, relearn, and refresh the information in the databases. There is a built-in command mechanism to instruct Finder to do that - at startup, hold down the Command and Option keys, keep them held down until a splash screen appears asking if we really do want the desktop rebuilt - clicking "okay" is the normal response, unless we've changed our mind (or have more than one hard drive, and just want to rebuild the desktop on one of them). It takes a few minutes to complete the rebuild.
    <hr>
    Although moving an item to the Desktop does not affect the size of desktop file, it can slow down Finder redraws of the Desktop. Whenever Finder needs to redraw any portion of the Desktop, it must research each item that is on the Desktop - this causes Finder to go to the desktop file to find out if that item needs a custom icon, and, if so, which to use.
    So, additional items on the Desktop can slow down a Finder redraw simply by being there; and more so if the desktop file itself is overly bloated (Finder has to look through more stuff to find what it needs).
    Rebuilding the desktop file can be part of the solution.
    <hr>
    Other things which can slow down Finder -
    • If a picture is not displayed on the Desktop, open the Appearance control panel, go to the Desktop tab - if the Remove Picture button is active, click it. Doing this cures a situation where there was once a picture displayed on the Desktop, but the picture itself was removed at one point without changing the setting in Appearance control panel. Appearance keeps looking for that non-existent picture on each redraw of the Desktop, which takes time.
    • Check in the Recent Servers folder in the Apple menu, and the Servers folder in the System Folder - trash any aliases you find there. Likewise, get rid of any unneeded aliases or items in the Startup Items folder in System Folder.
    • Having an alias to a hard drive in the Apple menu, though certainly convenient, slows down startup while the OS builds a hierarchical menu for it.
    • If you're networked and use File Sharing, there can be a delay caused by the Mac reconnecting to shared items (drives and volumes) which it has been told to do so at startup. If the machine is not networked, disable File Sharing (control panel and related extensions).
    • http://discussions.apple.com/thread.jspa?threadID=121946

  • How/What can we monitor in DB02 for performance testing?

    We are conducting a performance test/load before golive of HCM in SAP.
    I am looking at DB02 but have NO idea of what to monitor for? there is so MUCH
    Any suggestions, would certainly be appreciated asap
    Thank you so much!
    maria

    Well, rather than trying to explain in the forum, I suggest you download the document "The SAP DBA Cockpit for Microsoft SQL Server" from:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1062428c-f1df-2910-b08f-c322feddcd10?quicklink=index&overridelayout=true
    This will explain everything you need to know about DB02 transaction for MS SQL server. You can read through it find out what all monitoring can be done.
    You can check the following Areas:
    Performance (ST04)
    Space (DB02)
    Configuration = Some ST04 detail screens plus new ones
    Diagnostics = Some ST04 and DB02 detail screens plus new ones
    Frankly, Space and performance are the main areas.
    Refer to the guide and this should solve all your doubts.
    Regards,
    Shitij

  • How deep can a package be? any performance issue?

    Hi experts,
    Is there any performance issue if I create deep path to a class for the sake of a well organized classes?
    com.mycompany.mydivision.projectA.forms.news.headlines;
    com.mycompany.mydivision.projectA.forms.news.events;
    com.mycompany.mydivision.projectA.dao.calendar.events;
    or
    a.b.c.d.e.f.g.h.i.j.k.l;??????
    any reading materials on this?
    Thanks

    I don't know what the limit on deepness is, but there shouldn't be any performance issues. All the classes are loaded when your program starts, so the JVM doesn't need to traverse through all those directories each time you reference one of the classes.

Maybe you are looking for