Database for images [closed] - mysql

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have experience with databases, but not specifically with storing/querying images with databases.
I have no idea where to start. Could you please recommend me books that concentrate ONLY on databases for media content, that is images. Storing videos would be cool too but not essential.
Thank you

Most of the time you'll just want to store a pointer to the media on a file system in the database. Then, you use the path in this field to actually retrieve the image and/or video.
Most databases have a size limit on the amount of data that can be stored in a column (I know SQL Server is 2GB, but I forget the rest off the top of my head).

Related

Is it possible to use MongoDB as a substitude for MySQL in a particular scenario? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am participating in an project that using MongoDB as the datasorce instead of MySQL. The project is an APP for live-streaming with large amount of data and frequent IO. I am not sure if MongoDB is better than MySQL in this scenario.
Very likely no. MongoDB would excel in cases where you have hierarchical data in several levels and an arbitrary structure. If your data falls naturally into columns and tables then MySQL would likely trounce MongoDB.

Linq to sql questions‏ [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
i have some questions regarding linq to sql with c#. hope you can help...
Does creating Data base new DataContext load the entire DB to local cache every time?
If the answer is yes, Is there a way to Load Only the required part of the DB(with Querys Or Stored procedures maybe) to do so ?
3.Does Linq To Enteties is more suitable for this requirements ?
1/ No, it does not load anything from the Database untill the query is executed
2/ ...
3/ You can load the entire database in Cache if you want to. BUt that has nothing to do with Linq-2-entities or Linq-2-sql. You can do it with either technology.

Synchronizing data across a couple of servers [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a simple yet tricky question - as far as I know Facebook, Google, etc have more than one server for obvious reasons - maintain 100% uptime, load distribution and some more.
My question is how do they synchronize the data on the sql/nosql tables behind each and every server. In other words, what do I need to look for in order to understand how they do that data synchronization?
For smaller applications data is replicated (a built in feature of several database systems) between nodes so that identical copies exist in more than one place.
Larger systems are either sharded out so different data exists in different places or clustered.
http://www.highscalability.com is a good resource for understanding the problems of running and scaling large web applications

In Mediawiki, where are my changes actually stored [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
When I actually write in the wiki, where are the changes actually being stored?
I have searched the source code for keywords that i have actually written and i cant find it, which obviously means its being stored where it cannot be searched directly.
I have made changes to it i.e. written in it, but sourcetree does not seem to be recognising it.
Do you mean the site's contents? They are stored in a database file which is read and written by the code.
It would be quite unmaintainable, if not outright dangerous, to mix user-submitted data with executable code.
They are stored in a database table called page (or something similar)

Joining a view using an existing view in mySQL [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I created a table view and joined it to an existing view. Is this a good way?
I'm wondering when the rows in the table piles up, will the performance be affected?
What are the other possible problems that I will encounter when I do this?
It is hard to say whether this way is good or not. It depends on your database design. Views have some advantages, so if you need to use views, then use them. But views may have bad performance, have a look at this article - MySQL VIEW as performance troublemaker.