Presentation is loading. Please wait.

Presentation is loading. Please wait.

Naming convention for Database Services at CERN

Similar presentations


Presentation on theme: "Naming convention for Database Services at CERN"— Presentation transcript:

1 Naming convention for Database Services at CERN
Aim: help account management Allow experiments and users prepare apps Restrictions: Max identifier length 30 characters Identifier -> tables, usernames, tablespaces, etc.

2 Project name Prefixed with experiment name
ALICE_, ATLAS_, CMS_,LHCB_ Maximum of 18 characters (better max 15) BOOKKEEPING (11), TRANSFERMNGM (12), PIXEL_DT (8)... Use 6 letters for prefix (we could change to 3 letters: AL_, AT_, CM_, LH_) Use 6 letters suffix -> _READ, _WRITE, _DEV, _DATA, _INDX... Remaining 18 for project name

3 Usernames Integration
_OWNER Same privileges as developer _WRITE Granted with insert/update/delete privileges Can create views/synonyms _READ Granted with select privileges - Example: CMS_TRACKER_OWNER, CMS_TRACKER_WRITER, CMS_TRACKER_READER - Development - Example: ATLAS_MUON_DT_DEV, ATLAS_MUON_DT_MANJO - Could have also _UPDATE user, if requested. Privileges for insert, update, delete are given by the application owner. - We can not use _DEV if using _<NICE>. Really only for development purposes. _DEV Only one account needed/requested _DEV_<NICE> More than one account needed for same project

4 Tablespaces - Integration, production
_DATA For tables/views etc _INDX For indexes _<others> If needed for special datatypes (eg. BLOBS) - Example: CMS_TRACKER_DATA, CMS_TRACKER_INDX - Development DATA01 (shared for all users) data INDX01 (shared for all users) indexes

5 Connection string Production One service_name per project
With 10g client: EZ connect: Example: With tnsnames entry: LHCB_BOOK = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = pdb01.cern.ch)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = lhcb_book.cern.ch) )

6

7 Users roles and profiles
Development (_DEV, _OWNER) Password changes 10 sessions max Can create all objects Application (_READER, _WRITER) No limit of sessions Can only create views synonyms Have to be granted to objects


Download ppt "Naming convention for Database Services at CERN"

Similar presentations


Ads by Google