Click here to Skip to main content
Sign Up to vote bad
good
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 Frown | :(
 
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 Smile | :)
 
- Jackie
Posted 12 Dec '11 - 13:59


4 solutions

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.
  Permalink  
Comments
Jackssen - 13 Dec '11 - 5:40
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:47
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#"?
Jackssen - 13 Dec '11 - 10:20
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:29
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.
Jackssen - 14 Dec '11 - 10:41
okay thanks so mysql is running separate application that is a server with a database i understand?
amitgajjar - 14 Dec '11 - 11:26
yes... mysql community is there to help you more about internal performance questions...
Jackssen - 14 Dec '11 - 13:33
okay thank you very much you have been very help full :)
Hi,
 
here is the proof why MySQL?
 
hope this will help you more for choice between MySQL and MSSQL
 
thanks
-amit.
  Permalink  
  Permalink  
Comments
Jackssen - 12 Dec '11 - 20:17
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
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.
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 330
1 OriginalGriff 315
2 Slacker007 240
3 Aarti Meswania 210
4 Dave Kreskowiak 202
0 Sergey Alexandrovich Kryukov 8,743
1 OriginalGriff 7,124
2 CPallini 3,678
3 Rohan Leuva 3,011
4 Maciej Los 2,403


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 14 Dec 2011
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid