Which collection is best for storing millions of records?

Hi
I am retriving 30000 records from DataBase and store it into collections and then fetch the values from collections then display the values in JTable..
For the above scnario which collection framework is best..
Bcoz the records may be millions in future..
So it wont affect performance etc..
Thanks

Thanks for ur reply..
Before going to display in JTable, i need to store the datas in some collections.
Bcoz architecture is like that only.
i.e, Database routins are handled in seperate class and GUI components are handled in seperate class.
So i have to fetch from db and store it into collections and return the collections and then diplay the same in Swing GUI..
Any Idea?
Thanks

Similar Messages

  • How do I upload to Facebook in High Resolution using my iPhone. Do I need an app? Which ones are best for the job? (I know how to do it on a PC :) )

    How do I upload photos to Facebook in High Resolution using my iPhone. Do I need an app? Which ones are best for the job? (I know how to do it on a PC )

    100pat wrote:
    Thanks, I can do it fine from my Windows desktop PC, I just want to know how to do it from an iPhone4
    Like I said before ask facebook or look at their support site to see if that is even a feature.

  • Which browser is best for macbook pro?

    Which browser is best for macbook pro.
    I have used Safari for a couple of years but have been told recently that I would be better switching to Chrome

    The best browser for you depends on your specific needs; as you can install multiple browsers without them interfering with each other, download Firefox, Chrome, and any others you'd like to try out, and pick the one which works best for you.
    (82388)

  • In my scenario from r3 to CRM,IDOC for r3,which adapter is best for CRM

    from r3 to CRM which adapter is best for CRM for customer data

    Hi ,
    Some more info that might help you make a decision:
    CRM Middleware & XI
    Will SAP CRM Middleware be replaced by XI
    Regards
    Vijaya

  • Which PAYG is best for overseas calls, with a monthly contract? Thanks

    I will be living in the UK for a few months, which PAYG is best for overseas calls with a monthly contract (extended month by month)? Thanks

    Hi , Welcome to the EE Community! I'm not entirely sure if there's a 'perfect package' for this, but I found some information you may find helpful. Good luck,
    Titanium
    Was my post helpful? Please take 2 seconds to hit the 'Kudos' button below

  • Which book is best for learning Lightroom 5 for a complete beginner?

    I'm an Aperture user and as everyone has heard the news, a lot of us are considering switching over. I went through the Apple pro-training aperture, logic, and FCP books and loved the format of those. I've been reviewing my options for LR5 books on Amazon and I see a couple, Kelby, Evening, and The Adobe Classroom in a book. I kind of like the classroom in a book format as it resembles the Apple book's format. Which book is best for learning LR5, from a complete beginner's perspective?

    I would avoid Kelby like the plague. I didn't like his book, I felt his chapters on the Library module were effectively useless and off the mark.
    I would start with the free e-book Lightroom 5 - Free Quick Start Guide PDF eBook | The Lightroom Queen
    I would also watch some videos at Products | Lightroom | Adobe TV

  • Which macbook is best for automobile student?

    I am taking automobile engineering course & I need a laptop.. Please give me a right suggestion!
    Which macbook is best for automobile student?

    Any of the new MacBook Air or MacBook Pro models will do.  Check their features at Apple.com > Mac.  The Air and Pro models are now very close to each other with the Air a little less expensive and a little lighter (3 vs. 3.5 lbs.).  I would purchase 8 GB of RAM no matter which machine you buy.
    The question is how much permanent (SSD) storage do you need?  128 GB, 256 GB, more?  You need to decide this up front and you cannot increase it once it is delivered so choose carefully.  How much storage do you use on a current Mac or PC?  How much additional storage do you plan to use?
    If you undersize the SSD storage all is not lost.  You can offload seldom-used data onto an external hard drive.  However it is easier to manage the storage if it all fits on your system drive.
    Also check out refurbished Macs at http://store.apple.com/us/browse/home/specialdeals.  These come with the standard Apple one year warranty.

  • Which subscription is best for a non profit organization (with limited funds) who needs CC for 1 day a week for maybe 2 or 3 months?

    Which subscription is best for a non profit organization (with limited funds) who needs CC for 1 day a week for maybe 2 or 3 months?

    Hi sonnetje,
    Kindly go through Creative Cloud pricing and membership plans | Adobe Creative Cloud
    If you need it for 2-3 months please check of month-to-months plan as the Annual membership comes with a contact and there would be an early termination fee attached to it. which is 50% of the remaining months.
    For more info check the below mentioned link.
    Link : Cancel your membership or subscription | Creative Cloud
    Thanks,
    Atul Saini

  • Which headset work best for iPad Air

    Which headset work best for iPad Air

    This can be highly subjective. I would pick a few models that you think you'd like, then read the reviews at the Apple Store link that Diavonex directed you to. Also read the reviews on Amazon.com as well to get a feel for a few models and what kind of sound they can produce.
    Back to the "subjective" aspect I mentioned...when the Apple Ear Pods were released (they now come standard with all new iPhones), I had an iPhone 4 at the time and had the older headphones (the new Ear Pods were introduced/released with the iPhone 5). I heard great things about them and almost purchased a set when they went on sale as a stand-alone item but I decided not to. When I upgraded my phone to an iPhone 5, I got them included with the new phone. Great, I thought...well, after trying them, I hated them and I still do. They produce way too much bass for my personal taste and sound boomy. I much prefer the older model. It's just personal preference.
    Read the reviews and see if they describe how the headphones sound...boomy, tinny, clear, muddy, etc and try to match that to what your preference may be.

  • Which Mac is best for music purposes?  I want to mix music recorded from MIDI and live sound, and also want to use Sibelius to play music in.  I'm looking at MacBook Pros; any tips?  13" or 15"?

    Which Mac is best for music purposes?  I want to mix music recorded from MIDI and live sound, and also want to use Sibelius to play music in.  I'm looking at MacBook Pros; any tips?  13" or 15"?

    I would think a 15" with the i7 CPU. You can get a 13" with the i7 CPU but the 15" has a dedicated graphic chip along with the intergrated one.
    You will also need to upgrade the hard drive to a faster 7200RPM model instead of the standard 5400RPM model that comes with all MBPs. The Sibelius website recommends the 7200RPM or a SSD. You will also be better off installing 8GBs of RAM.
    Both of those upgrades can be made after you buy a MBP for much less then Apple charges for the same upgrades and you get to keep the original RAM and hard drive.

  • *Pls Help* Which macbook is best for me; 13" or 15"?

    I have always been anti Apple but after my first iphone (4s) I have decided to get an Iphone 6 and a MacBook Pro. I am an accountancy student, I understand I would have to buy the sage and Microsoft softwares separately for it but apart from doing my accountancy work on it, I would like to use my spare time to make videos to post on YouTube, make DJ mixes using Traktor, make beats on it using Fruity Loops, record songs and manage some online business such as eBay - these that I have just listed are my main priorities on the macbook. I would of course watch videos and play games on it too but not so much. So mainly for education and media purposes for a starter which would be best for myself? The 13" retina or the 15" retina? My friend is a professional DJ and advised me that he does all his DJing on his 13" macbook, he thinks the 15" isnt necessary and is a waste of money. Can someone please help me in making this decision?
    Many Thanks!!
    Sujon Miah

    It depends on what you really want.  Personally I have the 13 inch. But the nice thing about the 15 inch is it has two speakers. If the size really doesn't matter then I would say go with the 13 inch because its more cost effective

  • Which imac is best for my daughter? 2.7 or 2.9 ghz

    MY daughter is going to study A level moving image at college, before going onto university. My wife and I are computer novices, so would like some advice. We are looking at the 21.5 imac either 2.7 or 2.9ghz, is there much difference between the two in terms of speed.
    Also the options we are looking at are 16gb memory and 256gb flash drive (over the 1tb fusion dr). We will be getting preinstalled Final cut pro x and aperture. Will this set up be enough to comfortably run the programs?, or should i get a 8gb memory and 512gb flash drive. The mac would be used for photo and video editing, internet, college work etc.
    THe only other difference between the two (2.7 or 2.9ghz models) is the 2.9 comes with a NVIDIA Geforce GT780m with 1GB video memory, which i presume is a graphics card, is this worth having if not into gaming?, would it be useful when running Final cut and video editing?
    Any advice  would be most grateful, as its quite a financial outlay, and we know next to nothing about imacs or computers

    For graphic arts and film editing I’d recommend the 27” iMac with 16GB or 32GB of RAM. The 27” display makes editing much more enjoyable than the smaller display and the RAM can be upgraded at a later date. The 21.5” iMac cannot be upgraded at all. For film and graphic editing 16GB should be plenty now. I don’t recommend less than 16GB. A 256GB SSD should be sufficient for school work, projects, some music etc. I also recommend a 1TB USB 3 hard drive for backing up the computer using TimeMachine.
    Further, at some point your daughter will probably begin creating larger projects and her raw footage and extra files won’t fit on the internal drive and/or the rendered project won’t fit. This isn’t likely to happen in the first year (but might). At that point you’ll want to add a 1-3GB ThunderBolt hard drive. ThunderBolt drives send and accept data differently than USB drives which make them better for movie and sound recording projects. USB 3 is perfectly fine for backing up.
    The increased speed of the i7 processor and video card are real but really not as important as RAM and hard drive.

  • Which external is best for MacBook Pro?

    Which external hard drive is best for a MacBook Pro?

    Any brand name is as good as the next.

  • In sql server 2012 or 2014 which one is best for production enviornment

    Dear All,
    right now we are using sql server 2008 r2 we want to upgrade our production  servers to latest versions.
    i wnat to know which one is best in sql server 2012 & 2014.
    Thanks in Advance!!!

    Dear All,
    right now we are using sql server 2008 r2 we want to upgrade our production  servers to latest versions.
    i wnat to know which one is best in sql server 2012 & 2014.
    Thanks in Advance!!!
    I will not qualify it as best. Best depends on your requirement. 2008 r2 is much cheaper than SS2012 and SS2014. First make sure what all features you need in your new environment. Please read below link for features supported by various editions of SQL
    server
    http://msdn.microsoft.com/en-us/library/cc645993.aspx
    If you think 2012/2014 fits in your requirement well then go ahead.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Which is better datatype for storing Images in 11gr2 Database ?

    Can anyone tell me which datatype should be maintained for storing images in database in terms of
    1. Space
    2. Speed.
    And, Is there another way for storing images instead of database ?
    Thanks/Regards in advacne.

    982164 wrote:
    Which one have better speed, database system or file system ?Database is better all around. It is not just a question of speed. It is a question of storage, security, flexibility, scalability, robustness and so on.
    If you use ASM and raw devices from a storage array or SAN, how do you get o/s files onto that? (requires a file system on the SAN/array LUNs)
    If it is inside the database, database security, concurrency and consistency apply to the image. Outside the database? How do you control who has access? Prevent someone with slippery fingers from accidentally deleting/renaming/moving images files? How do you backup up the image data with the image attribute data in the database?
    Having all this inside the database, part of the database, managed by the database, provides you with more flexibility, robustness, and security. After all a RDBMS is a data management system - it is designed for managing data. And that includes managing binary data.
    As for speed. Reading a 24MB image is reading 24MB worth of data. Whether that data is read by process A from disk1, or process B from disk2 - the amount of data is the same. So if you want faster I/O, then use faster disks. If disk1 is faster, process A will perform better reading the image than process B. If disk2 is faster, the roles are reversed.
    So I/O speed is not a direct function of process A or process B. It is a direct function of the I/O storage and fabric layer. Yes, a process's method of I/O can make a difference (e.g. using block reads not aligned with the physical blocks on disk). But this is more a configuration issue than process doing badly designed I/O calls.
    So the speed question is a bit loaded as it has more to do with the architecture and design of the I/O system - and less to do with the process doing that I/O. You can have a highly optimised I/O process doing poorly using an old and slow I/O layer, and poorly written I/O process doing pretty well on a SSD I/O layer.
    Databases like Oracle is designed for dealing with data - and thus effectively dealing with I/O. Lots of it. For lots of data. So I/O process design is not a consideration. The database processes will use the I/O layer as optimally as possible and as configured.

