Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
0b6020a9
authored
Apr 22, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 索引优化成hash
parent
894beee2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
+3
-3
No files found.
README.md
View file @
0b6020a9
...
@@ -115,9 +115,9 @@ CREATE TABLE modelData (
...
@@ -115,9 +115,9 @@ CREATE TABLE modelData (
a
TEXT
NOT
NULL
a
TEXT
NOT
NULL
);
);
-- create index
-- create index
CREATE
INDEX
modelData_status_index
ON
modelData
(
status
);
CREATE
INDEX
modelData_status_index
ON
modelData
USING
HASH
(
status
);
CREATE
INDEX
modelData_userId_index
ON
modelData
(
user_id
);
CREATE
INDEX
modelData_userId_index
ON
modelData
USING
HASH
(
user_id
);
CREATE
INDEX
modelData_modelId_index
ON
modelData
(
model_id
);
CREATE
INDEX
modelData_modelId_index
ON
modelData
USING
HASH
(
model_id
);
EOSQL
EOSQL
```
```
**/root/fast-gpt/nginx/nginx.conf**
**/root/fast-gpt/nginx/nginx.conf**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment