Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
58e83a69
Commit
58e83a69
authored
May 14, 2016
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BDD OPTI] Some index for analytics.
parent
ca08b6d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
indexes.sql
install/postgres/indexes.sql
+8
-1
No files found.
install/postgres/indexes.sql
View file @
58e83a69
...
...
@@ -22,7 +22,7 @@
-- create INDEX on nodes (user_id, typename, parent_id) ;
-- create INDEX on nodes_hyperdata (node_id, key);
-- create INDEX on ngrams (id, n) ;
create
INDEX
on
ngrams
(
n
)
;
--
create INDEX on ngrams (n) ;
-- create INDEX on nodes_ngrams (node_id, ngram_id) ;
-- create INDEX on nodes_ngrams (node_id) ;
-- create INDEX on nodes_ngrams (ngram_id) ;
...
...
@@ -42,6 +42,13 @@ create INDEX on ngrams (n) ;
-- Maybe needed soon:
-- create INDEX on nodes_nodes_ngrams (node1_id, node2_id);
----------------------------------------------------------------------
-- Analytics
create
INDEX
on
nodes_hyperdata
(
node_id
,
value_utc
);
create
INDEX
on
nodes_hyperdata
(
node_id
,
key
,
value_int
);
create
INDEX
on
nodes_hyperdata
(
node_id
,
key
,
value_flt
);
create
INDEX
on
nodes_hyperdata
(
node_id
,
key
,
value_str
);
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
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