Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > Devices for database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-18-07, 00:35
pvvsnaveen pvvsnaveen is offline
Registered User
 
Join Date: Feb 2007
Location: India
Posts: 37
Devices for database

Hi,
I have one production database.
device seg alloc
sybase1 data 1000MB
sybase2 data 1000 MB
sybase3 data 1200 MB
sybase4 log 500 MB

Now i want to create a db on DEV server
can i do like this?

device seg alloc
sybase1 data 3200 MB
sybase2 log 500 MB

What is the effect if i create like above?
i dont have partitined tables or user segments created on PROD server.
Reply With Quote
  #2 (permalink)  
Old 12-18-07, 03:20
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 830
Will be fine if that was the order in which it was created

What is the output from:
select * from sysusages
where dbid=<your_prod_dbid>
order by lstart

if e.g.
sybase1 data 1000MB
sybase4 log 500 MB
sybase2 data 1000 MB
sybase3 data 1200 MB

Then you should create it like this:
sybase1 data 1000 MB
sybase2 log 500 MB
sybase1 data 2200 MB
Reply With Quote
  #3 (permalink)  
Old 12-20-07, 04:06
pvvsnaveen pvvsnaveen is offline
Registered User
 
Join Date: Feb 2007
Location: India
Posts: 37
You mean to say the order should follow sysusages..lstart seq.
Reply With Quote
  #4 (permalink)  
Old 12-21-07, 05:17
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 830
Yes, else you might end with data on log device or log on data device.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On