You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/Community-Articles/2025-10-03-Generating-Sequential-GUIDs/Post.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Sure, you could switch to int or long identity columns, but then you lose the di
17
17
18
18
## Sequential GUIDs to the Rescue
19
19
20
-
Sequential GUIDs keep the uniqueness but add a predictable ordering component — usually by embedding a timestamp in part of the GUID.This means:
20
+
Sequential GUIDs keep the uniqueness but add a predictable ordering component, usually by embedding a timestamp in part of the GUID.This means:
21
21
22
22
* Inserts happen at the “end” of the index, not all over the place.
23
23
@@ -30,7 +30,7 @@ Think of it as **GUIDs with manners**.
30
30
## ABP Framework’s Secret Sauce
31
31
32
32
33
-
Here’s where ABP Framework flexes: it **uses sequential GUIDs by default** for entity IDs. No ceremony, no “remember to call this helper method” — it’s baked in.
33
+
Here’s where ABP Framework flexes: it **uses sequential GUIDs by default** for entity IDs. No ceremony, no “remember to call this helper method”, it’s baked in.
34
34
35
35
Under the hood:
36
36
@@ -82,7 +82,7 @@ Let’s say you’re inserting 1M rows into a table with a clustered primary key
In high-volume systems, this difference is **not** academic — it’s the difference between smooth scaling and spending weekends rebuilding indexes.
85
+
In high-volume systems, this difference is **not** academic, it’s the difference between smooth scaling and spending weekends rebuilding indexes.
86
86
87
87
## When to Use Sequential GUIDs
88
88
@@ -94,13 +94,13 @@ In high-volume systems, this difference is **not** academic — it’s the diffe
94
94
95
95
## When Random GUIDs Still Make Sense
96
96
97
-
* Security through obscurity — if you don’t want IDs to hint at creation order.
97
+
* Security through obscurity, if you don’t want IDs to hint at creation order.
98
98
99
-
* Non-indexed identifiers — fragmentation isn’t a concern.
99
+
* Non-indexed identifiers, fragmentation isn’t a concern.
100
100
101
101
## The Final Take
102
102
103
-
ABP’s default sequential GUID generation is one of those “**small but huge**” features. It’s the kind of thing you don’t notice until you benchmark — and then you wonder why you ever lived without it.
103
+
ABP’s default sequential GUID generation is one of those “**small but huge**” features. It’s the kind of thing you don’t notice until you benchmark, and then you wonder why you ever lived without it.
104
104
105
105
## Links
106
106
You may want to check the following references to learn more about sequential GUIDs:
0 commit comments