开发者

Guidance required: FIrst time going to work with real high end database (size = 50GB).

开发者 https://www.devze.com 2022-12-25 04:51 出处:网络
I got a project of designing a Database. This is going to be my first big scale project. Good thing about it is information is mostly organized & currently stored in text files. The size of this i

I got a project of designing a Database. This is going to be my first big scale project. Good thing about it is information is mostly organized & currently stored in text files. The size of this information is 50GB. There are going to be few millions of records in each Table. Its going to have around 50 tables. I need to provide a web interface for searching & browsing. I'm going to use MySQL DBMS.

I've never worked with a database more than 200MB before. So, speed & performance was never a concern but I followed things like normalization & Indexes. I never used any kind of testing/benchmarking/queryOptimization/whatever because I never had to care about them.

But here the purpose of creating a database is to make it quickly searchable. So, I need to consider all possible aspects in design.

I was browsing archives & found:

What should every developer know about databases?

Database development mistakes made by application developers

I'm going to keep the points mentioned in above answer开发者_如何学运维s in mind.

What else should I know? What else should I keep in mind?


Just index the columns you'll be searching on and you'll be fine. There is nothing in particular that you should know besides that.

Remember that worrying so early about optimizations is probably not a good idea. Write the software and only if it goes too slow think about making it go faster.


Also take a look at

Steve Huffman on Lessons Learned at Reddit

0

精彩评论

暂无评论...
验证码 换一张
取 消