[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1

How to unmix data and log segments on same device SYBASE??

Asked by Veneno in Sybase Database

Tags: SYBASE 12.5.0.3

We recently have a disk crash, where we were running our SYBASE ASE 12.5 server, we had the dump files for databases and we could recover in other installed server, the issue is found out that we have the log and data spaces mixed on the same devices and we now have to be able to make dump of the transaction log, so I have to questions:

1. Is it possible to make dumps of the transaction under this database structure?
2. How does this strcuture affects the performance?
3. What detaled procedure should we follow in order to umix the log and data segments on same device?

I paste results for sysusages and helpdb:

dbid   segmap      lstart      size        vstart      pad    unreservedpgs crdate                      
------ ----------- ----------- ----------- ----------- ------ ------------- ---------------------------          
4      3           0           12800       33554432    (null) 0             Apr 7 2009  7:00AM          
4      4           12800       3840        50331648    (null) 3825          Apr 7 2009  7:00AM          
4      3           16640       28160       50362368    (null) 0             Apr 7 2009  7:00AM          
4      3           44800       64000       67108864    (null) 24058         Apr 7 2009  7:00AM          
4      3           108800      6400        570425344   (null) 6375          Apr 7 2009  7:00AM          
4      4           115200      3840        570476544   (null) 3825          Apr 7 2009  7:00AM          
7      3           0           25600       167772160   (null) 0             Apr 7 2009  6:26AM          
7      4           25600       6400        184549376   (null) 6375          Apr 7 2009  6:26AM          
7      3           32000       25600       184600576   (null) 0             Apr 7 2009  6:26AM          
7      3           57600       64000       201326592   (null) 0             Apr 7 2009  6:26AM          
7      3           121600      64000       218103808   (null) 0             Apr 7 2009  6:26AM          
7      3           185600      6400        234881024   (null) 0             Apr 7 2009  6:26AM          
7      4           192000      6400        234932224   (null) 6375          Apr 7 2009  6:26AM          
7      3           198400      51200       234983424   (null) 0             Apr 7 2009  6:26AM          
7      3           249600      12800       251658240   (null) 0             Apr 7 2009  6:26AM          
7      4           262400      25600       251760640   (null) 25500         Apr 7 2009  6:26AM          
7      3           288000      25600       251965440   (null) 0             Apr 7 2009  6:26AM          
7      3           313600      64000       268435456   (null) 0             Apr 7 2009  6:26AM          
7      3           377600      64000       285212672   (null) 0             Apr 7 2009  6:26AM          
7      3           441600      102400      301989888   (null) 40020         Apr 7 2009  6:26AM          
7      3           544000      15872       318767104   (null) 15810         Apr 7 2009  6:26AM

name                     db_size       owner                    dbid   created        status                                                                                                
------------------------ ------------- ------------------------ ------ -------------- ------------------------------------------------------------------------------------------------------
cobis                        1860.0 MB sa                       4      Apr 01, 2009   select into/bulkcopy/pllsort, trunc log on chkpt                                                      
device_fragments               size          usage                created             free kbytes                    
------------------------------ ------------- -------------------- ------------------- ------------------------------
cobis_dat                      200.0 MB      data only            Apr  7 2009  7:00AM              128              
cobis_dat1                     440.0 MB      data only            Apr  7 2009  7:00AM                0              
cobis_dat1                     60.0 MB       log only             Apr  7 2009  7:00AM not applicable                
cobis_dat2                     1000.0 MB     data only            Apr  7 2009  7:00AM           364528              
cobis_log1                     100.0 MB      data only            Apr  7 2009  7:00AM           102000              
cobis_log1                     60.0 MB       log only             Apr  7 2009  7:00AM not applicable                
                                                               
--------------------------------------------------------------
log only free kbytes = 122512    

name                     db_size       owner                    dbid   created        status                                                                                                
------------------------ ------------- ------------------------ ------ -------------- ------------------------------------------------------------------------------------------------------
cob_cartera                  8748.0 MB sa                       7      Apr 01, 2009   select into/bulkcopy/pllsort, trunc log on chkpt                                                      
device_fragments               size          usage                created             free kbytes                    
------------------------------ ------------- -------------------- ------------------- ------------------------------
cob_cartera_dat                400.0 MB      data only            Apr  7 2009  6:26AM                0              
cob_cartera_dat1               400.0 MB      data only            Apr  7 2009  6:26AM                0              
cob_cartera_dat1               100.0 MB      log only             Apr  7 2009  6:26AM not applicable                
cob_cartera_dat2               1000.0 MB     data only            Apr  7 2009  6:26AM                0              
cob_cartera_dat3               1000.0 MB     data only            Apr  7 2009  6:26AM                0              
cob_cartera_dat4               100.0 MB      data only            Apr  7 2009  6:26AM                0              
cob_cartera_dat4               800.0 MB      data only            Apr  7 2009  6:26AM                0              
cob_cartera_dat4               100.0 MB      log only             Apr  7 2009  6:26AM not applicable                
cob_cartera_dat5               200.0 MB      data only            Apr  7 2009  6:26AM                0              
cob_cartera_dat5               400.0 MB      data only            Apr  7 2009  6:26AM                0              
cob_cartera_dat5               400.0 MB      log only             Apr  7 2009  6:26AM not applicable                
cob_cartera_dat6               1000.0 MB     data only            Apr  7 2009  6:26AM                0              
cob_cartera_dat7               1000.0 MB     data only            Apr  7 2009  6:26AM                0              
cob_cartera_dat8               1600.0 MB     data only            Apr  7 2009  6:26AM           527104              
cob_cartera_log                248.0 MB      data only            Apr  7 2009  6:26AM           252960              
                                                               
--------------------------------------------------------------
log only free kbytes = 611968                                  

Any help would be really appreciated
[+][-]04/17/09 01:43 AM, ID: 24165804Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/17/09 01:56 AM, ID: 24165855Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Sybase Database
Tags: SYBASE 12.5.0.3
Sign Up Now!
Solution Provided By: Joe_Woodhouse
Participating Experts: 2
Solution Grade: A
 
[+][-]04/17/09 02:02 AM, ID: 24165894Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/17/09 02:05 AM, ID: 24165910Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625