Search Postgresql Archives

Re: Design question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Diehl wrote:
> 1.  Create a table for each spreadsheet, using column headings as field names.  
> Every field would be a char/varchar.  We might have a table to track which 
> client owns which table.  This could amount to 10's of tables being added to 
> the db.

Give each client their own schema. Set permissions on the whole schema.
You should be fine with a few dozen or a few hundred tables. You can
also dump/restore a whole schema then.

-- 
  Richard Huxton
  Archonet Ltd


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux