Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I have created one application in MFC. when client run the exe then I need to maintain some of the activity data to in that PC. so I nee to store in some of the file or database which can not accessed by that user and only accessible by application only.

One way to do this is store the data in the normal text file with encryption. but this will work fine with the small size data. But in my case I have 4-5 tables to manage and those data can reach to upto large MB (around 1 GB). so which RDBMS should will best suite with my requirement which work with the MFC and store large data.

Thanks in advance.
Posted

Any of the well know DB systems would suit your purpose, but you need to research them to decide which is the 'best' for your needs. SQL Compact Edition is a fairly simple one and does not require a server to run on. See https://www.google.com/search?q=database+mfc[^] for suggestions from Microsoft.
 
Share this answer
 
Comments
npdev13 26-Apr-13 7:13am    
Yes SQL compact edition is one way we can use.
Basically,RDDMS is Short for relational database management system and pronounced as separate letters, a type of database management system (DBMS) that stores data in the form of related tables. Relational databases are powerful because they require few assumptions about how data is related or how it will be extracted from the database. As a result, the same database can be viewed in many different ways.

An important feature of relational systems is that a single database can be spread across several tables. This differs from flat-file databases, in which each database is self-contained in a single table.

Almost all full-scale database systems are RDBMS's. Small database systems, however, use other designs that provide less flexibility in posing queries.

now your requirement is to store data in GB or in TB following database companies or type of database not restrited on size of data.

1)MySQL
2)Oracle
3)MSSQL

Its totally depends on hardisk you provide to store data.If you have 512 MB hardisk then you can store data only of this 512MB size.;-)

but very important thing that current world totally depend on is plateform independancy.You consider database which will run on window,linux,And even on android.
so as per my knowloadge you should use

ORACLE :-)

And if you dont want to use database then you can consider the concept of binary files.
 
Share this answer
 
Comments
npdev13 26-Apr-13 7:15am    
Concept of binary file is one of the alternative. I can use it, I can create separate binary file for each table data.

can you please provide some more detail how to use binary file ?
Coder Block 26-Apr-13 7:33am    
basically using binary files is worst thing normally programmer says,because every byte in bianry file important.First if you want binary files as alternative there is lots of content on net related.Best thing is that i see some microsoft file still built in binary format so they mean something that binary is useful.

now about binary files,
Its same like normal text files but just pass typebinary as a file tyoe while opening CStdioFile object.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900