Managing Subscriptions
This guide explains how to create and manage subscriptions to SQL Server replication publications using the SQL Replication Extension.
Understanding Subscriptions
A subscription defines how a database receives replicated data from a publication. The SQL Replication Extension supports two types of subscriptions:
- Push Subscriptions: The distributor pushes changes to subscribers
 - Pull Subscriptions: Subscribers request changes from the distributor
 
Creating a Subscription
- 
Access the Subscriptions View
- Expand your server in the SQL Replication view
 - Either:
- Right-click a publication to subscribe to it
 - Right-click the "Subscriptions" folder to browse available publications
 
 
 - 
Choose Subscription Type Select either:
- Push: Better for immediate synchronization, managed at publisher
 - Pull: Better for occasional synchronization, managed at subscriber
 
 - 
Configure Database
- Select or create the subscriber database
 - The database name can be different from the publisher
 
 - 
Set Synchronization Options Choose when to initialize the subscription:
- Immediate: Start synchronization right away
 - Automatic: Wait for next snapshot
 - Manual: Initialize later manually
 
 - 
Configure Security
- Choose authentication mode for remote connections
 - Set up service account permissions if needed
 
 
Managing Existing Subscriptions
Viewing Subscriptions
- Expand your server in the SQL Replication view
 - Open the "Subscriptions" folder
 - Click a subscription to view its properties
 
Common Tasks
- 
Reinitialize Subscription
- Right-click the subscription
 - Select "Reinitialize"
 - Choose synchronization options
 - Monitor initialization progress
 
 - 
Monitor Status
- Check status indicators
 - View agent job history
 - Monitor synchronization progress
 
 - 
Drop Subscription
- Right-click the subscription
 - Select "Drop Subscription"
 - Confirm the removal
 
 
Best Practices
- 
Subscription Planning
- Choose appropriate subscription type based on needs
 - Consider network bandwidth and latency
 - Plan for initialization time with large databases
 
 - 
Performance Optimization
- Monitor agent job performance
 - Schedule initializations during off-peak hours
 - Configure appropriate retry intervals
 
 - 
Security Considerations
- Use Windows Authentication when possible
 - Create dedicated service accounts
 - Regularly review permissions
 
 - 
Maintenance Tasks
- Monitor subscription status
 - Check for synchronization delays
 - Validate data consistency periodically
 
 
Troubleshooting
Common Issues
- 
Initialization Failures
- Verify network connectivity
 - Check permissions on both sides
 - Review snapshot availability
 
 - 
Synchronization Delays
- Monitor distribution agent
 - Check for blocking processes
 - Verify agent job status
 
 - 
Security Errors
- Verify service account permissions
 - Check network security settings
 - Review firewall configurations
 
 
Getting Help
If you encounter issues:
- Check the Output panel for error messages
 - Review agent job history
 - See our troubleshooting guide
 - File issues on GitHub