A lot of data - what to do?
Okay, so I need to have about 200 points of information stored in my application for use at any time, and I wonder what would be smarter?
Store the paragraphs in SQLite? Hard-code or paragraphs into variables in the application?
This information will NOT be used in the equations and will be used at the same time 1.
With a more complex structure, I would strongly consider storage and analysis of data in XML format instead, but it's not hard to do with a string either. Just do an outer loop during the first split() and on each piece split() another with a second separator to get the individual items within each "chunk".
I would say that something beyond a single level of nesting certainly would justify XML or something like that. (I would look at JSON too at this point.)
Tags: BlackBerry Developers
Similar Questions
-
Thank you for contact I can not access my ipad air disable I try to reboot same issue pleas help me I have a lot of data in the air from my ipad
Here you will find a way how to activate your iPad If you have forgotten the password for your iPhone, iPad, or iPod touch or your device is disabled - Apple supports
-
Whenever I have to connect on Firefox I get message saying that I am not on the current version, but I am. -Version 30.0 'up-to-date' what's the deal?
What is your homepage in Firefox that it may seem like the old start page for Firefox by Google because it has the message "you are not on the latest version of Firefox. Update today to get the best of the Web! "under the search field.
Google did not maintain this homepage from Firefox 4.0 came out as it was on: House since.
-
Hello!
I have a list control that has started having a lot of data and images as well.
Now, I think about how optimize this.
I think maybe make pages instead of vertical scrolling, there now.
Ideas or expericed with this stuff?
Thank you!
Hello
The best way is to use virtuallayout which means that displayed the renderers are reused, this speeds up the process of scrolling. you could also add "toolbar" pageup/pagedown/beginning/end of navigation.
Images are retrieved to the data request or as required (i.e. you have a link in the data that calls the images that the element is rendered)?
David
-
I hava the key which has a lot of data, how can I led all data
In the database for duplicates, I hava the key which has a lot of data, how can I remove all the data.such as I hava key: aaa, but the data has three: 123, 234, 456, how I can del the 123,234,456, I used the cursor to del (Cursor.delete ()), but I can only led the first have: 123 and used the cursor.count method) , I find the method return 2 for me. and my question is how to remove the two remained. Thank you allAfter calling Cursor.delete, call Cursor.getNextDup to move to the next double, then call Cursor.delete again and repeat.
-mark
-
Hello
I would like to know if I use the SSD drive for the operating system boot and a hard drive for data. What will be the benefit of this effect,
I know that SSDS starts much more quickly and reads and writes data faster.
When I use the SSD for OS then my only wil advantage so I have faster from the OS, not more than
but the reading and writing data wil either by the hard drive so I wil not use all the benefits of the SSD, data wil be read and written by hard drive!
Am I right or wrong?
Johan
SSD benefits for most of the time of loading, and it is for all software. If you install Windows on a SSD and return to a HARD drive after a few weeks you will certainly appreciate the value of an SSD, just for the
only the loading.
While startup in Windows is the most obvious, the Windows advantage is usually a bit snappier
on an SSD.
An SSD expected to also help in many programs such as Photoshop, video editing, the processing speeds
or CAD, due to data being created during the writing of these programs.
I think the reads and writes more visible with large files.
All my programs are on the SSD, but my games are on the HARD disk.
Games to load a large number of data and will load faster on an SSD, but it's still a few seconds.
and as games use a lot of Go, it is not really profitable to keep (150 +) on an SSD.
-J' I keep most of my data, except the music (to save space) in my user folder, but haven't really
noticed a difference in speed when opening a data file, such as a Word, PDF, images, or similar
'small' files from the HARD drive.
-I wouldn't take an SSD less 120 GB. Try to run Windows on a 60GB translate toostuffing autour with management of data between the SSD and HDD. In particular, as it should be
keep 20% an SSD free to allow the two "garbage collection" and deliver a load of
cells of extra memory to extend the life of the DSS (data gets moved to empty cells when the cells die).
There is also a noticeable difference between the speeds of SATA2 and SATA 3 controller, so if your motherboard uses the SATA2 more the advantage of an SSD is not as great as with SATA3.
In addition, the new SATA3 SSD controllers are faster than those of two years ago.
SSD is a big enough topic. There are many items in the wild that may be useful.
.
-
Hi, I made a bunch of supposed to upgrade and get rid of the incompatible add ons, etc., now that I've lost my progress bar data and there's a box boring biggish, in the lower left corner, my computer describing every piece of data is zoom through what it gets on a site, also my give mouse a small preview box as I put it in a word or icon on a page, these are trouble connected, I got rid of a google toolbar perfectly good said ubantu wasn't compat.perhaps it is giving me the data of icons bar? I tried everything, someone has an idea? Thank you, Lisa
You can use this extension to retrieve the status bar or hide the pop-up at the bottom of the browser window that displays the status and URL messages if you hover over a link.
-
Hello
Just today, I noticed that my iPhone 6s was download continuously at the speed of the network via WiFi only when is plugged in the wall charger or the USB loader on the computer. As soon as I stop charging the phone, the download stops. I have no idea what download and I'm a little frustrated because my connection high speed/wireless home is capped.
Sync to iTunes on WiFi and iCloud backups are disabled. I had subscribed to 9.3.2 iOS beta on the registration by registering with my Apple ID last week, but I haven't added the certificate so that it can download OTA or via iTunes. I have no update available on my Apple store as well.
I noticed the slowdown on my cause of internet connection of desktop computers that my phone of summer download something on wifi while he is in charge and I also saw the use of the network by using "System Monitor" app on the App store.
Kindly help me to solve this problem.
Thank you
I did a factory reset on by phone by "Erase all content and data" and chose to set up as a "new iPhone" after reset done. There are now only apple applications on the phone, I connected to wifi with the charger plugged and the problem persists. I wonder if it was to be an apple iOS update, I am on iOS 9.3.1 and 9.3.2 is still in beta, I'm not sure if there is an apple update going on in the background.
Kindly help.
-
Initialize the cluster with data types different (lots of data)
Hello
I have data, which are composed of different data types. First of all, I have initialize cluster with these types of data and then "print" to light (photo). In case of photo data carries 8 characters than ja 4 floats. It was easy to initialize, but here's the question: How can I do this even if I have data that look like this (interpreter):
floating point number
name char [32]
Short value [16]
What I create loooong cluster which have a fleet of 32 characters, 16 short films? Or I can create these 'paintings' in a different way?
THX once again
-Aa-
I suggest using the table-cluster and configuration of the cluster size to match the size of your berries, then package these groups together. In terms of storage of LabVIEW, there is no difference between a group of
floating point number
Name1 tank
name2 tank
...
short value1
short value2
...
and a bunch of
floating point number
-> cluster shipped from
Name1 tank
name2 tank
...
-> cluster shipped from
short value1
short value2
So you can use the cluster table to get the right sizes rather than individually create all these values in a single giant cluster.
-
Use of data: what-2010 meen?
Hello
What does admission - 2010? Someone has an idea to remove it?
No, I'm afraid I don't know what it is but it's not like he used all the data.
In looking at code.google.com I see he is reported as a problem here: https://code.google.com/p/android/issues/detail?id=79743
What do you see when you type?
-
BlackBerry Smartphones 'Globe' notification below the date - what is it?
I'm used to see notifications when I have a new text message, below the date on my storm, where an envelope appears with a small red asterisk and a 1 next to it, however yesterday a small globe (it is yellow and resembles the icon of the browser) is showed up with a 1 next to him, I looked through the menu but sees nothing - what is it someone has an idea?
It is a search for saved browser. Go in your messages, and that the view and click the BB button (menu) file look in messages from the browser and you should find it select and delete.
-
How to improve the only table has full table scan with a lot of data and without PK
Hello world...
I have YOUR table...
CREATE YOUR TABLE
(
EMPLOYEE_NUMBER VARCHAR2 (30 BYTE) NOT NULL,
ATT_DATE DATE NOT NULL,
DATE OF DATE_TIME_IN,
DATE OF DATE_TIME_OUT,
NUMBER OF DELAY_MINUTES
NUMBER OF EARLY_EXIT_MINUTES
STATUS VARCHAR2 (20 BYTE)
)
This table contains a primary key and no clue on this subject. and coontain around 600 000 recoed.
query this table take about 5 mintes with full table scan
Select * from your.
I create indexes on Employee_No and atta_date, although there is a constarin for bith of them is not zero, but they have a duplciate value...
But even thogh the table always do full table scan...
BRThanks for the stats...
Well, your statistics on that table are updated.
The volume taken by the table is consistent with the number of lines you have and the average space taken by each activity.what I propose (this is not a 'query' problem since you decide to read the ENTIRE contents of the table and you are not satisfied with the performance):
-Try this query in parallel (maybe your server will not parallelize it):select /*+ PARALLEL(x) */ * from ta x
- or check what are the events of theses/wait (probably the disk IO rate or the network)
REM: As SY compression could be an option to go in his direction, I repeat:
"change the type data number EMPLOYEE_NUMBER" instead of varchar2 (rebuild the table) in a way you will earn enough space (bytes/line) VS the actual duration of each lines.
Another way to reduce the space and If you insert / select in this table is finally reduce the PCTFREE, but beware the danger of this is that you will lose all the benefit if this table is updated or deleted. (it may not be the case today, but it could be in the future!)Published by: user11268895 on July 18, 2010 16:15
-
records_per_block: can be set when the table has a lot of data?
Hello
We have a partition table with a length of middle line of 7K, and there are a lot of the line string. The score is based on the date, old partition will be truncated and reused later. I'm trying to find a way to limit the rows by block 1 (pct_free is another way, but is not reliable), it looks like records_per_block is a parameter that could be defined at the table level. But unfortunately, my test shows that the use of records_per_block, the table must be an empty table and insert a row inside and then set records_per_block, otherwise records_per_block will be ignored. Is there a solution?
SQL> create table t_11 as select rownum a, rpad('x',100,'x') b from dual connect by rownum<100; Table created SQL> delete t_11 where a<65; 64 rows deleted SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER( COUNT(*) ------------------------------ ---------- 121354 2 121355 33 SQL> alter table t_11 minimize records_per_block; Table altered SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER( COUNT(*) ------------------------------ ---------- 121354 2 121355 33 SQL> insert into t_11 select * from t_11 where rownum<100; 35 rows inserted SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER( COUNT(*) ------------------------------ ---------- 121354 37 121355 33
A solution that is not quite perfect - alter table XXX pctfree, pctused 99 1.
Unless your beginning of lines off incredibly short it will probably limit you to one line per block for the future DML.As a guideline for "ranks shortcuts" (and this may vary slightly depending on whether you use SAMS or not):
SQL> insert into t1 values(rpad('x',42)); 1 row created. SQL> insert into t1 values(rpad('x',1)); 1 row created. SQL> select rowid from t1; ROWID ------------------ AAAY2bAAFAAAA4KAAA AAAY2bAAFAAAA4LAAA
Your analysis of the rows_per_block is not quite right — but the critical point is correct, it is very difficult to get the recorded "records per block" reduced once you have data in place. Here is an improved version of your test cut-n-pasted from a SQL * Plus term in 10.2.0.3:
SQL> @temp SQL> set echo on SQL> SQL> drop table t_11; Table dropped. SQL> SQL> create table t_11 as select rownum a, rpad('x',100,'x') b from dual connect by rownum<100; Table created. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5642 66 5643 33 2 rows selected. SQL> SQL> delete t_11 where a between 31 and 70; 40 rows deleted. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5642 30 5643 29 2 rows selected. SQL> SQL> alter table t_11 minimize records_per_block; Table altered. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number (rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5642 30 5643 29 2 rows selected. SQL> SQL> insert into t_11 select * from t_11 where rownum<100; 59 rows created. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5644 33 5642 33 5643 33 5645 19 4 rows selected. SQL> spool off
I delete the last lines 36 to one block and the first 4 lines on the other. For this reason, Oracle is capable (on the block drain plug) to reduce the size of the + 'line directory' + in the first block by removing the pointers 'empty' to the end of the book - but it cannot eliminate all entries in the directory of the line of the second block because the "empty" pointers are not at the end of the directory.
Code to determine the limit on the number of lines per block looks like the size of the largest directory online - not the current number of rows in the block.
In my example, the largest directory of line is 33 because the last 34 entries have been pruned at the end; in your example, the largest directory of line was still 67 because your deletion had left two rows at the end of the directory.
Concerning
Jonathan Lewis
http://jonathanlewis.WordPress.com
http://www.jlcomp.demon.co.UK"Science is more than a body of knowledge; It's a way of thinking. "
Carl Sagan -
VLC Plugin Out of Date: what should I do?
Today when I checked my plugins, I was told that he had to update my VLC Multimedia plugin.
When I clicked on the button update now, I was taken in the usual page of download blah blah blah everything.
What I would like to know these things are:
(1) what is this plugin for?
(2) it would be in conflict with other media players such as Flash, Java, etc.
(3) it is even useful to load/download in the first place?The plugin comes from the VLC media player you have installed.
the current version is 2.2.0 as you 2.1.3
http://www.videolan.org/VLC/download-Windows.html -
my CD-ROM drive is corupt but to date what do ido?
Device Manager indicates the cd-rom drive is corupped or missing. (code 39) when I try to update the message says that it is up-to-date. the cd/dvd drive does not even until computer under any more.
Hello
Try the procedure described in the following article:
"Your CD or DVD drive is missing or is not recognized by Windows or other programs": http://support.microsoft.com/kb/982116
Maybe you are looking for
-
What is the largest external monitor I can use with Portege M400?
I have a Portege M400-s5032x tablet and a pa3680u docking station. I would get a larger external monitor for use with the docking station, which is the largest monitor I can use? I have a widescreen 18.5 on there now and that you would go up to 20 or
-
Satellite L100 170: can I put the graphics card?
Hi everyone :) could someone tell me if I can upgrade the graphics card in the Satellite L100-170, for the moment, it has an ATI Radeon® Xpress 200 M, if I can what is the best card to upgrade this machine to and where I could get one from?Thank you
-
The CVI 2010 SP1 download link works?
The downloaded file from SP1 link seems to be the unserviced pack version. After the 'install' which took place much too quickly, the help > about shows LW/CVI 2010 Version 10.0.0 (360). Am I missing something or am I just too early?
-
Long story short, I contracted somehow malware that made my unnecessary desktop icons. I can't click on them or right click anything. The only way I can manuver IE and on any program that I can start is to use desktop shortcuts. I run Malwarebytes an
-
LaserJet MFP M127fn Pro: Unable to update the firmware on M127fn
Hi and thanks for the support. I can't update the firmware. I downloaded firmware update and it launched. It does not find the printer. I'm sure that the rated requirements. I can print. It is turned on and connected via USB. He does not sleep. There