data-storage

Using two different Core Data Models in the same iPhone app. How can I do it?

I am trying to use two different Core Data Models in a iPhone application, I created and correctly set up the first Core Data Model that uses SQLite as persistent object store. This one works very well and the pre-populated default store loads correctly in a Table View. Now I want to create a different Core Data Model with a different p...

iPhone save records to a file permanently

Hi Friends, I have few records( with many fields) which are to be saved permanently. When I open my application next time , I need show saved files. I also need to replace few records sometimes. Can anybody guide towards to the best aproach with sample code? Thanks in advance. Regards, Malleswar ...

Basic data storage with Python

I need to store basic data of customer's and cars that they bought and payment schedule of these cars. These data come from GUI, written in Python. I don't have enough experience to use a database system like sql, so I want to store my data in a file as plain text. And it doesn't have to be online. To be able to search and filter them,...

proper storage location for simulation on android platform.

Hello all. I've an app already in the market that I'm proud of. It's called the hytech game of life. The core of the game is set up on an activity and a view, and the logic is run through the view. I'm mostly happy with how it works but there's a few things that just are starting to get in the way of what I'm doing. I'm seeing slow...

What is the best method to store this small read-only data table in an android phone?

I need to store data to use in my android program. Here are the details about the data: There will be one table. Each "row" of data will have a unique INT identifier. Other then that field, there will be four other INT fields and a text field. The string field will probably be a 2 or 3 sentences long. Each of the 4 INT fields will corr...

Database or format for help system?

Hi. I'm implementing a help system for my app. Its written in C and Gtk+. Help is divided on books. Each book is just a bunch of HTML pages with resource. The problem I've encountered is that each book is ~30M (using WebKit Gtk port to display it). After zipping it becomes ~7M, but opening document becomes extremely slow :( So I'm think...

In android, how do i save an image in the internal storage?

Im making an application which requires me to store a byte array and then retrieve it.. while storing it, i used the "compress" method, storing it as a jpeg.. this isnt working.. An alternative method is possible.. ...

When designing websites, what are my options for data storage?

I am a website designer, and I design both sites and applications for the web. I use PHP. I often find I have to store information, which needs to be accessed by the user after the browser is closed. Up until now I have always used a database (MySQL to be precise) to store information, however sometimes, I feel that I am storing info...

Can I set noatime for my XEN guest OS partition? Will it work?

I have a VPS in cloud environment based on XEN Virtualization platform. /etc/fstab looks like that: LABEL=PRGMRDISK1 / ext3 errors=remount-ro 0 0 As far as I know IO can pretty easily become a bottleneck if some other VPS neighbor will use it intensively(IO bandwidth is a shared resource for multiple guest VPS). ...

Is a database the right choice for data storage for my C# application?

Hi everyone, I am developing a C# application and want to be sure I choose the best choice for data storage that fits these specs. The program can have a infinite amount of data, but that data will only be used by a single user that is using the application. Each time the application is closed, I need to save the data, and it needs to ...

.NET Data Storage - Database vs single file

I have a C# application that allows one user to enter information about customers and job sites. The information is very basic. Customer: Name, number, address, email, associated job site. Job Site: Name, location. Here are my specs I need for this program. No limit on amount of data entered. Single user per application. No concur...

Where to save video files - database or disk

hey guys Is it a good idea to store video files in a database as BLOB objects or store them on a physical disk. This is for a site similar to youtube where users can upload their video and view them Database would be Mysql Which option is better and why Thanks ...

What are the weaknesses of XML?

Hi, Reading StackOverflow and listening the podcasts by Joel Spolsky and Jeff Atwood, I start to believe that many developers hate using XML or at least try to avoid using XML as much as possible for storing or exchanging data. On the other hand, I enjoy using XML a lot for several reasons: XML serialization is implemented in most mo...

where can i find papers/optimization concepts about email server/email storage?

Hi, I would like to know about the optimization techniques in email server/storage. Where do i get this information? I understand that gmail and outlook are not open source. But the manner in which they store emails at the server side is a problem that could've been dealt with by researchers or programmers already. Have such things been...

SQLAlchemy: writing to database after the response has been sent

I have a simple service that does approximately the following: An HTTP client connects to the server The server writes the sessionID of the client and the timestamp to the database, and in most cases just returns an empty response (The cases when it does do real work and return actual data are irrelevant to this question) In order t...

8078 bytes in 8060 B datapage (SQL Server)?

It is written everywhere that data in SQL Server is written in pages of 8K (8192 B) each with 8060 bytes for data and the rest is overhead (system info). Though, the recent article [1] gives code example illustrating, as I understood, that 8078 bytes of data fit into a page. What do I miss in understanding 8,060 B per per page? I ve...

how storage is reserved by SQL Server? and howto overrule it ?

I am trying to understnad how SQL Server allocates and reserves space. Having run the examples from the article "How table design can impact your SQL Server performance?" [1], I received the results [My 1.1] diverting from those in article [1.1]. Why? Why in one case the excessive space is reserved/allocated (all cases in [1]) but ...

How to come to limits of 8060 bytes per row and 8000 per (varchar, nvarchar) value?

Comining from my question [1] where I was explained how to derive 8078 bytes of data per page in MS SQL Server. If to calculate the number of bytes per page used for data (without overhead) storage of only one row with one column of non-indexed fixed size type record (according to [1], i.e. [2]), then I come to 8087 bytes (per page)...

Open Source Box.net using S3, RackCloud etc

Hello all, Wondering if anyone knows of an open source project which is basically box.net but using S3 or RackCloud or others. I have googled like I have never googled before and couldn't find anything. Tried different terms etc ... nothing. I would love to host my own solution instead of paying $25 per user per month. We have a lot of...

Creating a static data structure on application startup for Android

In my application, I am going to create a few listviews that are dependent on the listview before it. For example, 1st list has these items Illinois Indiana Then, depending on user choice, will go next screen, let's say, it contains a submenu of each type of school,that may be different or may be the same to other states Click Illin...