Strategy for local data storage

I'm working on an application that allows you to store a lot of data locally and I was wondering if anyone has any ideas on whether it is better to write in a persistent storage or write it to a local file.

My application will store events, each event could have anything from 50 to 1000 (or maybe more) elements (as basic data types such as float, long, etc.) that are associated with.

I was considering the creation of a persistent store of events, each might have a name, timestamp and store some info Basic, then bound, by store ID, persistent separation for each event. Would this be the recommended way to store this information. Or would it be better to have a single persistent store that contains everything? Or maybe that's putting too much data in a persistent store and I have to use a store for the list of events with the individual event data stored in a local file?

Ultimately, user will have the ability to manage data, removing old events and/or by downloading the event data for the online storage, but before I look at coding this, I expect words of wisdom on what strategy of data storage that you would recommend.

I agree that Persistent Store would be a good fit at first, especially since you would not serialize the data in and out of storage.

Your biggest problem is perhaps the object handles, because there are only a limited number of them.

Sorry I have been hunting round, there was once a document listed the size and memory handles available for each device.  It is a recommended memory PDF, but I don't find it anymore.  Anyone know where it is?

Tags: BlackBerry Developers

Similar Questions

  • Disks supported for local data banks?

    Hello

    What kind of discs are supported for local data stores that is IDE, SATA, SCSI, SAS...

    Ide drives is not supported for use how VMFS.

    If you have found this information useful, please consider awarding points to 'Correct' or 'Useful'*.

  • local data storage

    I have a feature to remember me in my application, when the user selects... I want the next time he gets into the app to see his selected past remember me option.

    I so want to store things locally in mobile, how is that possible?

    If it's just options, you must use QSettings...

    http://developer.BlackBerry.com/native/reference/Cascades/qsettings.html

    It is not recommended to use for application however, data instead, you must use SQL, XML, or JSON.

  • Data storage in bulk for travel & load

    Good day readers

    I must travel later this year and do not want to take a lot of SDHC cards. Someone has advice on what it takes which stores lotss of video files and photos please. I want to keep in bulk and weight down.

    I watched the Vosonic range, but these seem expensive

    I looked a little Netbook - much less a Vosonic unit - 160gig to 250gig will be enough

    I want to be able to view video files and still images

    I also want to be able to load units, there will be no sector electricicity where I go, so solar recharge needed ideas for the data storage device and the camcorder batteries

    Welcome all ideas, what solutions people

    Thank you...

    John,

    To any Tablet/laptop equipped with a USB port. Speed is not relevant, so it could be cheaper than you can find.

  • [SRM 4.1] Dealing with local data warehouses?

    Hello

    I'm currently loaded with SRM 4.1 installation on our companys vsphere and while I did this before that I have never worked with VM on local data warehouses. There are three additional centers for both, I'll be tipping. These three data centers all run on Cisco UCS 210 M2 servers spread across two data stores. The virtual machine can be found on the second partition of the UCS VMFS.

    I don't know why it was created this way that I wasn't there when it was put into service (it seems strange, though, as they have a shedload of space on the Symmetrix). So I ask really (a person with a more experienced eye), what are the options for local data warehouses with MRS? I'm guessing limited to no support... so think I might watch svMotion

    Thanks for any advice.

    Hello

    With MRS. 4.1, the only option is based on the Bay of replication, i.e. SRM is only able to protect virtual machines residing on storage arrays supported with replication configured between them. SRM itself does not perform the replication. SRM is able to display your replica equipment and perform a few operations on the Bay of storage through the SRA (storage replication adapter) - software written by the storage provider.

    Yes, unless you use a storage device which can present these local data warehouses such as those shared and replicate them on the (and is supported with SRM), you cannot use local data warehouses. I have a limited knowledge of such things, maybe the other guys will be able to help more.

    In SRM 5 extra option has been introduced - vSphere replication, which allows the replication of virtual machines between ESXi hosts. You will need vcenter / SRM and ESXi 5 for this to work.

    I do not understand your configuration. How many centres of data do you have? SRM only supports the scenarios one to one, and many-to-one.

    Michael.

  • How can I move virtual machines from a local data store for a new iSCSI SAN?

    Hello guys,.

    Now that we have a new iSCSI SAN market how can I tranfer all the virtual machine to a local data store for a new SAN? Can I stop the VM in the host, and then copy the DataStore files with all the info on the new volume?

    Thank you

    Pesinet

    Alternatively, you can use VMware converter or cold Migration / Storage VMotion if you have the appropriate licenses.

    Duncan

    VMware communities user moderator | VCP | VCDX

    -

  • Storage VMotion - a general error occurred: could not wait for the data.  Error bad0007.

    People,

    I searched through this forum and have not found an answer that works in many positions out there, I say to myself that I would ask him once again.

    Here's the context:

    We have 12 identical Dell M600 blades in 2 chassis with 16 GB of Ram, 2 x Xeon E5430, they are all connected to an Equallogic PS 5000XV iSCSI SAN on a separate iSCSI (vswitch1) with 2 cards network dedicated network and dedicated switch, console svc iscsi dedicated, dedicated VMkernel port for iscsi access. Net access (vswitch0) contains port groups VM for our various networks and a console port and vmkernel svc for VMotion with 2 separate NETWORK cards as well.

    We are running ESX 3.5 U3 and VCenter 2.5 U3 on Win2k3 R2

    VMotion works between all servers, Storage Vmotion works for most machines, HA works and the value 2 host failurs with no monitoring of vm, DRS is set to manual for now I have a few machines on the local stores that I complete my rebuilt LUN, there is no set of rules for DRS and VMware EVC is enabled for guests of the Intel. However, I'll just describe one machine to do svmotion below.

    Here's the problem:

    I'm trying to Svmotion via svmotion.pl - interactive, a Machine to Windows 2000 with a virtual disk and a virtual RDM. I am aware of the requirements for the RDM and required parameters for svmotion, independent is not selected for the RDM, and I also have svmotioned several machines linux and win2k3 with the same configuration without problem. In the interactive session, I choose to individually place the disks and I chose the virtual disk to only the virtual machine to be moved, essentially, as I saw it move vdisk virtual machine and then copy to the pointer of the RDM.

    The use of the processor in this machine is about 25% average. but I try to run migrations at the time the lowest. and The Host it itself shows only about 5.5 GB of the 16 GB of RAM used. so I think we're good on the RAM. the volume/datastore that I'm migrating from has 485 GB free and the volume/datastore I migration towards a 145 GB free. the VM virtual disk is only about 33 GB.

    I run the script the windows version of the RCLI svmotion. and when to begin the process, I get the following error at around 2 percent of the progress:

    "Since the server has encountered an error: a general error occurred: could not wait for the data."  Error bad0007. Invalid parameter. »

    After searching around, I found the following hotfixes to the U2 release notes

    • Migrate.PageInTimeoutResetOnProgress: Set the value to 1.

    • Migrate.PageInProgress: The value 30, if you get an error even after the setting of the Migrate.PageInTimeoutResetOnProgress variable.

    I've made these changes, and I still get the same error.

    When I dig in the newspaper, I see these entries in the journal of vmkwarning:

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu4:1394) WARNING: bunch: 1397: migHeap0 already at its maximumSize bunch. Cannot extend.

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu4:1394) WARNING: bunch: 1522: Heap_Align (migHeap0, 1030120338/1030120338 bytes, 4 align) failed.  calling: 0x988f61

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu4:1394) WARNING: migrate: 1243: 1235452646235015: failure: out of memory (0xbad0014) @0x98da8b

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu2:1395) WARNING: MigrateNet: 309: 1235452646235015: 5 - 0xa023818: sent only 4096 bytes of data in message 0: Broken pipe

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu6:1396) WARNING: migrate: 1243: 1235452646235015: failed: Migration protocol error (0xbad003e) @0x98da8b

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu2:1395) WARNING: migrate: 6776: 1235452646235015: could not send data for 56486: Broken pipe

    At this point, I'm stuck... What is Windows RCLI? the vcenter Server? or the service console with not enough of RAM? We have already increased all our consoles service 512 MB...

    Any help would be greatly appreciated...

    Thanks in advance.

    Alvin

    The vmkernel on out of memory error, I had that before. And vmware support recommends setting 800M Max service console memory. And I did it and have no problems after that.

    See if that helps the issue.

    Mike

  • How many gigabytes of data storage has the new Apple Watch series 2 and how many GB are free for music?

    How many gigabytes of data storage has the new Apple Watch series 2 and how many GB are free for music?

    Hello

    Apple has not yet announced the capacity of storage or the music of Apple Watch series 2 storage limit.

  • I get a request for local storage through Adobe flash which I can't get rid of

    When I opened a site of video or audio as the NPR media player http://www.npr.org/player/v2/mediaPlayer.html?action=2 & t = 1 & islist = false & id = 370394953 & m = 370394958 & live = 1 I get a request for Adobe Flash Player settings for Local storage. Clicking on accept or decline does not a doggone thing. I don't have the problem with Google Chrome, but I really prefer to use Firefox. I had the problem with other sites next to NPR (National Public Radio All Things Considered). It does not interfere with the download, but there really with the NPR player. My world will not end if you do not resolve the problem, but it would be nice if you could. I live in the Philippines, so that might be a factor.

    I use Windows 7 via a network (Globe Telecom) local DSL

    See the following page:

  • Creation of Raw Device Mapping (RDM) is not supported for local storage (1017530)

    "Often, localstorage devices do not support VPD page 0x83 and can therefore be used for Raw Device Mappings (RDMS)." The content of the page 0x83 is used as a unique identifier for the device. For more information, see creating Raw Device Mapping (RDM) is not supported for local storage (1017530). »

    Does anyone know if this is even the case for modern storage?

    We are a dell shop, wishing to take advantage of the ability to create up to 64 TB RDM.

    However, the storage of the host in question will be local SAS only.

    Prefer not to have to merge muliple 2 TB VMDK into windows to make a record of 4.5 to.

    Then projected on the presentation 1 x 4.5 CT rdm

    If you plan to use a SAS controller, you should be able to do this. Your drive will be identified as a device of the naa, and you will be able to add as an RDM to VM - only with ESXi 5 (which can support more than 2 TB LUN).

  • Need help with the data storage store, local array and network connections

    Need help with my ESXi 4.1 installation

    My hardware:

    I built a server with an Asus P6T whitebox, i7 920, 12 Gig RAM, NIC, Intel Pro1000 PT Quad, 3ware 9650SE-12ML with 8 1.5 TB SATA green in a raid 6 array gives me about 8 + TB with a spare drive all housed within a NORCO RPC-4220 4U Rackmount Server chassis.  I also have a 500 GB SATA drive which will hold the ESXi and virtual machines.

    The network includes a firewall, Netgear Prosafe FVS336G, GS724Tv of Netgear ProSafe 24 port Gigabit Managed Switch on a dhcp cable modem internet service provider.

    I also have 2 old NetGear SC101T NAS disks (4to) I want to connect to the system how some - at a later date have... data on them and want to transfer to the new storage array. I always looking into the question of whether they will work with ESXi 4.1, or I might have to only access it through Windows XP.

    My Situation:

    I have already installed ESXi 4.1 and vsphere client with no problems and it is connected to a dhcp cable internet service.  I've set up host via a dynamic DNS service name give me a static hostname on the internet.  I installed three machines to virtual OS successfully at the moment and now want to first start by creating a multimedia storage server which will use some of this new 8 TB array, then separate data storage for use with a web server small overhead storage and a backup.  It is a domestic installation.

    Help with the data store and network:

    I was doing some reading, because I'm new to this, and it looks like I'll probably want to set up my table via ESXi as a nfs disk format.  Now, the data store is usually in another physical box from what I understand, but I put my readers and ESXi all in the same box.  I'm not sure that the best way to put in place with grouped network cards, but I want to make this work.

    I understand that in ESXi 4.1 using iSCSi LUN must be less than 2 TB, but nfs - I should be able to add a bigger partition then 2 TB (for my multimedia) in nfs, right? or should I still add it separately as a separate 2 TB drives and then extend them to get the biggest space.

    Any suggestions or direct resources showing examples on how to actually add some parts of the table as data warehouses separate nfs.  I know that to go to the configuration tab, and then select Add to storage, and then select nfs. I have not my picture, but it's here that I don't know what to do because ESXi 4.1 system already has an address, should I put the same thing to the new data store array also (will it work?), and what should I use for the name of the folder and the store of data... just do something to the top.  I thought to later install Openfiler (for a multimedia storage using this table server) as a virtual machine, use the table with esxi so that I can access the same storage space with widows and linux-based systems.

    I also know I have to find a way to better use my quad nic card... put in place of virtual switches, grouping, etc HELP?

    Any direction, assistance, similar facilities to sample, suggestions or resources that would help would be great. I did a lot of hunting, but still a little confused on how to best to put in place.

    You must think of VMDK files of large databases with records of random size guest go read some data (a DLL or an INI file), maybe write some data back, then go read other data. Some files are tiny, but certain DLLs are several megabytes. It's random i/o all and heavy on the search time. IO Opsys is small random operations that are often sequential (go read data, write data, go read other data,...) so that deadlines are critical to the overall performance. That's why people say OPS are / s of reference and forget the MBs flow. The only time where you bulk transfers are when you read media (ISO files).

    Well, now forget all this. Actually the disk activity will depend on the specific applications (database? mail server? machines compiler?), but the above is true for boots, and whenever applications are idle. You should see the profile to know.

    RAID 10 is faster (and often more reliable) than RAID 5 or RAID-6 except in certain specific cases. In General RAID 10 is ideal for many random writes, since the calculation of parity for RAID-5 and - 6 adds to the overall latency between command and response - latency is cumulative if a little slow here and a little slow it adds up to a lot of overall slow synchronous especially with e/s on a network. OTOH RAID-5 and -6 can produce faster readings due to the number of heads, so you can use it for virtual machines that transfer bulk. Test. You may find that you need several different types subdashboards for best results.

    You said 3ware, they have some good grades on their site, but don't believe it. With my 9650 that I found myself with only a couple of their recommendations-, I put the (simple) table for allocation size 256 k, nr_requests at 2 x the queue_depth and use the planner date limit. I had the habit for the Ext4 file system formatted with stride and stripe-width synced to the table and used the options large_files with fewer inodes (do not use the huge_files option unless you plan to have single VMDK files in the terabyte range). Use a cache of great reading in advance.

    Virtual machines use VMDK files in all cases except raw iSCSI LUN that they treat native disks. VMDK is easier to manage - you can make a backup by copying the file, you can move it to a PC and load it into another flavour of VMware, etc. There could be some features iSCSI to your San as a transparent migration but nothing for me. NFS has less chatter of Protocol if latency lower times to complete an operation. NFS is good to read and write a block of data, that's all it boils down to.

    UPS is good, but it won't help if something inside the machine explodes (UPS does nothing if the PC power supply goes down). If the RAID card has an option for a battery backup module, so it can contain some writings in memory and may end up the disk i/o after replacing the power supply. 3ware also limits the types of caching available if help is not installed, and you get just the right numbers with the module.

  • How can we force to use for locale-specific formatting of data?

    Hi all

    I use the Date/Time Format string to format the current date to a formatted string, I'm precise %b to show the short month, but this parameter is dependent on the local host. What is a way to force the format on a local data instead of using the regional settings of the OS? Thank you.

    I don't believe it. The simplest solution would be to call the DateTime in seconds function, extract the resulting month value of the cluster then use a lookup table to determine the name of the month.

    The table of correspondence could be as simple as a multiline string is indexed with the Line Pick function using months as the row index.

  • Change el en local data store storage limit

    Hola

    Tengo a servidor para instalar vsphere y quiero detect maquinas office in el local data store. Quiero saber como formatear el local datastore para I of mas soporte UN disco of 256 GB, I need por lo menos 1 TB.

    Saludos

    Hola

    I hope you guste esta imagen, porque so lo he present con el pdf

    Esta soon as I have that restore a 4 probing script en una verdad el.

    If esta u otra respuesta're util, por favor su marca used notificador.

    Gracias / looks

  • Deployment uses the local data store

    The deployment of VIO works without problem, but one of the virtual machines (VIO-DB-0) is now in a local data store. I never chose this data store in the installation process.

    Is it possible to manually move the virtual machine? Is it possible to define the data store used for the management of virtual machines somewhere?

    Concerning

    Daniel

    Hi Daniel,.

    Take a look at VMware integrated OpenStack 1.0 Release Notes:

    • Installer gives priority to local storage by default
      When you set up the data for the database stores three virtual machines, VMware OpenStack Setup integrated automatically gives priority to a local storage to improve IO performance. For resilience, users might prefer a shared storage, but the installer does not clear how to change this setting.
    • Workaround: Before completing the installation process, the installer of VMware OpenStack integrated allows you to examine and change the configuration. You can use this opportunity to change the configuration of the data to the database store three virtual machines.

    If you have already installed VIO, AFAIR you should be able to manually move between data warehouses as long as you do not change VM itself.

    Note that there is rule anti-affinite, so you may not be able to move that VM in the same data store when no other VIO - DB resides.

    Another note is that if you turn off VIO-DB-0, mysql service will not appear automatically. you have to turn on manually by running "service mysql start" on the node itself, or run 'vioconfig start' of the SGD server.

    Best regards

    Karol

  • Adding/viewing ESX hosts the local data store in vCenter

    Hey all,.

    I am pleased to join these forms and hope I have don't get dessu down for not having a cert VM (I train hard knowledge where and how get it)

    I have recently graduated from networking and am on the fast track in my new career. Now things are as clear as possible so I will try to fill as much

    ESXi 1 - Dell G6, running, 1065491 5.1.0

    Storage adapter - Smart Array P410i

    vmhba0

    Details - Serial Attached SCSI disk HP, ID (naa. #...), name of Runtime: vmhba1:c0:T0:L0, mounted the Non - SSD, block adapter, 1 TB)

    ESXi 2 - Dell G7 5.1.0 running, 1065491

    Storage adapter - Smart Array P410i

    Details-HP Serial Attached SCSI Disk, ID (naa. #...), name of Runtime: vmhba1:c0:T0:L1, mounted the Non - SSD, block adapter, 1 TB)

    vCenter - Win Server 2008 r2 (working on the features of powershell to work with packages from CodePLex)

    ESXi hosts in a single datacenter, with one single Cluster... in this cluster is a SAN that the two hosts can access without problem

    When I click on Cluster 1-> summary-> Storage (local storage shows ESXi 1 and SAN storage) NO ESXi 2 of local storage.

    When I click on ESXi 1 host in vCenter and then click on summary or Configuration (Storage)... it will show the SAN and hosts local storage

    When I click on ESXi 2 host in vCenter and then click summary or Configuration (Storage)... it will show the SAN and NOT hosts local storage

    How can question I view and manage local storage of 2 ESX via vCenter?

    At the moment I have to hand, log in to ESX 2 via vSphere thickclient and see its local data store.

    I was talkin to some people on #vmware in IRC, but can't seem to understand why... is something mmiss configured? I thought that this would have been a no-brainer... I tried to 'find new warehouses of data' on the ESX 2 in vCenter, no dice.

    Help

    Welcome to the community - I would try to remove the host to vCenter and see if you can see the local storage.

Maybe you are looking for

  • Lenovo Microsoft Office

    You just bought all new Lenovo g780. After you resolve the problem after problem with this laptop, I ran on a question which is not only boring, it's vol. I bought Microsoft Office 2010 365 with the laptop and it came with a 25 character for the acti

  • Cannot access specified device or file _ path

    HI can anyone help me every time I have download a program, as updates to adobe, or a program for a digital camera (a disk) or try to access my firewall settings, I get a message saying (windows cannot access the specified device or file path. You do

  • Precision T7810/5810 gel on reboot (OSD)

    We recently received a precision T7810/5810 and I try to import a driver defined in our OSD task sequence. The problem I have is that any time that OSD sends a command to reboot the PC, it freezes. I can continue the OSD by manually restarting the co

  • Sidebar will not load after the latest round of security updates.

    After re-booting the empty sidebar is displayed, but that's all that happens.  The circle if you go over it.I don't see all the other positions in this issue. Owner/Chief Engineer, the top of the Hill of music

  • Cisco has the more granular dBm lookup table.

    Hello It is possible to 1310 bridge wireless signal quality monitoring with snmp? Thanks and greetings