Questions tagged [reorganize]
71 questions
47
votes
9 answers
Reorganise index vs Rebuild Index in Sql Server Maintenance plan
In the SSW rules to better SQL Server Database there is an example of a full database maintenance plan: SSW. In the example they run both a Reorganize Index and then a Rebuild Index and then Update Statistics. Is there any point to this? I thought…

BTB
- 2,126
- 3
- 21
- 22
12
votes
7 answers
Reorganizing an array: odd entries as KEY, even entries as VALUE
I'm trying to finish up a URL router that I created for my custom MVC framework. I have a list of parameters that I dissected from the URL, but the problem is that they only have numerical keys. What I want to do is set it up so the first value in…

cshoffie
- 255
- 1
- 6
- 13
11
votes
1 answer
How can I reorganize an existing folder hierarchy with CarrierWave?
I am trying to move files around my S3 bucket using CarrierWave to reorganize the folder structure.
I came to an existing Rails application where all images for a class are being uploaded into a folder called /uploads. This is causing problems…

Omar
- 243
- 3
- 10
5
votes
3 answers
What is the use of reorg command in IBM DB2?
What is the use of reorg command in ibm db2 db ? What does Reorg do internally ?
Is it necessary to run reorg if new indexes are created on the table ?

Cshah
- 5,612
- 10
- 33
- 37
4
votes
3 answers
Reorganize multiple variables based on date variable in R
If I have a dataset that has scores from the same measure collected at different time points, how can I organize those dates/times so they represents a timepoint after a certain date? Is this possible to do in R or would it be easier for me to do…

Karen
- 43
- 5
4
votes
1 answer
reorganize svn repository
I created svn repositories, without worrying about branches, etc. Now, I want to create branch.
This question says I can create branch by copying. However, as I do not have trunk/branches folder, whats the right way /commands to reorganize the…

tanon
- 43
- 3
4
votes
3 answers
Python. Join specific lines on 1 line
Let's say I have this file:
1
17:02,111
Problem report related to
router
2
17:05,223
Restarting the systems
3
18:02,444
Must erase hard disk
now due to compromised data
I want this output:
1
17:02,111
Problem report related to…

aDoN
- 1,877
- 4
- 39
- 55
3
votes
0 answers
visual studio code: How to rearrange and sort class members in java code
How can I rearrange the code in a .java file in visual studio code? For example inside a Class, I want it to automatically put static variables at the top, then attributes, then methods, etc.
I tried to google "vscode rearrange code" but it always…

Bestname
- 173
- 2
- 10
3
votes
1 answer
reformat data in r
I have following type of data, although level of set and indvidual is quite high in real dataset:
set <- c(rep(1,6), rep(2,6))
Indvidual <- c(rep (c("IndvA", "IndvA", "IndvB", "IndvB", "IndvC", "IndvC"), 2))
leftposition <- c(10, 10,0 ,0, 0, 0, …

SHRram
- 4,127
- 7
- 35
- 53
2
votes
3 answers
Reorganizing a subversion repository with branches
I am trying to reorganize a subversion 1.6 repository that has branches. It appears that if you move a file in the trunk and that file has changes in a branch, when those changes are merged into the branch, they are no longer there.
I will try to…

Nathan Lee
- 2,231
- 2
- 23
- 26
2
votes
3 answers
Data Frame: mean over certain variables, ignore but keep others
I am analysing my data with R for the first time which is a bit challenging. I have a data frame with my data that looks like this:
head(data)
subject group age trial cond acc rt
1 S1 2 1 1 1 1 5045
2 S1 2 …

Max
- 405
- 2
- 11
2
votes
3 answers
Reorganizing data by date and count in r
I have data that looks like the following:
> head(z, 10)
date year long lat
1 01/18/2017 2017 -92.48474 29.76465
2 01/22/2017 2017 -93.11126 29.83961
3 12/28/2013 2013 -91.30789 29.41938
4 01/08/2014 2014 -93.09949 29.80632
5 …

kpollander
- 23
- 2
2
votes
7 answers
Regroup or reorganize keys in a dict?
I have a dict inside a list that is currently like this:
[ {'name': 'Joe',
'score': 98,
'subject': 'Math'},
{'name': 'Bob',
'score': 90,
'subject': 'Math'},
{'name': 'Bill',
'score': 88,
'subject': 'English'},
{'name': 'Jane',
…

user26024
- 57
- 3
2
votes
2 answers
Re-organize database by merging rows from a variable
I have a database that looks like this:
userId SessionId Screen Platform Version
01 1 first IOS 1.0.1
01 1 main IOS …

Alban Couturier
- 129
- 2
- 8
2
votes
1 answer
REORG command in db2
So I have been altering a table in QMF. After 3 alters I believe the table has gone into a pending reorg state so that I cannot alter it additionally. Am I correct in this assumption? If so what implications does this have and to get around it can I…

Rookie
- 75
- 1
- 3
- 13