Questions tagged [data-files]
209 questions
215
votes
10 answers
Changing MongoDB data store directory
Until now I have not been specifying a MongoDB data directory and have had only one 30 GB primary partition.
I just ran out of space and added a new hard disk. How can I transfer my data (that is apparently in /var/lib/mongodb/) and configure…

Mark Gill
- 3,721
- 5
- 22
- 12
13
votes
2 answers
Remove (merge) SQL Servers' database secondary data file
I have a database backup for which SQL Server Management Studio says that it has three files in it: an .mdf file, an .ndf file and one .ldf file. This secondary data file (the .ndf one) was created for no obvious reason, so I want to remove it…

Anton Gogolev
- 113,561
- 39
- 200
- 288
10
votes
2 answers
Sql Server change data and log path of existing database
I am having a SQL Server 2008 installation with almost 15 databases running on it. Now due to scarcity of space I would like to move the data path to another drive. What is the best practice for this. Please explain in details if including any SQL…

Soham Dasgupta
- 5,061
- 24
- 79
- 125
8
votes
1 answer
How to package data files with GNU's autoconf and automake
I am a rather new C++ programmer. I have made a very simple game using SDL libraries. My game, naturally, uses some images, sounds and fonts. I have wanted to make a distribution of the package, where user's can configure && make . It's not like…

yasar
- 13,158
- 28
- 95
- 160
8
votes
1 answer
How to ship data files with a python binary distribution?
I'd like to create a bdist for my Python package.
The package contains a LICENSE file which is mandatory as part of the distribution.
I added a reference to the LICENSE file in my MANIFEST.IN file, and indeed after creating an sdist for my package,…

user976850
- 1,086
- 3
- 13
- 25
8
votes
5 answers
Reason for monolithic data files
Primarily this seems to be a technique used by games, where they have all the sounds in one file, textures in another etc. With these files commonly reaching the GB size.
What is the reason behind doing this over maintaining it all in subdirectories…

Ali Lown
- 2,323
- 1
- 18
- 22
8
votes
1 answer
Cabal "Data Files" Not Being Copied
I'm trying to use the "data-files" mechanism, and stuff works fine except that the
relevant files are not copied into the share/ directory. e.g. my .cabal file looks like:
name: nano-js
version: 0.1.0.0
data-files: …

Ranjit Jhala
- 1,242
- 8
- 18
6
votes
1 answer
R Password protect .rdata datafile
I'm trying to protect some datafiles I save in R. Is there a way to password protect an R datafile (.Rdata) ?
Thank you

Tracy
- 699
- 2
- 9
- 21
6
votes
2 answers
Oracle dba_data_files table doesn't exist
I've been trying to access the dba_data_files table to see whether the autoextend is turned on for my data files. However, even though I'm using Oracle 10g, this table seems to not exist:
Connected to:
Oracle Database 10g Enterprise Edition Release…

Eli Courtwright
- 186,300
- 67
- 213
- 256
5
votes
3 answers
Making a python package for PIP with some data_files
I'm doing a project with this layout:
project/
bin/
my_bin.py
CHANGES.txt
docs/
LICENSE.txt
README.txt
MANIFEST.in
setup.py
project/
__init__.py
some_thing.py
default_data.json
…

Arruda
- 862
- 1
- 12
- 24
5
votes
2 answers
Fortran is reading beyond endfile record
I'm trying to read some data from a file, and the endfile record detection is important to stop reading. However, depending of the array dimensions of the array used to read data, I cannot detect properly the endfile record and my Fortran program…

Mateus da Silva Teixeira
- 223
- 3
- 11
5
votes
1 answer
data_files differences between pip and setuptools
I have a Python application that comes with a setup.py script and can be installed via Pip or setuptools. However, I'm finding some annoying differences between the two methods and I want to know the correct way of distributing data-files.
import…

Niklas R
- 16,299
- 28
- 108
- 203
5
votes
4 answers
How do I quickly slice and dice large data files?
I'd like to slice and dice large datafiles, up to a gig, in a fairly quick and efficient manner. If I use something like UNIX's "CUT", it's extremely fast, even in a CYGWIN environment.
I've tried developing and benchmarking various Ruby scripts…

Nick Ryberg
- 1,134
- 4
- 14
- 20
4
votes
1 answer
How to interpret the database file of Football Manager
Is there any way to view the default database file shipped with FM release, e.g., like the file "basic_people_db.dat" in "\Football Manager 2012\data\db\1200".
I mean, either by converting it to a human-readable format like spreadsheet or…

rayeaster
- 261
- 4
- 16
4
votes
1 answer
How can I import data into R that is meant for use in SAS, SPSS, or STATA?
I am attempting to read data from the National Health Interview Survey in R: http://www.cdc.gov/nchs/nhis/nhis_2011_data_release.htm . The data is Sample Adult. The SAScii library actually has a function read.SAScii whose documentation has an…

gbrlrz017
- 199
- 1
- 1
- 10