Comparison of redirection methods
The different redirection methods have different requirements.
The following tables summarize the differences among redirection
mechanisms:
DBPATH | Automatic redirection | User redirection |
---|---|---|
When is a client redirected? | When the client next tries to connect with a specified database | When the client next tries to connect with a specified database |
Do clients require being restarted to be redirected? | No | Yes |
What is the scope of the redirection? | Individual clients redirected | Individual clients redirected |
Are changes to environment variables required? | No | No |
Connectivity information | Automatic redirection | User redirection |
---|---|---|
When is a client redirected? | After the administrator changes the connectivity information, when the client next tries to establish a connection with a database server | After the administrator changes the connectivity information, when the client next tries to establish a connection with a database server |
Do clients require being restarted to be redirected? | No | Yes |
What is the scope of the redirection? | All clients that use a given database server redirected | Individual clients redirected |
Are changes to environment variables required? | No | No |
ONEDB_HOME | Automatic redirection |
---|---|
When is a client redirected? | When the client restarts and reads a new value for the ONEDB_SERVER environment variable |
Do clients require being restarted to be redirected? | Yes |
What is the scope of the redirection? | Individual clients redirected |
Are changes to environment variables required? | Yes |
Connection Manager | Automatic redirection |
---|---|
When is a client redirected? | When the configured service level agreement (SLA) is attained. |
Do clients require being restarted to be redirected? | No |
What is the scope of the redirection? | Individual clients redirected |
Are changes to environment variables required? | No |