The following table describes the scripts that create the ATG Service schemas.
Note: If you have already created production and data warehouse schemas for your installation, use the existing schemas. Do not create new production and data warehouse schemas.
SQL File | Description |
---|---|
| Each supported database has its own version of the This script calls the |
| The |
| The create-service-production-all script runs the |
| This adds the |
| (Optional) These SQL script install the |
Schema SQL files
The following schemas are installed during the installation process:
Schema | SQL File |
---|---|
Agent |
|
Production |
|
Publishing |
|
Data Warehouse |
|
Using MSSQL in Multi-Language Sites
Keep the following in mind for multi-language sites:
The default schema uses the non-Unicode data type
char
orvarchar
for strings, so only one language encoding is supported by defaultIf you are configuring a multi-language site with MSSQL, to view Japanese characters correctly when the solution is authored in Japanese, ensure that the
useSetCharacterStream
attribute is set totrue
in the components for all repositories. You can set the value for all repositories in your ATG installation by editing theGLOBAL.properties
file in the top-level configuration layer
MSSQL and Performance
To significantly improve performance, set the sendStringParametersAsUnicode
parameter in the Microsoft SQL server driver. If using the com.microsoft.jdbc.sqlserver.SQLServerDriver
, make sure the data source URL includes sendStringParametersAsUnicode=false
.
For example:
jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=admin;
sendStringParametersAsUnicode=false;SelectMethod=cursor
To Edit and Install the ATG Service Schemas
The create-service-all
batch/shell script creates the database tables for all of the ATG Service modules, including Search. For more information, refer to Using Search with ATG Service.
Before running the scripts, CIM asks you to provide configuration information for the environment variables for your database. Provide the agent, production, and data warehouse database account name for your environment. Once you have completed the edits, CIM will continue running the create-service-all
file.