Loading

随笔分类 -  SQL Server

SQL Server related
摘要:在 SQL Server 的 Always On 可用性组(AG) 中,主副本(Primary replica)和副本(Secondary replica)之间的同步模式分为 异步同步(Asynchronous commit) 和 同步同步(Synchronous commit) 两种模式。它们对数 阅读全文
posted @ 2025-02-26 18:53 Jas0n0ss 阅读(7) 评论(0) 推荐(0) 编辑
摘要:SQL Server AG(Always On Availability Groups)和 FCI(Failover Cluster Instance)是两种不同的高可用性(HA)解决方案,它们用于确保SQL Server实例的高可用性和灾难恢复。虽然它们都有相似的目标——确保数据库的持续可用性,但 阅读全文
posted @ 2025-02-26 14:26 Jas0n0ss 阅读(3) 评论(0) 推荐(0) 编辑
摘要:SQL Server 性能优化是一个复杂而细致的过程,涉及从数据库设计到硬件配置的各个方面。下面,我将以更详细的方式阐述 SQL Server 性能优化的最佳实践,涵盖查询优化、索引管理、数据库设计、硬件配置、并发控制等多个层面。 1. 查询优化 a. 使用适当的查询语句 **避免 SELECT * 阅读全文
posted @ 2025-01-13 20:25 Jas0n0ss 阅读(29) 评论(0) 推荐(0) 编辑
摘要:SQL Server 高可用性方案架构图、原理及最佳实践 1. 数据库镜像(Database Mirroring) + + | Primary DB | | (SQL Server 1) | + + | | Transaction Logs | + + | Mirror DB | | (SQL Se 阅读全文
posted @ 2024-12-11 11:46 Jas0n0ss 阅读(113) 评论(0) 推荐(0) 编辑
摘要:Migrate SQL Server to AWS Microsoft SQL Server Always On availability groups provide a high availability (HA) and disaster recovery (DR) solution for 阅读全文
posted @ 2024-10-04 19:56 Jas0n0ss 阅读(23) 评论(0) 推荐(0) 编辑
摘要:Before starting our next teams session, I would like to confirm if you have fully meet the Prerequisites: https://learn.microsoft.com/en-us/sql/sql-se 阅读全文
posted @ 2022-12-22 21:01 Jas0n0ss 阅读(72) 评论(0) 推荐(0) 编辑
摘要:Prerequisites & environments | HostName | CPU & MEM | Role | OS | | : : | : : | : : | : : | | node1.io | 4Core 16GB | k8s master | centos7.8 | | node2 阅读全文
posted @ 2022-09-09 10:01 Jas0n0ss 阅读(79) 评论(0) 推荐(0) 编辑
摘要:Linux client login windows SQL Server with keytab https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-active-directory-authentication?view=sql 阅读全文
posted @ 2022-08-15 17:30 Jas0n0ss 阅读(93) 评论(0) 推荐(0) 编辑
摘要:Pre-Work linux should join AD same as SQL Server setspn on windows SQL Server for linux Windows SQL Server C:\Users\Administrator>setspn -L sqladmin R 阅读全文
posted @ 2022-08-15 16:02 Jas0n0ss 阅读(67) 评论(0) 推荐(0) 编辑
摘要:reference https://docs.microsoft.com/en-us/sql/relational-databases/indexes/reorganize-and-rebuild-indexes?view=sql-server-ver15 查询数据库索引碎片超过30%的表,然后重建 阅读全文
posted @ 2022-07-28 09:49 Jas0n0ss 阅读(502) 评论(0) 推荐(0) 编辑
摘要:[root@azk8s-oc sqlmi]# head sql1-linux.yaml apiVersion: v1 data: username: c3FsYWRtaW4K password: SHVhd2VpMTIjMjMK kind: Secret metadata: name: sql1-l 阅读全文
posted @ 2022-07-22 16:28 Jas0n0ss 阅读(36) 评论(0) 推荐(0) 编辑
摘要:CPU最佳实践。 根据CPU架构和核数配置MaxDop. https://learn.microsoft.com/zh-CN/sql/database-engine/configure-windows/configure-the-max-degree-of-parallelism-server-co 阅读全文
posted @ 2022-07-07 10:44 Jas0n0ss 编辑
摘要:Create Azure Arc-enabled sqlmi instance using OpenShift tool Microsoft official doc reference https://docs.microsoft.com/en-us/azure/azure-arc/data/cr 阅读全文
posted @ 2022-06-30 16:20 Jas0n0ss 阅读(37) 评论(0) 推荐(0) 编辑
摘要:reference https://docs.microsoft.com/en-us/azure/azure-arc/data/create-sql-managed-instance-using-kubernetes-native-tools issue encountered: failed to 阅读全文
posted @ 2022-06-22 10:18 Jas0n0ss 阅读(156) 评论(0) 推荐(0) 编辑
摘要:Microsoft Troubleshooting Guide Common reasons for a full transaction log: The appropriate response to a full transaction log depends on what conditio 阅读全文
posted @ 2022-06-16 09:03 Jas0n0ss 阅读(110) 评论(0) 推荐(0) 编辑
摘要:Azure data controller Setup https://docs.microsoft.com/en-us/azure/azure-arc/data/create-data-controller-direct-cli?tabs=windows create resources grou 阅读全文
posted @ 2022-06-11 13:41 Jas0n0ss 阅读(3) 评论(0) 推荐(0) 编辑
摘要:修改某个数据库的文件存储位置 reference https://docs.microsoft.com/en-us/sql/relational-databases/databases/move-user-databases?view=sql-server-ver16 -- relocate dat 阅读全文
posted @ 2022-06-08 09:57 Jas0n0ss 阅读(1314) 评论(0) 推荐(0) 编辑

more_horiz
keyboard_arrow_up light_mode palette
选择主题
点击右上角即可分享
微信分享提示