Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 6th, 2009, 03:05 AM
3dcreature 3dcreature is offline
I need to change the world
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Location: Kandy - SriLanka
Posts: 77 3dcreature User rank is Sergeant (500 - 2000 Reputation Level)3dcreature User rank is Sergeant (500 - 2000 Reputation Level)3dcreature User rank is Sergeant (500 - 2000 Reputation Level)3dcreature User rank is Sergeant (500 - 2000 Reputation Level)3dcreature User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 18 h 1 m 16 sec
Reputation Power: 9
Send a message via Yahoo to 3dcreature Send a message via Google Talk to 3dcreature Send a message via Skype to 3dcreature
Question Designing a database for classified site

What will be the best approach for designing a database for classified ad site like www.gumtree.com?

Problem here is that we have different entities with different attributes while we need to implement powerful search functionality too.

I was thinking to have separate table for each main category will that be a wise move?
How that will affect search functionality?

Any thoughts please?

Regards

Reply With Quote
  #2  
Old May 6th, 2009, 03:29 AM
TASB TASB is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 103 TASB User rank is Second Lieutenant (5000 - 10000 Reputation Level)TASB User rank is Second Lieutenant (5000 - 10000 Reputation Level)TASB User rank is Second Lieutenant (5000 - 10000 Reputation Level)TASB User rank is Second Lieutenant (5000 - 10000 Reputation Level)TASB User rank is Second Lieutenant (5000 - 10000 Reputation Level)TASB User rank is Second Lieutenant (5000 - 10000 Reputation Level)TASB User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 23 h 32 m 30 sec
Reputation Power: 82
Start with a pen and paper and brain storm every bit/type of information you think you might need to store in the database. Once you have that break it into small chunks or individual entities (These will be your tables). The next step is to work out the relationships between those entities (Which tables will be linked to which other ones).

Once you have this draw up a diagram so you can see it all visually.

When going over it look for any duplicated redundant data and try to eliminate that.

Now think about how you want to get the information out of the database.

Look at what elements of the tables can be indexed.
Look at what groups of tables need to be joined for your queries.

Play around with it till it all looks clean and efficient.


Personally I would make a table of categories. Rather than a table for each category.

Reply With Quote
  #3  
Old May 13th, 2009, 03:34 PM
LKBrwn_DBA's Avatar
LKBrwn_DBA LKBrwn_DBA is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2006
Posts: 506 LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 4 Days 12 h 34 m 59 sec
Reputation Power: 192
Cool Tutorial

Check out this tutorial.
__________________

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Designing a database for classified site


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
Stay green...Green IT