GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Database  >  Sybase
Go To First  |  Previous Question  |  Next Question 
 Sybase  |  Question 39 of 64    Print  
how to clear the logsegment when the Secondary truncation point is on ?

  
Total Answers and Comments: 2 Last Update: November 24, 2008     Asked by: srihari 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 22, 2008 08:10:24   #1  
shyamsundar20 Member Since: September 2008   Contribution: 1    

RE: how to clear the logsegment when the Secondary truncation point is on ?
I believe we wont be able to clear log segment when secondary truncation point is on.

However we can try running dump tran with truncate_only and checkpoint.

could someone with more details shed for some details.

 
Is this answer useful? Yes | No
November 23, 2008 23:56:24   #2  
dhampack Member Since: November 2008   Contribution: 6    

RE: how to clear the logsegment when the Secondary truncation point is on ?
There are only two options to clear the log
1) Kill the tran which is filling up the log
2) Extend the transaction log to complete the transaction.

don't use 'dump with truncate_only' if you have tran dump job setup.
I would also stop and restart rep agent I have seen some cases where rep agent gets hung and don't process transactions.

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : There are only two options to clear the log1) Kill the tran which is filling up the log2) Extend the transaction log to complete the transaction.don't use 'dump with truncate_only' if you have tran dump job setup. I would also stop and restart ...
Read Answers (2) | Asked by : srihari

Latest Answer : declare @source varchar(30) select @source = "10.236.155.17" while charindex(".",@source) > 0 begin select @source = stuff(@source,charindex(".",@source),1,",") end select @source ...
Read Answers (2) | Asked by : Sarathy

Latest Answer : Dump tran with truncate_only if it is not cleared the go for select lct_admin("abort", {process_id [, database_id]}) ...
Read Answers (2) | Asked by : srihari


 Sponsored Links

 
Related Articles

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

Performing XSLT Transformations inside the Database

Performing XSLT Transformations inside the Database Now that you have the employees XSL stylesheet stored in the database and the xmlusr schema is permitted to access the hr employees table you can create a script that will instruct the database to build an HTML page based on the data stored in hr e
 

Moving All the XML Processing into the Database

Moving All the XML Processing into the Database In the preceding example the database server performs only a part of the XML processing while the rest is still performed by the PHP engine Specifically the database server generates an employees XML document based on the records from the hr employees
 

Performing XML Processing inside the Database

Performing XML Processing inside the Database When building XML enabled applications on top of Oracle there are many advantages to performing the XML processing inside the database when compared to performing it on the client The key advantages to perform XML processing inside the database are as fo
 

Point to Point Protocol (PPP)

Point to Point Protocol PPP The Point to Point Protocol is a platform that is used to connect any individual computer or a network to the internet service provider The connection is established between two points only and that is why it is called Point to Point Protocol The PPP is considered be the
 

What is Access Point

An access point (AP; or also "WAP" for "wireless access point") is a node responsible for the formation of a wireless network through connection between wireless communication devices. It acts as a central transmitter and receiver of wireless radio signals, and is
 

What is Operational Database

Operational Database is the database-of-record, consisting of system-specific reference data and event data belonging to a transaction-update system. It may also contain system control data such as indicators, flags, and counters. The operational database is the source of data for the data warehouse
 

Evolution of database systems

The Evolution of Database systems File Management System Hierarchical database System  Network Database System  Relational Database System File Management System: The file management system also called as FMS in short is one in which all data is stored on a singl
 

Database Concurrency and Reliability

Database Concurrency and Reliability Overview Concurrency and reliability have long been “hot topics” of discussion among developers and users of distributed systems. The fundamental problem can be seen in a simple example, as follows. Suppose two users are working on the same
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape