Log In
Create Account
SlickerTalk
Search Archives
The Leaderboard
The FAQ
Login
Create Account
Search
Dr. S. Talk
TT/ST Wiki
How Well Do You Know ...
RSS Feed
Hosting by DigitalOcean
Support ST on Ko-Fi
Links Only
50 Results
100 Results
250 Results
500 Results
1000 Results
5000 Results
2 Weeks
2 Months
6 Months
1 Year
2 Years
5 Years
All Time
Live
Down to Post
Backboards:
Live
________________
1: Dec 1, 17:33
2: Dec 1, 11:23
3: Nov 30, 15:54
4: Nov 30, 09:41
5: Nov 29, 16:44
6: Nov 29, 08:01
7: Nov 28, 16:19
8: Nov 28, 09:42
9: Nov 27, 18:07
10: Nov 27, 12:04
11: Nov 27, 08:26
12: Nov 26, 18:06
13: Nov 26, 12:05
14: Nov 26, 08:29
15: Nov 25, 18:33
16: Nov 25, 11:12
17: Nov 25, 07:08
18: Nov 24, 13:17
19: Nov 23, 18:13
20: Nov 23, 06:17
Posts: 155
In response to
"
I keep running out of sort work space when using the Order By. So what I really need is a way to run 10 simultaneous queries against a 200 million
"
by
GregW
have you looked into views? -- nm
Posted by
Beryllium (aka grayman)
Aug 23 '12, 13:31
(No message)
Responses:
No, what would that look like? -- nm
-
GregW
Aug 23, 13:33
7
I forget the exact syntax, but it's like a table that represents a query - so you could make a query that selects the subset,
-
Beryllium
Aug 23, 13:36
6
I don't know what you mean by 'selects the subset'. Right now, I am selecting the whole table into a file and sorting the file.
-
GregW
Aug 23, 13:47
5
SELECT * FROM table LIMIT 40000000,60000000 ORDER BY whatever. What is your requirement for sorting?
-
oblique
Aug 23, 13:52
3
Thanks, I will try that. It isn't the time needed, but it apparently keeps running out of space even though I have over 100G free.
-
GregW
Aug 23, 13:57
1
very strange. How big is the field you are sorting on, or what datatype is it? -- nm
-
Beryllium
Aug 23, 14:09
Yes, indexes can speed up sorting (and even just selecting) -- nm
-
Beryllium
Aug 23, 13:53
using LIMIT and OFFSET, yes -- nm
-
Beryllium
Aug 23, 13:50
Post a message
top
Replies are disabled on threads older than 7 days.