Sybase Blog -Anything About Sybase ASE,REP,IQ.
Tuesday, August 17, 2010
Replication Server Interview questions updated!!!
Just added some more ques for Sybase Replication Server in interviewquestion page @http://sybaseblog.com/interviewquestions/
Happy Learning sybase ...:)
Have Fun....
Cheers!!!!
Tuesday, August 10, 2010
Sybase Community Forum...
After long time, new posting...:(
Just sharing..may be some folks aware with it...Recently came across the Sybase's own community forum, supported by Team Sybase....
Its having very good technical discussion, troubleshooting...tips fo ASE, IQ, Replication and many more...
http://www.sybase.com/detail_list?id=11507
Saturday, January 23, 2010
How to check the Replication Latency manually?
For the checking latency between Primary and Replicated DBs , we have several methods.
Here, I am posting the manual method for checking the replication latency. If you have any more thoughts, please comment it out.
Rite Now I am travelling to Delhi, my train got late, so I am spending my time with my fav, with new posting in blog.
For calculating the latency, we can make two tables in PDB and RDB with column as defaut datetime, and setup replication between these two tables.
Before excuting the batch of your's queries, insert the id (only for reference for the point, where we executed the insert statement) and it will update the primary_datetime by default current system date.
After the completing the batch, insert the the next id, automaticaly it will get the finish date in default column.
Now go to RDS and check the diff between primary_datetime and replicate_datetime.
1. IN PDS/PDB Create one table as
create table timer_table(id int, primary_datetime datetime default getdate())
2. In RDS/RDB create same table with one extra coloum
create table timer_table(id int,primary_datetime datetime,replicate_datetime default getdate())
3. Setup the replication between both.
4. Before executing the batch insert the value in table as
insert into timer_table (id) values(100)
5. Execute your batch for queries.
6. After completion, execute the insert statement as
insert into timer_table (id) values(101)
7. Now go in the replicated dataserver(RDS/RDB) and check the diff between primary_datetime and replicate_datetime.
select datediff(ss,min(primary_datetime),max(replicate_datetime)) from timer_table
With the help of id you can check the latency upto that point. Even,You can customize this method for checking the latency.
Thanks,
Source : www & sybooks.
Same Thread @ : http://www.sybaseteam.com/how-to-test-latency-t-692.html
Monday, January 18, 2010
Sybase India Names Inflow Technologies As National Distributor
The agreement will enable Inflow Technologies to extend the benefits of Sybase's offerings, particularly analytics and enterprise mobility, to the growing market in India, said a press release.
Inflow Technologies, part of the US$ 5 billion Datatec Group, has presence in more than 12 locations across India and Sri Lanka.
Sources : news, www.
Saturday, January 16, 2010
Basic Working of Sybase Replication Server
Its my first post of New Year 2010. I am trying to put the basic understanding of Replication Server and whys it needs more monitoring. Hoping you will enjoy it!
Wishing you great new year 2010 ahead !
Basic Working of Replication Server
PDS : Primary Data Server
PDB : Primary Data Base
RDS : Replicated Data Server
RDB : Replicated Data Base
PRS : Primary Replication Server
RRS : Replicated Replication Server
RSSD : Replication System Database
1. RepAgent reads the record from transation log of the PDB for the tables which are marked for replication.
2. Logs into the PRS and write transactions in inbound queue of PDB in stable device.
3. Holds Data in inbound queue , untill it recieves commit.
4. Uses subscription information in its RSSD to decide what to do with the each transaction, after the commit:
i Discards the rans if there is no subscription.
ii Writes the transaction to the out bound queue if there are subscription.
5. Writes commited trans only in outbound queue according to subscription.
6. Sends transactions to their destination, it depends upone two things
i) if Replicated Database is managed by PRS
Apply changes to RDB using the DSI thread our the connection.
ii) If their are two server, RRS is managing RDB
Send commited trans to RRS over route.
RRS apply that changes in RDB
7. If apropriate, uses function string information in RSSD to compose command to submit to replicate database.
Source : sybooks and www.
As you people are seeing, there are lot of movement of trans/record , and for these trans movements Replication Server uses lot of threads(DSI,RSI,SQT,SQM etc).
If any one of thread stops , replication ceases , even it can hamper PDB performance.
Thats why it is little bit difficult to manage, not difficult, we can say, its need better monitoring.
If I am missing any thing , please add in comments.
Thanks.
AnVa
Same Thread at : http://www.sybaseteam.com/basic-working-of-replication-server-t-675.html
Saturday, November 7, 2009
Syncing the Replicated DB with Primary DB in warm standby setup!
Saturday, October 31, 2009
Hello world!
Same as all the languages , I am starting this blog with Hello World!
print "Hello world!
First of all the introduction with Sybase and its technologies which are heavily impacting the information(data) across the globe.
About Sybase: Sybase is largest enterprise software and service company execusively focused on managing and mobilizing the information . http://www.sybase.com/
About Adaptive Server Enterprise(ASE) : Adaptive Server Enterprise is the mission-critical data management system for taming the information explosion. http://www.sybase.com/products/databasemanagement/adaptiveserverenterprise
About Replication Server: Move and synchronize data across the distributed enterprise with Replication Server. http://www.sybase.com/products/businesscontinuity/replicationserver
About Sybase IQ: Highly optimized business intelligence, analytics and data warehousing. http://www.sybase.com/products/datawarehousing/sybaseiq
Besides that Sybase is supporting lot of technologies . To know more about. http://www.sybase.com/products