on ‎2016 May 06 11:59 AM
Hi experts,
I have a question regarding creation of a new data base in ASE Server 15.5
Should i first create the disk allocation fand then launch
-create database on xxxx.dat
or the command
-create database creates automatically the disk allocation?
I mean:
First option:
disk init
name = "user_disk",
physname = "/usr/u/sybase/data/userfile1.dat",
size = 5120,
Create database myDB
on "user_disk" ='size'
log on "user_disk"='size
Second option execute only create database without disk init:
Create database myDB
on "user_disk" ='size'
log on "user_disk"='size
Thank you
Request clarification before answering.
The devices have to be created before you can create a database on them.
The devices could have been created long ago; as long as they exist and have sufficient free space on them you can run CREATE or ALTER DATABASE on them.
-bret
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.