Thursday, November 22, 2018

TIBCO File Based Domain VS Database Based Domain

       An Administrator domain stores domain information in a database repository or file repository, depending on the transport type. If TIBCO Rendezvous(RV) is set as the transport, you can store domain data in a database repository or file repository. If TIBCO Enterprise Message Service(EMS) is set as transport, you can only store domain data in a database repository.

File-based Domain :

In file based domain, domain data is stored in below two files :

SYS_<<Domain>>.dat  --> This file is referred to as administration domain and it is big in size and it has most of the domain data like installed software, machines, applications, plug-ins, TIBCO Administrator ACLs etc.
AUTH_<<Domain>>.dat --> This file is referred to as authorization domain and it contains users, roles and data access ACLs.

Note : Editing these files is not recommended as it may lead to loss of all your domain data and to unpredictable behavior of TIBCO Administrator.

Database-based Domain :

       If a database is used, the administration domain is stored in tables beginning with "Ad", while authorization domain data is stored in tables beginning with "Au".

       In a database based domain, the Hawk agent access the domain repository directly and does not go through the administration server, thus the TIBCO Hawk Agents on all client machines must have database connectivity to access the domain data.

File-based VS Database-based :

  • During deployment, there are a number of steps during which domain data is committed. If domain data is stored in files, the files are loaded at startup and each time a change to the domain is saved, the contents of the corresponding file must be regenerated and the file is saved. Each commit for file based domain requires writing the entire file, which is expensive both because of I/O and calculating the large number of individual strings but when using database to store domain data, only the changed data is written and it reduce the overhead of rewriting the entire data thus it improves the performance if domain data is stored in database.
  • When using a file based repository with a primary and secondary administration server, performance will be slower than when using a database to store administration domain data.
  • Database domain has more advantage than file-based domain and if you want to migrate file-based domain to a database-based domain, simply create a new domain with database settings, then use the AppManage utility to export your applications from the old domain and import them into the newly created domain.

and also look for :

1) TIBCO Installation - JDBC driver configuration to connect to Database
2) TIBCO Administration Domain Creation using Domain Utility in GUI Mode

No comments:

Post a Comment

back to top