Teradata 16.20 服务器搭建与测试,
Teradata Express
Installation and Configuration Guide
Release 16.20
February 2018
Teradata Express 16.20 is a free, fully-operational Teradata Database 16.20 virtual machine (VM) image with 40 GB storage.
Teradata Express 16.20是免费、可完整操作的Teradata数据库16.20 虚拟机镜像,带有40G存储。
既然都说了Teradata Express 16.20是一个虚拟机镜像,那么我们就需要下载这个镜像然后就是需要一个VMware软件了
Downloading Teradata Express
1. If it is not already installed, download and install VMware Player.
2. Open Teradata Downloads. Log in, if needed.
3. On the Downloads page, in the Teradata Express field, click VMware.
4. Download the TDExpress16.20.02_SLES11 compressed package.
5. Using a zip file extractor such as 7-Zip, extract the package to your VMware location.
步骤1 - 从链接下载所需的VM版本,http://downloads.teradata.com/download/database/teradata-express-for-vmware-player
步骤2 - 提取文件并指定目标文件夹。
步骤3 - 从链接https://my.vmware.com/web/vmware/downloads下载VMWare Workstation播放器。 它可用于Windows和Linux。 下载适用于Windows的VMWARE工作站播放器。
下好虚拟机以及安装好VMware之后,我们就可以打开虚拟机然后进入正规的测试了:
开机之后登陆名和密码均为root
Testing the Installation
1. To confirm that the database has come up, type: # pdestate -a
For example:
TDExpress16.20_Sles11:~ # pdestate -a
PDE state is RUN/STARTED.
DBS state is 5: Logons are enabled - The system is quiescent
TDExpress16.20_Sles11:~ #
2. From the VMware desktop, open the GNOME Terminal.
3. At the shell prompt, type BTEQ
4. At the log on prompt, type:
.logon 127.0.0.1/dbc
做一个测试查询:
select * from dbc.dbcinfo;
新建数据库:
添加用户:
修改一个用户的命令实例:
Modify user testuser as password=newpassword;
添加数据表:
show table:
插入数据:
查询数据:
删表:
删库跑路: