新的数据库路径被称为 /salesdb。
新的数据库路径不能为空!
如果不改变数据库路径,那么只需指定当前路径即可。
If the database path is not changing then you only need to specify the current path.
知道数据库路径后,则可以轻松打开一个应用程序并执行传入的代码。
After you know the database path, it is easy to open the application to execute the code passed in.
在安装过程中,确信你指定了与老计算机相同的日志和数据库路径。
During setup, make sure you specify the same log and database paths as on the old computer.
如果没有指定存储路径,那么就使用缺省的数据库路径(dftdbpath)。
If no storage paths are specified, the default database path (dftdbpath) is used.
无论修改实例名、数据库名,还是修改数据库路径,都需要修改所有的分区。
Changing any one of the instance name, database name, or database path requires that the changes be made on all partitions.
但是如果改变数据库路径,那么就必须指定当前路径和新路径,中间用逗号分开。
However, if you are changing the database path then you would specify the current path and the new path, separated by a comma.
如果要改变数据库路径(使用DB_PATH),那么不需要在配置文件中列出所有这些容器。
If you are changing the database path (using DB_PATH) then you do not need to list all of these containers in the configuration file.
请记住,数据库路径只是DB 2使用的目录结构的一部分,因此,在确定目标位置时,必须遵循同样的规则。
Remember, the database path is only part of the directory structure that DB2 USES, so you must follow the same rules when you determine the target location.
请记住,数据库路径只是DB 2使用的目录结构的一部分,因此,在确定目标位置时,必须遵循同样的规则。
Remember, the database path is only part of the directory structure that DB2 USES so you must follow the same rules when you determine the target location.
目录结构看上去是这样的:“<数据库路径>/<实例名>/<节点名>/SQLnnnnn/”。
The directory structure appears as "<database path>/<instance name>/<node name>/SQLnnnnn/."
可以通过指定RELOCATEUSING选项修改这些配置属性:实例名、日志路径和数据库路径。
The RELOCATE USING option can be specified to change one or more of these configuration attributes: instance name, log path, and database path.
注意,创建数据库时,如果没有提供数据库路径,那么可以使用数据库管理员配置参数DFTDBPATH的值。
Note that if the database path is not provided by the user when the database is created then the value of the database manager configuration parameter DFTDBPATH is used.
本文中的示例都是基于UNIX的,但也可以将它们用于基于Windows的数据库(除了数据库路径支持的驱动器符号外)。
The examples that are used throughout this article are UNIX-based. However, they should still apply to Windows-based databases (except that only drive letters are supported for database paths).
在使用分割镜像解决方案时,建议在一个数据库路径中只创建一个数据库,这样,在本地数据库目录(sqldbdir)中,每个数据库只有一个对应的条目。
When using a split mirror solution, it is recommended to create a single database in a database path so that the local database directory (" sqldbdir ") only has the entry for a single database.
这个文件系统将会被挂载到 /db2sd,而目录 /db2sd/
The file system will be mounted as /db2sd, and the directory /db2sd/
生成的表空间将在数据库使用的每个存储路径上拥有一个容器。
The resulting table space will have a container on each storage path used by the database.
数据库结构更改,从主键删除了搜索路径。
Database structure change to remove search path from primary keys.
通过使用您自己的数据库名称、服务器名称、别名、路径等等,可以修改这个场景。
You can adapt this scenario using your own database names, server names, aliases, paths, and so on.
DB 2中的静态SQL是一个强大的功能,可以通过预先执行某些工作来简化运行时的数据访问,例如确定数据库访问路径。
Static SQL in DB2 is a powerful capability that can streamline data access at run time by doing some of the work ahead of time, such as determining the database access path.
具体表现就是提前执行一些工作,比如确定数据库访问路径。
It does this by performing some work ahead of time, such as determining the database access path.
该参数使归档日志保留在数据库日志路径目录中。
This parameter causes archived logs to be kept in the database log path directory.
比方说,修改和数据库相关的名称和路径可以使用DB2 的备份和恢复命令来完成。
For instance, changing the name and the path associated with a database can be accomplished using DB2’s backup and restore commands.
这个例行程序为你的测试程序提供了访问数据库的路径,但它同时使测试程序设计员无法处理注册程序的准确语义。
This routine provides your test programs with the means to access the database, but it also shields the test programmers from having to deal with the exact semantics of the login procedure.
URL是所需的资源属性,它指定访问数据库的路径。
URL is a required resource property; specify the one for accessing your database.
先备份数据库,然后用新的名称和/或路径恢复。
The database is backed up and then restored with a new name and/or target path.
改变和数据库有关的日志路径。
屏幕图:Createdatabase向导,其中包含数据库名、默认路径、别名和注释字段。
Screen cap: Create database wizard, with fields for database name, default path, alias, and comment.
为数据库配置了路径后,必须使用来自DemoNAB的信息填充索引数据库。
After you have configured the paths to the databases, you must populate the index database with information from the Demo NAB.
应用推荐