I see --- if you consider it a bug, please file a detailed bug report including information & instructions to reporduce the problem as well as infornmation about the exact MonetDB version and OS you're using via http://bugs.MonetDB.org/
Stefan
----- Oorspronkelijk bericht -----
Van: Freddy Priyatna <freddy.priyatna(a)gmail.com>
Verzonden: maandag 25 oktober 2010 16:32
Aan: Communication channel for MonetDB users <monetdb-users(a)lists.sourceforge.net>
Onderwerp: Re: [MonetDB-users] Querying date type column in MonetDB
Hi Stefan,
Nope, the name of the column is "deliveryDays" :)
Freddy
2010/10/25 Stefan Manegold <Stefan.Manegold(a)cwi.nl>
> Hi Freddy,
>
> I don't think that the error you experience is triggered by the column
> type, but rather by the fact that your date column ha? a name - say "date" -
> that is a reserved key word in SQL an hence needs to be double-quoted
> according to the SQL standard (this is not a MonetDB specific choice, but a
> "feature" of the SQL standard) --- not knowing your table & column names, I
> can only guess, though ...
>
> Stefan
>
>
> ----- Oorspronkelijk bericht -----
> Van: Freddy Priyatna <freddy.priyatna(a)gmail.com>
> Verzonden: maandag 25 oktober 2010 16:03
> Aan: MonetDB-users <monetdb-users(a)lists.sourceforge.net>
> Onderwerp: [MonetDB-users] Querying date type column in MonetDB
>
> Dear All,
>
> I am new to MonetDB, so most likely my question will look obvious.
>
> I would like to ask, how can columns with date type is queried in monetdb.
> Based on my experience, it seems that date type columns need special
> treatment. It seems that the only way to query them is with the syntax
> "column_name" while other columns seems to work with the format
> table_name.column_name without the need of double quote. When I tried to
> query date column with the syntax table_name.column_name, it gave me an
> error "no such column"
>
> So my question is, is it true that the only way to query date columns is
> using "column_name" format? Another question will be, what happen if I need
> to query same name columns coming from different table?
>
> Thanks in advance,
> Freddy
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> MonetDB-users mailing list
> MonetDB-users(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-users
>
"T.c" != "T"."c" ;-)
--
| Stefan.Manegold @ CWI .nl | DB Architectures (INS1) |
| http://www.cwi.nl/~manegold/ | Science Park 123 (L321) |
| Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |
----- Oorspronkelijk bericht -----
Van: Freddy Priyatna <freddy.priyatna(a)gmail.com>
Verzonden: maandag 25 oktober 2010 17:11
Aan: Communication channel for MonetDB users <monetdb-users(a)lists.sourceforge.net>
Onderwerp: Re: [MonetDB-users] Querying date type column in MonetDB
Dear Arjen,
Thanks. I did check the uppercase letter.
With a date-type column "deliveryDays" in a table "bsbm.offer", here is the
result
- SELECT "deliveryDays" FROM bsbm.offer --> WORKS
- SELECT "deliverydays" FROM bsbm.offer --> FAILS
- SELECT "offer.deliveryDays" FROM bsbm.offer --> FAILS
- SELECT deliveryDays FROM bsbm.offer --> FAILS
- SELECT offer.deliveryDays FROM bsbm.offer --> FAILS
- SELECT offer."deliveryDays" FROM bsbm.offer ---> WORKS
The last query is the one I need :)
Again, thanks for the help.
Regards
Freddy
2010/10/25 Arjen de Rijke <Arjen.de.Rijke(a)cwi.nl>
> Stefan Manegold <Stefan.Manegold(a)cwi.nl> writes:
>
> > I see --- if you consider it a bug, please file a detailed bug report
> including information & instructions to reporduce the problem as well as
> infornmation about the exact MonetDB version and OS you're using via
> http://bugs.MonetDB.org/
>
> I would not consider it a bug. The catch is the uppercase letter in
> deliveryDays. The default handling of upper/lowercase characters is
> different than in other RDMBS. So in some cases the quotes are necessary.
>
> Arjen de Rijke
> >
> > Stefan
> >
> >
> > ----- Oorspronkelijk bericht -----
> > Van: Freddy Priyatna <freddy.priyatna(a)gmail.com>
> > Verzonden: maandag 25 oktober 2010 16:32
> > Aan: Communication channel for MonetDB users <
> monetdb-users(a)lists.sourceforge.net>
> > Onderwerp: Re: [MonetDB-users] Querying date type column in MonetDB
> >
> > Hi Stefan,
> >
> > Nope, the name of the column is "deliveryDays" :)
> >
> > Freddy
> >
> > 2010/10/25 Stefan Manegold <Stefan.Manegold(a)cwi.nl>
> >
> >> Hi Freddy,
> >>
> >> I don't think that the error you experience is triggered by the column
> >> type, but rather by the fact that your date column ha? a name - say
> "date" -
> >> that is a reserved key word in SQL an hence needs to be double-quoted
> >> according to the SQL standard (this is not a MonetDB specific choice,
> but a
> >> "feature" of the SQL standard) --- not knowing your table & column
> names, I
> >> can only guess, though ...
> >>
> >> Stefan
> >>
> >>
> >> ----- Oorspronkelijk bericht -----
> >> Van: Freddy Priyatna <freddy.priyatna(a)gmail.com>
> >> Verzonden: maandag 25 oktober 2010 16:03
> >> Aan: MonetDB-users <monetdb-users(a)lists.sourceforge.net>
> >> Onderwerp: [MonetDB-users] Querying date type column in MonetDB
> >>
> >> Dear All,
> >>
> >> I am new to MonetDB, so most likely my question will look obvious.
> >>
> >> I would like to ask, how can columns with date type is queried in
> monetdb.
> >> Based on my experience, it seems that date type columns need special
> >> treatment. It seems that the only way to query them is with the syntax
> >> "column_name" while other columns seems to work with the format
> >> table_name.column_name without the need of double quote. When I tried to
> >> query date column with the syntax table_name.column_name, it gave me an
> >> error "no such column"
> >>
> >> So my question is, is it true that the only way to query date columns is
> >> using "column_name" format? Another question will be, what happen if I
> need
> >> to query same name columns coming from different table?
> >>
> >> Thanks in advance,
> >> Freddy
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Nokia and AT&T present the 2010 Calling All Innovators-North America
> >> contest
> >> Create new apps & games for the Nokia N8 for consumers in U.S. and
> Canada
> >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> >> marketing
> >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> >> http://p.sf.net/sfu/nokia-dev2dev
> >> _______________________________________________
> >> MonetDB-users mailing list
> >> MonetDB-users(a)lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/monetdb-users
> >>
> >
> >
> ------------------------------------------------------------------------------
> > Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> > Create new apps & games for the Nokia N8 for consumers in U.S. and
> Canada
> > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> > http://p.sf.net/sfu/nokia-dev2dev
> > _______________________________________________
> > MonetDB-users mailing list
> > MonetDB-users(a)lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/monetdb-users
>
> --
> ====================================================================
> CWI, Kamer L330 Centrum voor Wiskunde en Informatica
> Science Park 123 Email: arjen.de.rijke(a)cwi.nl
> 1098 XG Amsterdam tel: +31-(0)20-5924305
> Nederland +31-(0)6-51899284
> fax: +31-(0)20-5924312
> ===================== http://www.cwi.nl/~rijke/ ====================
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> MonetDB-users mailing list
> MonetDB-users(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-users
>
Good point, Arjen!
Indeed CaMeL case identifiers need to be double-quoted in MonetDB/SQL ...
Stefan
--
| Stefan.Manegold @ CWI .nl | DB Architectures (INS1) |
| http://www.cwi.nl/~manegold/ | Science Park 123 (L321) |
| Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |
----- Oorspronkelijk bericht -----
Van: Arjen de Rijke <Arjen.de.Rijke(a)cwi.nl>
Verzonden: maandag 25 oktober 2010 17:00
Aan: Communication channel for MonetDB users <monetdb-users(a)lists.sourceforge.net>
Onderwerp: Re: [MonetDB-users] Querying date type column in MonetDB
Stefan Manegold <Stefan.Manegold(a)cwi.nl> writes:
> I see --- if you consider it a bug, please file a detailed bug report including information & instructions to reporduce the problem as well as infornmation about the exact MonetDB version and OS you're using via http://bugs.MonetDB.org/
I would not consider it a bug. The catch is the uppercase letter in
deliveryDays. The default handling of upper/lowercase characters is
different than in other RDMBS. So in some cases the quotes are necessary.
Arjen de Rijke
>
> Stefan
>
>
> ----- Oorspronkelijk bericht -----
> Van: Freddy Priyatna <freddy.priyatna(a)gmail.com>
> Verzonden: maandag 25 oktober 2010 16:32
> Aan: Communication channel for MonetDB users <monetdb-users(a)lists.sourceforge.net>
> Onderwerp: Re: [MonetDB-users] Querying date type column in MonetDB
>
> Hi Stefan,
>
> Nope, the name of the column is "deliveryDays" :)
>
> Freddy
>
> 2010/10/25 Stefan Manegold <Stefan.Manegold(a)cwi.nl>
>
>> Hi Freddy,
>>
>> I don't think that the error you experience is triggered by the column
>> type, but rather by the fact that your date column ha? a name - say "date" -
>> that is a reserved key word in SQL an hence needs to be double-quoted
>> according to the SQL standard (this is not a MonetDB specific choice, but a
>> "feature" of the SQL standard) --- not knowing your table & column names, I
>> can only guess, though ...
>>
>> Stefan
>>
>>
>> ----- Oorspronkelijk bericht -----
>> Van: Freddy Priyatna <freddy.priyatna(a)gmail.com>
>> Verzonden: maandag 25 oktober 2010 16:03
>> Aan: MonetDB-users <monetdb-users(a)lists.sourceforge.net>
>> Onderwerp: [MonetDB-users] Querying date type column in MonetDB
>>
>> Dear All,
>>
>> I am new to MonetDB, so most likely my question will look obvious.
>>
>> I would like to ask, how can columns with date type is queried in monetdb.
>> Based on my experience, it seems that date type columns need special
>> treatment. It seems that the only way to query them is with the syntax
>> "column_name" while other columns seems to work with the format
>> table_name.column_name without the need of double quote. When I tried to
>> query date column with the syntax table_name.column_name, it gave me an
>> error "no such column"
>>
>> So my question is, is it true that the only way to query date columns is
>> using "column_name" format? Another question will be, what happen if I need
>> to query same name columns coming from different table?
>>
>> Thanks in advance,
>> Freddy
>>
>>
>> ------------------------------------------------------------------------------
>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>> contest
>> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>> marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> _______________________________________________
>> MonetDB-users mailing list
>> MonetDB-users(a)lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/monetdb-users
>>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> MonetDB-users mailing list
> MonetDB-users(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-users
--
====================================================================
CWI, Kamer L330 Centrum voor Wiskunde en Informatica
Science Park 123 Email: arjen.de.rijke(a)cwi.nl
1098 XG Amsterdam tel: +31-(0)20-5924305
Nederland +31-(0)6-51899284
fax: +31-(0)20-5924312
===================== http://www.cwi.nl/~rijke/ ====================
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
MonetDB-users mailing list
MonetDB-users(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-users
Hi Freddy,
I don't think that the error you experience is triggered by the column type, but rather by the fact that your date column ha? a name - say "date" - that is a reserved key word in SQL an hence needs to be double-quoted according to the SQL standard (this is not a MonetDB specific choice, but a "feature" of the SQL standard) --- not knowing your table & column names, I can only guess, though ...
Stefan
----- Oorspronkelijk bericht -----
Van: Freddy Priyatna <freddy.priyatna(a)gmail.com>
Verzonden: maandag 25 oktober 2010 16:03
Aan: MonetDB-users <monetdb-users(a)lists.sourceforge.net>
Onderwerp: [MonetDB-users] Querying date type column in MonetDB
Dear All,
I am new to MonetDB, so most likely my question will look obvious.
I would like to ask, how can columns with date type is queried in monetdb.
Based on my experience, it seems that date type columns need special
treatment. It seems that the only way to query them is with the syntax
"column_name" while other columns seems to work with the format
table_name.column_name without the need of double quote. When I tried to
query date column with the syntax table_name.column_name, it gave me an
error "no such column"
So my question is, is it true that the only way to query date columns is
using "column_name" format? Another question will be, what happen if I need
to query same name columns coming from different table?
Thanks in advance,
Freddy
Dear All,
I am new to MonetDB, so most likely my question will look obvious.
I would like to ask, how can columns with date type is queried in monetdb.
Based on my experience, it seems that date type columns need special
treatment. It seems that the only way to query them is with the syntax
"column_name" while other columns seems to work with the format
table_name.column_name without the need of double quote. When I tried to
query date column with the syntax table_name.column_name, it gave me an
error "no such column"
So my question is, is it true that the only way to query date columns is
using "column_name" format? Another question will be, what happen if I need
to query same name columns coming from different table?
Thanks in advance,
Freddy
Hi,
I am using monetDB/SQL for windows on an xp machine. Two days ago, the server
stopped responding. Tried to repair and change it...but didn't work.
Also got it formally un-installed and then tried re-installation...but no luck.
Any hints. The server does not mount at all.
Regards
Nafees Ur Rehman
Konstanz, Germany
Hi,
I have recently tried doing some experiments with MonetDB, measuring
its performance for the following dataset+workload:
* 1 table (50 attributes), 1GB, comprising 3.000.000 tuples
* the attributes are fixed length strings and integer types
* the workload is query (SELECT) only, where each query has the form:
SELECT <list_of_projections> FROM MyTable WHERE <list_of_predicates>;
* the list of predicates is a conjunction of equality operators
* more than 99% of the queries predicate on the same attribute (let's
call it A1) that has a *very* good selectivity
* the average number of predicated attributes per query is 8
* for this workload, averaging over 4000 queries, there is 1 result
tuple per query (actual result tuples per query are in the range 0-10)
I have installed MonetDB on a 64-bit Debian machines, using the .deb
files provided on the internet:
* libmonetdb1_1.38.5-20100824_amd64.deb
* libmonetdb5-server5_5.20.5-20100824_amd64.deb
* libmonetdb5-sql2_2.38.5-20100824_amd64.deb
* libmonetdb-client1_1.38.5-20100824_amd64.deb
* monetdb5-server_5.20.5-20100824_amd64.deb
* monetdb5-sql_2.38.5-20100824_amd64.deb
* monetdb-client_1.38.5-20100824_amd64.deb
For running the queries I use the SQL front end.
I have run the queries both through "mclient" (directly on the server)
and through the JDBC driver (from another client machine).
The MonetDB server is bound to run on only one core on the machine
(though I have not seen any difference if running it on multiple
cores).
To my surprise, the throughput for MonetDB for this workload is very low.
I get about 3 queries per second, which seems to indicate that MonetDB
does full table scanning only.
Am I correct in this assumption?
Is there anything that can be done to speed it up?
Is this not a workload suitable for MonetDB?
Looking forward to your input!
Regards,
Tudor.
Narayan Sujay,
Thanks for your interest in MonetDB. Rather than directing technical questions to the CWI organization webmaster, you are supposed to post on one of the relevant mailing lists such as this one (monetdb-user(a)lists.sourceforge.net).
Peter
-----Original Message-----
From: Minnie Middelberg [mailto:Minnie.Middelberg@cwi.nl]
Sent: Friday, October 15, 2010 9:50 AM
To: Peter Boncz
Subject: Fwd: Comment via CWI webform MonetDB
Hallo Peter,
Onderstaand is binnengekomen via het CWI Comment formulier en het betreft MonetDB.
Wetende dat jij en Marting Kersten achter MonetDB zitten forward ik het maar naar jou.
Mocht er iemand zijn die dit soort vragen belast is dan hoor ik het graag van je.
Mvg Minnie
----- Forwarded Message -----
From: "Narayan Sujay" <316sujay(a)gmail.com>
To: voorlichting(a)cwi.nl, webmaster(a)cwi.nl
Sent: Thursday, 14 October, 2010 6:15:15 PM
Subject: Comment via CWI webform
Submitted on 14.10.2010 - 18:15
Submitted by anonymous user: [198.134.51.12]
Submitted values are:
Name sender: Narayan Sujay
Email address: 316sujay(a)gmail.com
Telephone number: 4193780532
Your comment:
Hello,
I have downloaded MonetDB and the native client and server work well. I can write simple queries in the client cmd window. I am trying to connect MonetDB with one of the SQL frontends like DB visualizer etc and I am not able to do this. Please help me out with instructions. I followed the instructions on the webpage but still getting errors connecting through db visualizer. I think it is the problem with the JDBC drivers. Please let me know excatly where to find the driver on the local computer after I have installed Monet DB.
My Main goal here is to load large Data sets in MonetDB.
Please tell me a way to do this for Monet DB.
The error I get in DB Visualizer is:
Long Message:
Cannot connect to ORB
Details:
Type: javax.naming.CommunicationException
Stack Trace:
javax.naming.CommunicationException: Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No]
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(Unknown Source)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(Unknown Source)
at com.sun.jndi.cosnaming.CNCtx.<init>(Unknown Source)
at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at com.onseven.dbvis.db.A.G.Ą(Z:3155)
at com.onseven.dbvis.db.A.G.Ĭ(Z:2675)
at com.onseven.dbvis.db.A.E.Ĭ(Z:98)
at com.onseven.dbvis.db.A.D.ā(Z:2056)
at se.pureit.swing.A.O$2.run(Z:1192)
at java.lang.Thread.run(Unknown Source)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(Unknown Source)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(Unknown Source)
at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(Unknown Source)
at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(Unknown Source)
at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Unknown Source)
at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Unknown Source)
at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Unknown Source)
at com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references(Unknown Source)
... 14 more
Caused by: java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(Unknown Source)
... 25 more
The results of this submission may be viewed at:
http://www.cwi.nl/en/node/757/submission/3152
Hi,
I'd like to upgrade to the June release.
I'm running Feb 2010.
Can I just build the June release and expect it
will just work with my database?
Or do I need to upgrade the data somehow?
I poked around dev.monetdb.org/hg, looking for release
notes, changelist, etc. but didn't find anything.
Thanks,
m