Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 14:59pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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 at 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 at 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#"?
Jackssen at 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 at 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.
Jackssen at 14-Dec-11 10:41am
   
okay thanks so mysql is running separate application that is a server with a database i understand?
amitgajjar at 14-Dec-11 11:26am
   
yes... mysql community is there to help you more about internal performance questions...
Jackssen at 14-Dec-11 13:33pm
   
okay thank you very much you have been very help full :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Hi,
 
here is the proof why MySQL?
 
hope this will help you more for choice between MySQL and MSSQL
 
thanks
-amit.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Jackssen at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

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
0 Sergey Alexandrovich Kryukov 269
1 OriginalGriff 240
2 CPallini 195
3 Maciej Los 177
4 BillWoodruff 173
0 OriginalGriff 5,655
1 DamithSL 4,506
2 Maciej Los 3,997
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 14 Dec 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100