Click here to Skip to main content
15,884,040 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi every one i am kinda new when it comes to databases i know the very basic commands (insert delete etc.) but what i want is a database that have a high int/id limit (most likely so many that it "never" can reach a "overflow") that can hold large strings (over 10k chars would be great) that also supports a large amount of "special" chars (Chinese, Japanese, Korean and so on) images some how maybe as binary data? and datetime. at the moment am i using a SDF database that have some of the very basics stuff to my needs, but i cant have strings longer than 4000 chars and can only hold 99.999.999 entries/id's and it does not have a datetime or image entry sadly :(

i've been looking abit into MDF databases in C# but they seems to have a string limit at 4000 also as SDF otherwise it seems to suit my needs but i wanna hear in here if there is some other alternatives that could be usefull for me. also if i can avoid it i would prefer a non-stand alone database such as i belive mysql is?. also if it is possible some link to how i can connect to the database inside my C# app would be nice and if the database can be encrypted and decrypted it would be nice too.

so to summarize; what database should i use for a IM-chat, that can both contains large amount of entries that most likely never can/will be reached, large strings (over 10000 char is prefer) and have the most special chars from "all the world", images, and datetime parameters? also i would love if i could get some simple code, it is possible to run inside my server app and not in its own cosole/database program, and i can encrypt/decrypt selected tabels of my own choose.

hope to see some helpful comment soon thanks for reading and helping :)

- Jackie
Posted

Hi,

you ask so many questions,

First of all i also do have my IM application. i have chosen MySQL as database. there are so many reasons for MySQL.

i will prefer you MySQL because it will be useful for achieving all your need. even MS-SQL is also good but i do not have much idea about all the features you are asking about.

when you are dealing with large database, you also need to use clustering for IM like application.

hope this will help you,

thanks
-amit.
 
Share this answer
 
Comments
Jackie00100 13-Dec-11 5:40am    
okay thanks for the answer can i store "images" and large strings as i would like to have? and is it posseble to run mysql server inside my C# app instead of running it in its own app?
AmitGajjar 13-Dec-11 5:47am    
Yes, you can store images as well as large string. data can be upto 2GB in single record.

for your second question what you mean by "mysql server inside c#"?
Jackie00100 13-Dec-11 10:20am    
well what i've normaly seen you need to run a mysql server in some sort of console application that you then connect to from deference applications (i've run some private servers for wow that used mysql a few times) and for those you needed to start the mysql server and then start the server application for wow i dont know if that is how it always work with mysql but that is my personally experience with it so im kinda asking does mysql need to run in a separate application or can i run the database inside or implement it in my chatserver app? also can you try to lead me to some maybe useful references? also do mysql also support special sign from china, japan and so on? (utf32 i guess?).

thanks for you fast answers :)
AmitGajjar 13-Dec-11 23:29pm    
Hi,

if you are creating your application in dot net framework then mysql connector is available. and mysql do support different kind of codeset. it also include japan language.
Jackie00100 14-Dec-11 10:41am    
okay thanks so mysql is running separate application that is a server with a database i understand?
Hi,

here is the proof why MySQL?

hope this will help you more for choice between MySQL and MSSQL

thanks
-amit.
 
Share this answer
 
 
Share this answer
 
Comments
Jackie00100 12-Dec-11 20:17pm    
thanks but didn't really help much im afraid, im still confused about what might be the "best" solution for me or witch solutions i can choose between after reading it
Member 12251761 16-Feb-16 6:13am    
hey i want to create my own chat aplication with database in vb.net plz help me..
Hi Jackssen,

I can not imagine that there is a problem and people who are responsible in famous DBMSs didn't do anything about it. So be sure that you can choose any of famous DBMSs easily and then decide how to use their feature to fulfill your requirements. If I was you I had chosen SQL Server because it has all the features that you need. Text and BigInt data types are the solutions for your case.

Hope it helps.
 
Share this answer
 

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