Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > PostgreSQL > Need Help in Database creation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-07, 03:30
PRamanan PRamanan is offline
Registered User
 
Join Date: Nov 2007
Posts: 1
Need Help in Database creation

Hi Experts,
I am indulged in developing Online Issue Tracking sytem.For that I have met with a problem in Database creation.

The Sceneario is "The Database should be specific for each and every group of customers,For example initially A is a company with 10 users accessing the product after two days B is a company with 50 user accessing the same product.In this case the datase base should be provided to the two person separately at the moment when they register the product for 10 users and 50 users.How to handle this.

Any sort of ideas is valuable for me.
Thanks,
Ramanan
Reply With Quote
  #2 (permalink)  
Old 11-28-07, 16:14
loquin loquin is offline
Super Moderator
 
Join Date: Jun 2004
Location: Arizona, USA
Posts: 1,359
Will each company have their OWN database residing on the same server?

use role-based logon access, and grant CompanyB access to users from Company B, and CompanyA access to users from Company A.

Ref the postgresql manual...to get you started.
__________________
Lou
使大吃一惊
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert

Reply With Quote
  #3 (permalink)  
Old 11-28-07, 16:25
amthomas amthomas is offline
Registered User
 
Join Date: May 2005
Location: San Antonio, Texas
Posts: 134
hmmm.. that is a bit confusing

It sounds like to me the DB part of the 'product' and he wants to allow companies with users to sign up and use it.

You could just create an account table which is for the company that allows access to 'the product' and each company can have a set of users. If that is what you mean
__________________
Vi veri veniversum vivus vici
By the power of truth, I, a living man, have conquered the universe
Reply With Quote
  #4 (permalink)  
Old 11-28-07, 17:08
loquin loquin is offline
Super Moderator
 
Join Date: Jun 2004
Location: Arizona, USA
Posts: 1,359
As you say, if a single database is to be used, then you'll also want to control direct access to underlying tables, by using views & rules
__________________
Lou
使大吃一惊
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On