<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sybase Blog</title>
	<atom:link href="http://sybaseblog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sybaseblog.com</link>
	<description>Anything About Sybase ASE,Replication Server &#38; Sybase IQ.</description>
	<lastBuildDate>Sat, 18 Feb 2012 17:49:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>XML formatting &#8211; from one line to hierarchical multilevel</title>
		<link>http://sybaseblog.com/2012/02/18/xml-formatting-from-one-line-to-hierarchical-multilevel/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=xml-formatting-from-one-line-to-hierarchical-multilevel</link>
		<comments>http://sybaseblog.com/2012/02/18/xml-formatting-from-one-line-to-hierarchical-multilevel/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 17:49:42 +0000</pubDate>
		<dc:creator>sybanurag</dc:creator>
				<category><![CDATA[UNIX]]></category>
		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://sybaseblog.com/?p=1320</guid>
		<description><![CDATA[Problem: How to convert a xml file which is having data in a single time to multiline multilevel hierarchial format as  [...]]]></description>
			<content:encoded><![CDATA[<p>Problem: How to convert a xml file which is having data in a single time to multiline multilevel hierarchial format as below&#8230;<br />
source_xml.xml:<br />
&#8212;&#8212;&#8212;-<br />
&lt;header&gt;&lt;sequence_no&gt;12345&lt;/sequence_no&gt;&lt;Sender_id&gt;2341&lt;/sender_id&gt;&lt;receipient_id&gt;&lt;ref_no&gt;5678&lt;/ref_no&gt;&lt;/receipient_id&gt;&lt;/header&gt;</p>
<p>destination_xml.xml:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;<br />
&lt;header&gt;<br />
&lt;sequence_no&gt;12345&lt;/sequence_no&gt;<br />
&lt;Sender_id&gt;2341&lt;/sender_id&gt;<br />
&lt;receipient_id&gt;<br />
&lt;ref_no&gt;5678&lt;/ref_no&gt;<br />
&lt;/receipient_id&gt;<br />
&lt;/header&gt;</p>
<p>Solution: Use command line tool xmllint<br />
usage:<br />
&#8212;&#8212;<br />
xmllint -htmlout -format source_xml.xml &gt; destination_xml.xml</p>
]]></content:encoded>
			<wfw:commentRss>http://sybaseblog.com/2012/02/18/xml-formatting-from-one-line-to-hierarchical-multilevel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Petabyte Size Data Store Managed by Hadoop &amp; Map Reduce.</title>
		<link>http://sybaseblog.com/2012/02/11/petabyte-size-data-store-managed-by-hadoop-map-reduce/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=petabyte-size-data-store-managed-by-hadoop-map-reduce</link>
		<comments>http://sybaseblog.com/2012/02/11/petabyte-size-data-store-managed-by-hadoop-map-reduce/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 04:55:16 +0000</pubDate>
		<dc:creator>sybanva</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Sybase IQ Server]]></category>
		<category><![CDATA[IQ]]></category>
		<category><![CDATA[sybaseblog]]></category>

		<guid isPermaLink="false">http://sybaseblog.com/?p=1313</guid>
		<description><![CDATA[
Hadoop
&#8212;&#8212;&#8211;
Source : http://hadoop.apache.org/ &#38; www.
Today, we’re surrounded by data. People upload videos, take pictures on their cell phones, text friends, update their Facebook status, leave comments around the web, click on ads, and so forth. Machines, too, are generating and keeping more and  [...]]]></description>
			<content:encoded><![CDATA[<div dir="ltr">
<p>Hadoop<br />
&#8212;&#8212;&#8211;</p>
<p>Source : <a href="http://hadoop.apache.org/">http://hadoop.apache.org/</a> &amp; www.<br />
Today, we’re surrounded by data. People upload videos, take pictures on their cell phones, text friends, update their Facebook status, leave comments around the web, click on ads, and so forth. Machines, too, are generating and keeping more and more data. You may even be reading this book as digital data on your computer screen, and certainly your purchase of this book is recorded as data with some retailer.</p>
<p>The exponential growth of data first presented challenges to cutting-edge businesses such as Google, Yahoo, Amazon, and Microsoft. They needed to go through terabytes and petabytes of data to figure out which websites were popular, what books were in demand, and what kinds of ads appealed to people. Existing tools were becoming inadequate to process such large data sets. Google was the first to publicize MapReduce—a system they had used to scale their data processing needs.</p>
<p>This system aroused a lot of interest because many other businesses were facing similar scaling challenges, and it wasn’t feasible for everyone to reinvent their own proprietary tool. Doug Cutting saw an opportunity and led the charge to develop an open source version of this MapReduce system called Hadoop . Soon after, Yahoo and others rallied around to support this effort.</p>
<p>What is Hadoop ?<br />
&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Hadoop is an open source framework for writing and running distributed applications that process large amounts of data. Distributed computing is a wide and varied field, but the key distinctions of Hadoop are that it is</p>
<p>1.Accessible—Hadoop runs on large clusters of commodity machines or on cloud computing services such as Amazon’s Elastic Compute Cloud (EC2 ).<br />
2.Robust—Because it is intended to run on commodity hardware, Hadoop is architected with the assumption of frequent hardware malfunctions. It can gracefully handle most such failures.<br />
3.Scalable—Hadoop scales linearly to handle larger data by adding more nodes to the cluster.<br />
4.Simple—Hadoop allows users to quickly write efficient parallel code.</p>
<p>Comparing SQL databases and Hadoop:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Hadoop is a framework for processing data, what makes it better than standard relational databases, the workhorse of data processing in most of today’s applications? One reason is that SQL (structured query language) is by design targeted at structured data. Many of Hadoop’s initial applications deal with unstructured data such as text. From this perspective Hadoop provides a more general paradigm than SQL.<br />
For working only with structured data, the comparison is more nuanced. In principle, SQL and Hadoop can be complementary, as SQL is a query language which can be implemented on top of Hadoop as the execution engine.3 But in practice, SQL databases tend to refer to a whole set of legacy technologies, with several dominant vendors, optimized for a historical set of applications. Many of these existing commercial databases are a mismatch to the requirements that Hadoop targets.<br />
Some Implementation of Hadoop for production purpose :<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Complete List @ <a href="http://wiki.apache.org/hadoop/PoweredBy">http://wiki.apache.org/hadoop/PoweredBy</a></p>
<p>Sybase IQ<br />
&#8212;&#8212;&#8212;<br />
Sybase IQ : <a href="http://www.computerworld.com/s/article/9221355/Updated_Sybase_IQ_supports_Hadoop_MapReduce_Big_Data_">http://www.computerworld.com/s/article/9221355/Updated_Sybase_IQ_supports_Hadoop_MapReduce_Big_Data_</a></p>
<p>EBay<br />
&#8212;-</p>
<p>532 nodes cluster (8 * 532 cores, 5.3PB).<br />
Heavy usage of Java MapReduce, Pig, Hive, HBase<br />
Using it for Search optimization and Research.</p>
<p>Facebook<br />
&#8212;&#8212;-</p>
<p>We use Hadoop to store copies of internal log and dimension data sources and use it as a source for reporting/analytics and machine learning.</p>
<p>Currently we have 2 major clusters:</p>
<p>A 1100-machine cluster with 8800 cores and about 12 PB raw storage.<br />
A 300-machine cluster with 2400 cores and about 3 PB raw storage.<br />
Each (commodity) node has 8 cores and 12 TB of storage.<br />
We are heavy users of both streaming as well as the Java APIs. We have built a higher level data warehousing framework using these features called Hive (see the http://hadoop.apache.org/hive/). We have also developed a FUSE implementation over HDFS.</p>
<p>LinkedIn<br />
&#8212;&#8212;&#8212;</p>
<p>We have multiple grids divided up based upon purpose. * Hardware:<br />
120 Nehalem-based Sun x4275, with 2&#215;4 cores, 24GB RAM, 8x1TB SATA<br />
580 Westmere-based HP SL 170x, with 2&#215;4 cores, 24GB RAM, 6x2TB SATA<br />
1200 Westmere-based SuperMicro X8DTT-H, with 2&#215;6 cores, 24GB RAM, 6x2TB SATA<br />
Software:<br />
CentOS 5.5 -&gt; RHEL 6.1<br />
Sun JDK 1.6.0_14 -&gt; Sun JDK 1.6.0_20 -&gt; Sun JDK 1.6.0_26<br />
Apache Hadoop 0.20.2+patches -&gt; Apache Hadoop 0.20.204+patches<br />
Pig 0.9 heavily customized<br />
Azkaban for scheduling<br />
Hive, Avro, Kafka, and other bits and pieces&#8230;</p>
<p>Twitter<br />
&#8212;&#8212;&#8211;</p>
<p>We use Hadoop to store and process tweets, log files, and many other types of data generated across Twitter. We use Cloudera&#8217;s CDH2 distribution of Hadoop, and store all data as compressed LZO files.</p>
<p>We use both Scala and Java to access Hadoop&#8217;s MapReduce APIs<br />
We use Pig heavily for both scheduled and ad-hoc jobs, due to its ability to accomplish a lot with few statements.<br />
We employ committers on Pig, Avro, Hive, and Cassandra, and contribute much of our internal Hadoop work to opensource (see hadoop-lzo)<br />
For more on our use of Hadoop, see the following presentations: Hadoop and Pig at Twitter and Protocol Buffers and Hadoop at Twitter</p>
<p>Yahoo!<br />
&#8212;&#8212;&#8211;</p>
<p>More than 100,000 CPUs in &gt;40,000 computers running Hadoop<br />
Our biggest cluster: 4500 nodes (2*4cpu boxes w 4*1TB disk &amp; 16GB RAM)<br />
Used to support research for Ad Systems and Web Search<br />
Also used to do scaling tests to support development of Hadoop on larger clusters<br />
Our Blog &#8211; Learn more about how we use Hadoop.<br />
&gt;60% of Hadoop Jobs within Yahoo are Pig jobs.</p>
<p>&nbsp;</p>
<p><a href="http://www.computerworld.com/s/article/9221355/Updated_Sybase_IQ_supports_Hadoop_MapReduce_Big_Data"><span style="font-family: 'Lucida Console';">Data</span></a><span style="font-family: 'Lucida Console';">_</span></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://sybaseblog.com/2012/02/11/petabyte-size-data-store-managed-by-hadoop-map-reduce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implementation of  Function String in Sybase Replication Server(SRS)</title>
		<link>http://sybaseblog.com/2012/01/30/implementation-of-function-string-in-sybase-replication-serversrs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=implementation-of-function-string-in-sybase-replication-serversrs</link>
		<comments>http://sybaseblog.com/2012/01/30/implementation-of-function-string-in-sybase-replication-serversrs/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 17:56:23 +0000</pubDate>
		<dc:creator>sybanva</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Replication Server]]></category>
		<category><![CDATA[Sybase ASE/REP Interview Questions]]></category>
		<category><![CDATA[Interview Ques]]></category>
		<category><![CDATA[Rep]]></category>
		<category><![CDATA[ReplicationServer]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[sybaseblog]]></category>

		<guid isPermaLink="false">http://sybaseblog.com/?p=1306</guid>
		<description><![CDATA[These experience shared by  Senior DBAs as name mentioned, Hope this  will help you to understand more about function string from implementation point of view in a Replication environment: 
Craig Oakley , Senior DBA.
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;--
We used function strings when we wanted to replicate all columns to  [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #0000ff;">These experience shared by  Senior DBAs as name mentioned, Hope this  will help you to understand more about function string from implementation point of view in a Replication environment: </span><br />
<strong>Craig Oakley , Senior DBA.</strong><br />
<strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</strong>-</p>
<blockquote><p>We used function strings when we wanted to replicate all columns to some servers, and only selected columns to other (web-facing) servers. This was particularly useful before Rep Server allowed multiple RepDefs on the same table. One concern was text columns which were not being replicated to the web-facing server: we had to create a function string to get a text pointer (we used a one-row table and just update all the text columns on top of each other, as the value was not needed on that server): failure to get a text pointer cause the DSI to go down, and we could not specify that as a condition to ignore.</p>
<p>Beyond this, I would imagine function strings could help specify how you want the update to be done, which could be a performance improvement. It would also allow for a different implementation at the replicate than there is at the primary (such as a table at the primary being two joined tables at the replicate).</p></blockquote>
<p>&nbsp;</p>
<p><strong>Sukhesh Nair, Senior Sybase DBA</strong><br />
<strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></p>
<blockquote><p>We used to have a setup where data was replicated from sybase to oracle as also to a warm standby sybase server. Rep Server function strings helped in filtering data that would need to be passed to Oracle. It helped immensely in streamlining the data flow to targets by manipulating the incoming data through function string. I feel it is one of the most advanced and useful yet very less used capabilities of Sybase Rep Server.<br />
The deterrent could be because of the complexity it would introduce to the replication system. The setup we had worked wonderfully and never gave us any major problems. Without proper monitoring (which needs to be scripted by DBAs) it used to be hard to maintain. Many of the current Rep Server administrators I see do not have adequate knowledge or experience of handling function strings.</p></blockquote>
<p><strong>Rey Wang , Senior Sybase DBA</strong><br />
<strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</strong></p>
<blockquote><p>You can map the delete to no op with functional string.</p></blockquote>
<p><strong>Partha Gogoi Senior DBA</strong><br />
<strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</strong></p>
<blockquote><p>We use function strings to transform data at the replicate..We have databases being replicated from Toronto and New York to London, Sydney and Singapore and the client ids are transformed at the replicate because, as per business requirements, the client ids are different at each site.. Of course , having a Universal client id would simplify things , but the systems and databases at each site grew independently until replication was set up and it would be a lot of rework to change all the client ids at the replicate sites</p></blockquote>
<p><strong>Øystein Grinaker Senior DBA</strong><br />
<strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong></p>
<blockquote><p>A Function String could be used to change default behaviour.<br />
Say you delete a row in a table on PDB, but you do not want to delete the row on the RDB. Then make a change in rs_delete. You may make the rs delete just to make a logical delete by updateing a deletemarker for that spesific row.</p></blockquote>
<p>&nbsp;</p>
<p>Source : Linkedin.com</p>
<p><a href="http://www.linkedin.com/groups/What-are-possible-usage-Function-3955841.S.65585220?qid=4eb177c2-d7e3-4572-9be4-92d640046c6c&amp;trk=group_most_recent_rich-0-b-ttl&amp;goback=%2Egmr_3955841">http://www.linkedin.com/groups/What-are-possible-usage-Function-3955841.S.65585220?qid=4eb177c2-d7e3-4572-9be4-92d640046c6c&amp;trk=group_most_recent_rich-0-b-ttl&amp;goback=%2Egmr_3955841</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sybaseblog.com/2012/01/30/implementation-of-function-string-in-sybase-replication-serversrs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multi-Path Replication (MPR) technology : Replication Server 15.7</title>
		<link>http://sybaseblog.com/2012/01/07/multi-path-replication-mpr-technology-replication-server-15-7/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=multi-path-replication-mpr-technology-replication-server-15-7</link>
		<comments>http://sybaseblog.com/2012/01/07/multi-path-replication-mpr-technology-replication-server-15-7/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 21:53:51 +0000</pubDate>
		<dc:creator>sybanva</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Replication Server]]></category>

		<guid isPermaLink="false">http://sybaseblog.com/?p=1301</guid>
		<description><![CDATA[ The imminent release of Replication Server 15.7 continues pushing envelop and maintaining its leading edge by introducing new Multi-Path Replication (MPR) technology.
So, what is MPR? MPR improves replication performance and reduces latency by enabling parallel paths of data from the source  [...]]]></description>
			<content:encoded><![CDATA[<p> The imminent release of Replication Server 15.7 continues pushing envelop and maintaining its leading edge by introducing new Multi-Path Replication (MPR) technology.</p>
<p>So, what is <strong>MPR</strong>? MPR improves replication performance and reduces latency by enabling parallel paths of data from the source database to the target database. These parallel paths will process data independently of each other to improve overall efficiency, performance and load balancing.</p>
<p><strong>Full Source</strong> @ <a href="http://blogs.sybase.com/zhangb/2011/12/replication-server-improves-performance-and-reduces-latency-with-mpr/#respond">http://blogs.sybase.com/zhangb/2011/12/replication-server-improves-performance-and-reduces-latency-with-mpr/#respond</a></p>
<p><strong>Note :</strong></p>
<p> <em>What about the order of transacation , that need to maintain at target side?</em><br />
<em>Even transaction can come rapidally at target , but it must be applying in a order.</em></p>
<p><em>Commit order is maintained within single path. To increase performance on a single path, one can employ parallel DSI, Bulk copy and HVAR features RS has introduced in earlier releases. To take advantage of MPR, users need to fully understand application schema to divide them as commit order is not guaranteed among paths.</em></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sybaseblog.com/2012/01/07/multi-path-replication-mpr-technology-replication-server-15-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inserting data into a data-only-locked heap table</title>
		<link>http://sybaseblog.com/2012/01/05/inserting-data-into-a-data-only-locked-heap-table/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=inserting-data-into-a-data-only-locked-heap-table</link>
		<comments>http://sybaseblog.com/2012/01/05/inserting-data-into-a-data-only-locked-heap-table/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 18:26:36 +0000</pubDate>
		<dc:creator>sybanurag</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Developement]]></category>
		<category><![CDATA[Start Sybase]]></category>
		<category><![CDATA[Sybase ASE/REP Interview Questions]]></category>
		<category><![CDATA[Sybase]]></category>

		<guid isPermaLink="false">http://sybaseblog.com/?p=1298</guid>
		<description><![CDATA[When users insert data into a data-only-locked heap table, Adaptive Server tracks page numbers where the inserts have recently occurred, and keeps the page number as a hint for future tasks that need space. Subsequent inserts to the table are directed to one of these pages. If the page is full,  [...]]]></description>
			<content:encoded><![CDATA[<p>When users insert data into a data-only-locked heap table, Adaptive Server tracks page numbers where the inserts have recently occurred, and keeps the page number as a hint for future tasks that need space. Subsequent inserts to the table are directed to one of these pages. If the page is full, Adaptive Server allocates a new page and replaces the old hint with the new page number.</p>
<p>/***********************************************************************************************************<br />
Blocking while many users are simultaneously inserting data is much less likely to occur during inserts to data-only-locked heap tables. When blocking occurs, Adaptive Server allocates a small number of empty pages<br />
and directs new inserts to those pages using these newly allocated pages as hints.<br />
**********************************************************************************************************/</p>
<p>For datarows-locked tables, blocking occurs only while the actual changes to the data page are being written; although row locks are held for the duration of the transaction, other rows can be inserted on the page. The row-level locks allow multiple transaction to hold locks on the page.</p>
<p>If conflicts occur during heap inserts<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Conflicts during inserts to heap tables are greatly reduced for data-onlylocked tables, but can still take place. If these conflicts slow inserts, some workarounds can be used, including:</p>
<p>• Switching to datarows locking, if the table uses datapages locking<br />
• Using a clustered index to spread data inserts<br />
• Partitioning the table, which provides additional hints and allows new pages to be allocated on each partition when blocking takes place</p>
]]></content:encoded>
			<wfw:commentRss>http://sybaseblog.com/2012/01/05/inserting-data-into-a-data-only-locked-heap-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inserting data into an allpages-locked heap table</title>
		<link>http://sybaseblog.com/2012/01/05/inserting-data-into-an-allpages-locked-heap-table/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=inserting-data-into-an-allpages-locked-heap-table</link>
		<comments>http://sybaseblog.com/2012/01/05/inserting-data-into-an-allpages-locked-heap-table/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 18:21:39 +0000</pubDate>
		<dc:creator>sybanurag</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Developement]]></category>
		<category><![CDATA[Start Sybase]]></category>
		<category><![CDATA[Sybase ASE/REP Interview Questions]]></category>
		<category><![CDATA[Sybase]]></category>

		<guid isPermaLink="false">http://sybaseblog.com/?p=1295</guid>
		<description><![CDATA[When you insert data into an allpages-locked heap table, the data row is always added to the last page of the table. If there is no clustered index on a table, and the table is not partitioned, the sysindexes.root entry for the heap table stores a pointer to the last page of the heap to locate the  [...]]]></description>
			<content:encoded><![CDATA[<p>When you insert data into an allpages-locked heap table, the data row is always added to the last page of the table. If there is no clustered index on a table, and the table is not partitioned, the sysindexes.root entry for the heap table stores a pointer to the last page of the heap to locate the page<br />
where the data needs to be inserted.</p>
<p>If the last page is full, a new page is allocated in the current extent and linked onto the chain. If the extent is full, Adaptive Server looks for empty pages on other extents being used by the table. If no pages are available, a new extent is allocated to the table.</p>
<p>Conflicts during heap inserts<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
If many users are trying to insert into an allpages-locked heap table at the same time, each insert must<br />
wait for the preceding transaction to complete.</p>
<p>This problem of last-page conflicts on heaps is true for:<br />
• Single row inserts using insert<br />
• Multiple row inserts using select into or insert&#8230;select, or several insert statements in a batch<br />
• Bulk copy into the table</p>
<p>Some workarounds for last-page conflicts on heaps include:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
• Switching to datapages or datarows locking<br />
• Creating a clustered index that directs the inserts to different pages<br />
• Partitioning the table, which creates multiple insert points for the table, giving you multiple “last pages” in an allpages-locked table</p>
]]></content:encoded>
			<wfw:commentRss>http://sybaseblog.com/2012/01/05/inserting-data-into-an-allpages-locked-heap-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sybase Interview Questions</title>
		<link>http://sybaseblog.com/2012/01/04/sybase-interview-questions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sybase-interview-questions</link>
		<comments>http://sybaseblog.com/2012/01/04/sybase-interview-questions/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 20:38:38 +0000</pubDate>
		<dc:creator>sybanva</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Sybase ASE/REP Interview Questions]]></category>

		<guid isPermaLink="false">http://sybaseblog.com/?p=1290</guid>
		<description><![CDATA[Same has been updated in @http://sybaseblog.com/interviewquestions/
How can we configure the dbcc database?
How can you configure sybsecurity?
Have you ever worked on terabyte size of  database? How are you taking backup for the same?
Whats the diff between MSA and WS?  Can we consider MSA as a  [...]]]></description>
			<content:encoded><![CDATA[<p>Same has been updated in @<a href="http://sybaseblog.com/interviewquestions/">http://sybaseblog.com/interviewquestions/</a><br />
How can we configure the dbcc database?</p>
<p>How can you configure sybsecurity?</p>
<p>Have you ever worked on terabyte size of  database? How are you taking backup for the same?</p>
<p>Whats the diff between MSA and WS?  Can we consider MSA as a Ws?</p>
<p>You are not able to execute any command in ASE as tempdb is full and you cant create user defined tempdb on the fly , how will you investigate ?</p>
<p>What are the new features fo Sybase ASE 15?</p>
<p>What are the different options avilable with reorg ?</p>
<p>Why we require reorg ?</p>
<p>Suppose if every thing is fine in REplication enviorment  and data is not replicating , how will you troubleshoot the same?</p>
<p>What is gen id in rep server?</p>
<p>How can you check the latency in the replication enviorment?</p>
<p>Whats is HA in Sybase? How can we monitor the HA status?</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sybaseblog.com/2012/01/04/sybase-interview-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adaptive Server pages</title>
		<link>http://sybaseblog.com/2012/01/03/adaptive-server-pages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adaptive-server-pages</link>
		<comments>http://sybaseblog.com/2012/01/03/adaptive-server-pages/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 16:26:02 +0000</pubDate>
		<dc:creator>sybanurag</dc:creator>
				<category><![CDATA[ASE]]></category>

		<guid isPermaLink="false">http://sybaseblog.com/?p=1288</guid>
		<description><![CDATA[The size of Adaptive Server‘s logical pages (2K, 4K, 8K, or 16K) determines the server’s space allocation. Each allocation page, object allocation map (OAM) page, data page, index page, text page, and so on
are built on a logical page. For example, if the logical page size of Adaptive Server is 8K,  [...]]]></description>
			<content:encoded><![CDATA[<p>The size of Adaptive Server‘s logical pages (2K, 4K, 8K, or 16K) determines the server’s space allocation. Each allocation page, object allocation map (OAM) page, data page, index page, text page, and so on<br />
are built on a logical page. For example, if the logical page size of Adaptive Server is 8K, each of these page types are 8K in size. All of these pages consume the entire size specified by the size of the logical page. OAM pages have a greater number of OAM entries for larger logical pages (for example, 8K) than for smaller pages (2K).</p>
<p>The logical page size is a server-wide setting; you cannot have databases with varying size logical pages within the same server. All tables are appropriately sized so that the row size is no greater than the current page size of the server. That is, rows cannot span multiple pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://sybaseblog.com/2012/01/03/adaptive-server-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sybase Improves Performance with SAP Business Suite on ASE</title>
		<link>http://sybaseblog.com/2012/01/03/sybase-improves-performance-with-sap-business-suite-on-ase/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sybase-improves-performance-with-sap-business-suite-on-ase</link>
		<comments>http://sybaseblog.com/2012/01/03/sybase-improves-performance-with-sap-business-suite-on-ase/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 19:30:19 +0000</pubDate>
		<dc:creator>sybanva</dc:creator>
				<category><![CDATA[ASE]]></category>

		<guid isPermaLink="false">http://sybaseblog.com/?p=1285</guid>
		<description><![CDATA[Source : Sybase Ince on youtube
]]></description>
			<content:encoded><![CDATA[<p>Source : Sybase Ince on youtube</p>
<span style="text-align:center; display: block;"><a href="http://sybaseblog.com/2012/01/03/sybase-improves-performance-with-sap-business-suite-on-ase/"><img src="http://img.youtube.com/vi/QBYpU2M2FtE/2.jpg" alt="" /></a></span>
]]></content:encoded>
			<wfw:commentRss>http://sybaseblog.com/2012/01/03/sybase-improves-performance-with-sap-business-suite-on-ase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sybase IQ : Architecture &amp; Benefits</title>
		<link>http://sybaseblog.com/2012/01/03/sybase-iq-architecture-benefits/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sybase-iq-architecture-benefits</link>
		<comments>http://sybaseblog.com/2012/01/03/sybase-iq-architecture-benefits/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 18:44:03 +0000</pubDate>
		<dc:creator>sybanva</dc:creator>
				<category><![CDATA[Sybase ASE/REP Interview Questions]]></category>
		<category><![CDATA[Sybase IQ Server]]></category>

		<guid isPermaLink="false">http://sybaseblog.com/?p=1283</guid>
		<description><![CDATA[Sybase IQ ??
================
Sybase® IQ is a high-performance decision-support server designed specifically for data warehousing.
Sybase IQ is part of the Sybase product family that includes Adaptive Server Enterprise and SQL Anywhere. Component Integration Services within Sybase IQ provide direct  [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Sybase IQ ??</strong><br />
<strong>================</strong></p>
<p>Sybase® IQ is a high-performance decision-support server designed specifically for data warehousing.</p>
<p>Sybase IQ is part of the Sybase product family that includes Adaptive Server Enterprise and SQL Anywhere. Component Integration Services within Sybase IQ provide direct access to relational and nonrelational databases on mainframe, UNIX, or Windows servers.</p>
<p>&nbsp;</p>
<p><strong>Architecture ??</strong><br />
<strong>===============</strong></p>
<p>Sybase IQ architecture differs from most relational databases. Sybase IQ focuses on readers, not writers, which provides a fast query response for many users.</p>
<p>Data is stored in columns, not rows</p>
<p>Placing indexes on all columns provides a performance advantage</p>
<p>A large page size provides a performance advantage</p>
<p>A large temporary cache provides a performance advantage for most operations</p>
<p>Access to data occurs at the table level</p>
<p>Most query results focus on data at the table level</p>
<p>Most insertions and deletions write data for an entire table, not for a single row.</p>
<p>&nbsp;</p>
<p><strong>Benefits ??</strong><br />
<strong>=========</strong><br />
Sybase IQ is a decision support system optimized to deliver superior performance for mission-critical business solutions.</p>
<p>Intelligent query processing that use index-only access plans to process any type of query.</p>
<p>Ad hoc query performance on uniprocessor and parallel systems.</p>
<p>Multiplex capability for managing large query loads in a multi-server configuration.</p>
<p>Fully-flexible schema support.</p>
<p>Efficient query execution without query-specific tuning under most circumstances.</p>
<p>Fast initial and incremental loading.</p>
<p>Fast aggregations, counts, comparisons of data.</p>
<p>Parallel processing optimized for multi-user environments.</p>
<p>Stored procedures.</p>
<p>Increased productivity due to reduced query time.</p>
<p>Entire database and indexing stored in less space than raw data.</p>
<p>Reduced input/output (I/O).</p>
]]></content:encoded>
			<wfw:commentRss>http://sybaseblog.com/2012/01/03/sybase-iq-architecture-benefits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