Maybe you are looking for

  • How can I downgrade 10.7 to 10.6 without an optical drive?

    I got a mac mini with Lion on it. It's not compatible with certain software I have to have on it. I need to downgrade it to 10.6 but it has no optical drive. When I use an external drive, I can't boot from the disc. I've made a .dmg of the file on a

  • Recording vinyl records to computer using the Imic

    Has anyone used the IMIC to transfer vinyl records to their computer in order to convert the music to a CD? I have seen mixed reviews on the IMIC and would like to know what other people think. I also would like to know what else is needed to make th

  • Playing music while lid is closed.

    While moving, I usually close the lid, but sometimes I want to listen to music on my headphones while doing that. However, the Macbook doesn't let me do that ... I know HPs do since the laptop model that crapped out on me 3 times let me do that. Is i

  • Sys package invalid !!!

    hey gurus i'm facing a starnge problem , it's showing all packages of sys schema as in valid . i try to run exec dbms_stats.export_schema_stats('SCHEMANAME', 'STATS_BKP_SCHEMA', sysdate, 'PRODD'); ORA-06502: PL/SQL: numeric or value error ORA-06512:

  • Help. WRT54G IP Address issues

    Can't get computer to find router. Can't get online through router to get to setup page. Setup disc error message "unable to connect to router......".