Monday, May 15, 2023

MS-SQL Server - विचार

विचार


कोई मास्टर Database से Application को चलाने की कोशिश करे, तब हम as a DBA adjust नहीं करते, ये डेटाबेस, दूसरे databases की छाया नहीं है, बल्कि एक मजबूत टहनी की तरह है, जब भी कहीं ये used दिखे, हमें suspect मोड situation की याद आनी चाहिए!


Additionally,


बहुत ज्यादा नहीं पर checkpoint की frequency तो होती ही है, जो हम अपने हिसाब से बदल भी सकते हैं, पर Source of Checkpoint हमारा procedure या script भी हो सकती है, समय की कीमत अगर जान कर हम लॉग को लगातार truncate करते रहें या इस एक रेंज के databases को simple recovery में shift कर दें तो space issue Logspace की वजह से कभी नहीं आयेगा!


Related Article..


https://learn.microsoft.com/en-us/sql/relational-databases/logs/database-checkpoints-sql-server?view=sql-server-ver16


Greater Than

https://learn.microsoft.com/en-us/sql/t-sql/language-elements/greater-than-transact-sql?view=sql-server-ver16


String Functions

https://learn.microsoft.com/en-us/sql/t-sql/functions/string-functions-transact-sql?view=sql-server-ver16


Range Between

https://learn.microsoft.com/en-us/sql/t-sql/language-elements/between-transact-sql?view=sql-server-ver16


Database Engine Instances

https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/database-engine-instances-sql-server?view=sql-server-ver16


CHAR (Transact-SQL)

https://learn.microsoft.com/en-us/sql/t-sql/functions/char-transact-sql?view=sql-server-ver16


DIFFERENCE

https://learn.microsoft.com/en-us/sql/t-sql/functions/difference-transact-sql?view=sql-server-ver16


Best Regards



T. Amit Vaid S.


सदा हो जय!!

3 comments:

Anonymous said...

सारा दिन अगर कोई issue खाली alert देता रहे, तो नए दूसरे issue को ज्यादा importance नहीं देनी चाहिए!

Additionally,

Keys and Constraints
https://learn.microsoft.com/en-us/sql/relational-databases/tables/primary-and-foreign-key-constraints?view=sql-server-ver16

Type of encryption

Choose an Encryption Algorithm

https://learn.microsoft.com/en-us/sql/relational-databases/security/encryption/choose-an-encryption-algorithm?view=sql-server-ver16

Multiple Case (When) & Data Types

https://learn.microsoft.com/en-us/sql/t-sql/language-elements/case-transact-sql?view=sql-server-ver16

Data Types
https://learn.microsoft.com/en-us/sql/t-sql/data-types/data-types-transact-sql?view=sql-server-ver16

View the Job History

https://learn.microsoft.com/en-us/sql/ssms/agent/view-the-job-history?view=sql-server-ver16

How should I get a list of table names and field names from SQL server database?

https://learn.microsoft.com/en-us/answers/questions/364258/how-should-i-get-a-list-of-table-names-and-field-n

All Latest Updates
https://learn.microsoft.com/en-us/troubleshoot/sql/releases/download-and-install-latest-updates

Express Edition
https://www.microsoft.com/en-us/download/details.aspx?id=101064

Anonymous said...

Q 1. Apply the constraint to existing data.
Q 2. Joins & Evaluation Edition.
Q 3. Replication backward compatibility

Additionally,

एक रेंज के databases को यदि simple recovery में shift कर दें तो space issue Logspace की वजह से कभी नहीं आयेगा!

Q 4. Who created table / key.

एक रेंज के databases को यदि Bulk recovery में shift कर दें तो index maintenance जल्दी complete हो जायेगा!

Anonymous said...

AUDIT_ON_DEMAND_TARGET_LOCK
Occurs when there is a wait on a lock that is used to ensure single initialization of audit related Extended Event targets.
BUILTIN_HASHKEY_MUTEX
May occur after startup of instance, while internal data structures are initializing. Won't recur once data structures have initialized.
KTM_RECOVERY_MANAGER
Identified for informational purposes only. Not supported. Future compatibility isn't guaranteed.

Internal use only,
SQLTRACE_PENDING_BUFFER_WRITERS
WINDOW_AGGREGATES_MULTIPASS