Global resource

Refer to here for more information about DataSpider Studio/DataSpider Studio for Web edition.

Global resource

Global resource is a tool to set up global resource of common data resources that can be referenced from all projects and scripts.
Refer to "Global Resources" for more information.

Functions provided by Global resource

Global resource provides following functions.
Description of Functions
Name of functions Menu Description Remarks
Global resource list Global resource list Lists all available Global Resource Listed when Global Resource is started.
  • Sorted by standard unicode character order.
Create new global resource Creates a new Global Resource  
Change Global Resource Settings Modifies Global Resource settings
  • "Warning of broken link" dialog appears when changing the name of global resource.
    • When the name of the global resource is changed, it can no longer be referenced from the script, so it is necessary to set again manually.
    • When the name of global resource with "Default" type is changed, names of global resources with the same name and different types are also changed.
      But only if the user has the permission to use and edit other global resources with the same name.
  • See "Global Resource name character limitations" for characters not allowed in the names of Global Resource
Copy Global Resource Copies the Global Resource
  • Copied global resources will be granted the following security settings by default.
    • The user that copied the resource is the owner.
    • Primary group of the user that copied the resource is the group.
    • Only the owner can both use and edit the resource; group and others can only use the resource.
Create global resource of Different Type Creates Global Resource with a different Type
  • See "Type" for details.
Delete Global Resource Deletes Global Resource
  • When the global resource with "Default" type is deleted, global resources with the same name and different types are also deleted.
Reset Pool Reset the global resource of pool to "0".  

List all available Global Resource

Description of items
Item name Description Remarks
Name The name of global resources.  
Type Global resource type.
  • Must be "default" when creating a new global resource.
  • User "Create global resource of same name" to create global resource of type other than "default".
  • [Type] can not be changed.
Resource type The type of global resources.  
Owner Owner of Global Resources.  
Pooled size Currently loaded pool number and the number of which is unused among that.  
Maximum capacity Maximum value for pooling.
  • The default value is "unavailable" or "unlimited".(It changes depending on the adapter.)

Create new global resource

You can create a new global resource by clicking [Add] button.

Required Settings

Properties in the [Required Settings] tab varies depending on the Global Resource. For more information about the settings, refer to "Global Resource Properties" of each adapter.

Component Pool Settings

[Component pool settings] tab is show only if it is applicable.
See "Component Pool" for any details.
Description of items
Item name Description Remarks
Use component pool Select whether to use Component Pool or not.
  • [Checked]: (default)
    Use the component pool.
  • [No Checked]:
    Do not use the component pool.Generates the global resource at each time of the connection .
 
Reset pool Reset the global resource of pool to "0".
  • Enabled when [Use component pool] is checked.
  • When creating a new global resource, this button is not shown.
Initial value and upper bound value of connected count Initial value Enter the number of pooled connections when DataSpiderServer starts.
  • Enabled when [Use component pool] is checked.
  • The default value is "0".
Upper bound value Enter the maximum number of pooled connections.
  • [Limited]:
    Enter the maximum number of pooled connections.
  • [Unlimited]:
    Do not set the maximum number of pooled connections.
  • Enabled when [Use component pool] is checked.
  • Default value is "0" when [Limited] is selected.
  • If "0" is specified, [Unlimited] is set after pressing [Create global resource] button.
Connection lifetime settings Connection lifetime Input time (ms) that pooled connections becomes target of component pool GC.
  • Enabled when [Use component pool] is checked.
  • The default value is "1800000" (30 minutes).
Time out Input timeout time (ms) when requiring connection is exceeded upper bound value if selecting [Limited] in [Upper bound value].
  • Enabled when [Use component pool] is checked.
  • The default value is "30000" (30 seconds).
  • If connection is not generated even when timeout time is over, error occurs.

If the timeout value and the lifetime of connection is changed, the pooled connection up to now is destroyed and new connection using new setting value will be generated. Therefore, the connection number right after changing will be reset to the value set in initial connection number.

Security

Description of items
Item name Description Remarks
Owner The owner of the Global Resource  
Group The group to which the owner of the Global Resource belongs.  
Access permissions Permissions on Global Resource
  • [Use]
    The privilege to view and execute global resources.
  • [Edit]
    The privilege to delete or edit the setting of global resources.
  • Global resources which do not have privilege to use the resource is not listed.
  • The default permission of Global Resource grants its owner both access and edit permissions, whereas the groups and other users are granted only access permission

Reset pool

Component Pool can be reset by the following procedure:
See "Reset component pool" for details.

Specification Limits