473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Re: (in memory) database

On Sun, 31 Aug 2008 18:05:08 +0000, Cameron Laird <cl****@lairds.uswrote:
>In article <b6**********************************@26g2000hsk.g ooglegroups.com>,
Paul Boddie <pa**@boddie.org.ukwrote:
[snip]

Thanks for pursuing this, Paul. You have me curious now.

Let's take a definite example: I have a convenient
Ubuntu 8.04.1
The content of /etc/apt/sources.list is
deb http://us.archive.ubuntu.com/ubuntu hardy main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
I do
apt-get update
apt-get upgrade
apt-get install python2.5
then
# python2.5
Python 2.5 (r25:51908, Dec 11 2006, 21:09:56)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
It doesn't seem likely to me that this is the Python 2.5 packaged in
Ubuntu 8.04. It's build timestamp is almost a year and a half before
8.04 was released. Here's the header on my installation:

Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

This could be a bug in the upgrade from a previous version of Ubuntu
installed on the host or perhaps you have a different Python 2.5 installed
on the machine that's not from the Ubuntu package repository?

Jean-Paul
Aug 31 '08 #1
3 1056
In article <ma*************************************@python.or g>,
Jean-Paul Calderone <ex*****@divmod.comwrote:
>On Sun, 31 Aug 2008 18:05:08 +0000, Cameron Laird <cl****@lairds.uswrote:
>>In article <b6**********************************@26g2000hsk.g ooglegroups.com>,
Paul Boddie <pa**@boddie.org.ukwrote:
[snip]

Thanks for pursuing this, Paul. You have me curious now.

Let's take a definite example: I have a convenient
Ubuntu 8.04.1
The content of /etc/apt/sources.list is
deb http://us.archive.ubuntu.com/ubuntu hardy main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
I do
apt-get update
apt-get upgrade
apt-get install python2.5
then
# python2.5
Python 2.5 (r25:51908, Dec 11 2006, 21:09:56)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

It doesn't seem likely to me that this is the Python 2.5 packaged in
Ubuntu 8.04. It's build timestamp is almost a year and a half before
8.04 was released. Here's the header on my installation:

Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

This could be a bug in the upgrade from a previous version of Ubuntu
installed on the host or perhaps you have a different Python 2.5 installed
on the machine that's not from the Ubuntu package repository?

Jean-Paul
Thank you! While I'm certainly not down to the bottom of this mystery,
I have a few clues. First, the important point to make for original
questioner mark is that SQLite(3) is a perfectly reasonable implementation
to use in a Python2.5 context.

I now suspect that my 2.5 packaging has something to do with 64-bit builds;
all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at
Python 2.5.
Aug 31 '08 #2
Cameron Laird schreef:
I now suspect that my 2.5 packaging has something to do with 64-bit builds;
all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at
Python 2.5.
Strange: my 64-bit Ubuntu 8.04 has Python 2.5.2, with working sqlite:
roel@shannon $ uname -a
Linux shannon 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008
x86_64 GNU/Linux

roel@shannon $ cat /etc/issue
Ubuntu 8.04.1 \n \l

roel@shannon $ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>import sqlite3


--
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
-- Isaac Asimov

Roel Schroeven
Aug 31 '08 #3
Roel Schroeven schreef:
Cameron Laird schreef:
>I now suspect that my 2.5 packaging has something to do with 64-bit builds;
all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at
Python 2.5.

Strange: my 64-bit Ubuntu 8.04 has Python 2.5.2, with working sqlite:
(mine is a desktop, not a server; I don't know if that should make any
difference).

--
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
-- Isaac Asimov

Roel Schroeven
Sep 1 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Alex Greem | last post by:
Dear all, Our database (DB2 Workgroup 7.2 FP12) is constantly under heavy load. Most time CPU usage (1 Pentium3 1Ghz) is more 50% busy. We have 3GB RAM memory Our normal workload is 200-300...
10
by: sunil | last post by:
Hi, I have a container that holds objects of same type (user defined class), where each object has multiple attributes. These objects have primary key (similar to a database) formed by combination...
5
by: ImOk | last post by:
Anyone know of an extension that is an in memory database? I dont want to create any files on disk (nor install a database engine) but have an object/variable that points to a database and tables...
14
by: mark | last post by:
Hi there, I need to extract data from text files (~4 GB) on this data some operations are performed like avg, max, min, group etc. The result is formated and written in some other text files...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.