Friday, 2009-02-20

*** ii_log has joined #ingres00:14
*** ii_log` has joined #ingres01:22
*** ii_log has quit IRC01:35
*** rossand has joined #ingres02:56
*** ChanServ sets mode: +o rossand02:56
*** rossand has quit IRC03:04
*** perftuning has quit IRC04:22
*** toumi01 has quit IRC04:39
*** Alex|off is now known as Alex|07:10
*** Gerhard has joined #ingres07:47
GerhardHI all07:50
grantchi Gerhard07:55
grantc@nick ii_log07:55
*** ii_log` is now known as ii_log07:55
GerhardAny experiences with the "dotnet data provider" ingres.client.dll?08:01
grantcnot really, i have played with it a couple of times08:02
GerhardI like the idea of having only a single DLL on the client instead of a full-blown Ingres Client installation08:05
grantcits a bit more involved than a single dll but yes I understand what you are saying, like with iijdbc.jar08:06
grantci wish  we could do something similar for ODBC/PHP/Python/Ruby08:10
mc349We are starting to use it extensively and are very impressed.   It is just a matter of dropping one DLL into the GAC and you are good to go.  (As long as you've got the .net framework stuff already installed.)08:14
grantcnice - IronPython seems to work with it as well08:15
mc349It's faster than IngresNet / ODBC as it cuts out a few layers.   Unfortunately the iigcd process on the back end isn't load balancable like iigcc is.  But I believe I've seen that feature on a planned enhancment list somwhere.08:16
mc349Another bonus is having the source code to look at and even step through.    I don't think that's available for the client side ODBC driver yet?08:18
grantcmc349, its in the source tree for ingres under common/odbc08:19
mc349Oh good,   I'll have a look at that, when I get some time  ;-)08:20
grantcalthough if you want to debug the C the you should build ODBC/ODBC CLI/OpenAPI and perhaps parts of the CL in debug :)08:20
grantc;)08:21
grantcbtw the project you mentioned is http://community.ingres.com/wiki/Multiple_DAS_Support_Home08:21
mc349We've been using the ODBC driver successfully for at least 8 years,   I doubt there are any bugs left for us to find by now.08:21
grantc:)08:22
Alex|can we make a success story out of that? :)08:23
mc349The one thing that I wish they both would support would be the  Ingres    copy from  / copy into  statements.   For that we have to go back to IngresNet based stuff.08:24
Gerhardgrantc: you mentioned that it would be nice to have an ODBC driver that could directly connect to DAS, I'd like to have this also...08:38
pborome too08:40
Gerhard...would it be possible to write an ODBC wrapper around ingres.client.dll so that older apps (like Crystal 8.5) - that can only speak ODBC - could use ingres.client.dll?08:41
grantcthere are several issues, the JDBC/.NET drivers depend on features in the host language for date/time and charsets08:41
grantcGerhard, if you could write an C wrapper, yes08:42
grantca colleague started to look at writing a pure python driver that interfaced with the DAS server, not sure how far he got08:43
GerhardIt's quite frustrating that "ODBC-against-Ingres" is such an installation hassle compared to "JDBC-against-Ingres" which can even run from UNC paths, USB sticks etc.08:49
pboroGerhard, btw have you tried JDBC with Crystal and Ingres?08:50
pboroJust wondering if I should switch from ODBC to JDBC with Crystal...08:50
GerhardNo, I have never tested the Crystal + JDBC combination...08:51
pborookay08:52
Gerhardour own apps are OpenRoad with usage of Crystal 8.5 with ODBC (quite a lot of stuff to install)...08:52
Gerhard...but we have a third-party app running JDBC against Ingres, which is nice as far as installation is concerned (does not need an Ingres client setup)08:53
pboroyup08:53
GerhardI think, some third-party ODBC vendors like OpenLink made Ingres-ODBC-drivers in the past that did not need a full-blown client setup...08:55
Gerhard...but on the other hand needed some additional "server software"08:55
pborooh, I didn't know that08:55
pborodoh :)08:55
pboroso no big bonus with that either08:56
Gerhardyou're right, but why not provide an Ingres-ODBC-driver that connects to DAS? Or asked in another way: why isn't it possible for Ingres Corp to provide a lightweight ODBC driver...09:00
Gerhard...when they already provide a lightweight JDBC driver and lightweight Dotnet Data provider?09:01
GerhardJust because ODBC is "old"?09:01
grantcopenlink had/have a setup similar to the DAS09:02
grantcnot sure it is a question of age...09:03
grantcif you really want it, and I know you both do, raise an issue...09:04
grantcAlex|, check out http://www.bombstrike.org/2009/02/bringing-javascript-to-the-server/09:04
grantcnot sure if that might be of any use09:05
pborowe use javascript on server side for several things09:07
pboronot for SQL tho...09:07
grantcit's not a PECL module yet but was brought up on the mailing list this morning09:07
pborobut simply for system users to be able to customize some mathematical calculations, for example we do calcs for students' grading and every teacher may decide to use his/her own grading calculations :)09:08
pborothere are a number of templates for common cases and if none of them suits, the user can write the calcs on his/her own... it's actually quite cool :)09:08
grantcupdate grades set grade = grade  + 10 ....09:08
pboro:D09:08
GerhardGood idea, I'll raise an issue with tech support.09:09
grantcor bobby drop tables :)09:10
pborograntc, JS has no external context, you can import some values into the javascript scope and then after JS execution, export them from it09:10
pboroso it's perfectly safe09:10
pboro(as far as there's no holes in the JS engine itself)09:10
grantc:)09:11
grantchas anyone here read code complete?09:22
pboroGerhard, I raised an issue about the odbc driver, I wonder what will the answer be :)10:06
grantcif you want something from Ingres Corp it's the best way to get any action. For certain things you can poke a dev directly but ultimately we do what we are told by the higher-ups10:08
pboroyup10:09
pboroI guess that's the way it should be :)10:09
grantcindeed - as a former colleague once said, if it's not written down it does not exist :)10:10
pboroI hope he's not former because of saying that ;D10:11
pboroI guess ITIL is used pretty widely these days, even in software development10:12
pboroie. http://en.wikipedia.org/wiki/ITIL10:12
grantcno, in fact he was former when he said it :)10:13
pborooh okay :D10:13
pboronice for him10:13
grantchttp://croker.net/~ii_log/irc/logs/%23ingres/ is now being updated every two hours...10:14
Gerhardpboro: thanks, I also opened an issue at service desk. My issue number is 134502.11:07
GerhardMaybe we could "cross link" our issues to emphasize the importance.11:07
pboroI don't know my issue number yet 'cos we have to do all our service desk stuff through a local support company, but I'll keep this in mind11:08
pboroGerhard, 13450811:20
pboroMagnus from Sweden's Tieto had never heard about this kind of enhancement request, which amazes me a bit. Or not :)11:27
pboroI probably look into the JDBC stuff with Crystal if that would work instead of ODBC stuff11:27
grantcpboro, i guess it depends on what end of the stick you work ...11:28
pborohehe, yeah :)11:29
grantcvi vs emacs, devs vs dbas...11:29
pboroI started to wonder whether #ingres should have a live meeting some day! :)11:30
pborounfortunately there are so few of us so I guess it wouldn't make much sense11:30
grantci guess it depends on what you want to talk about?11:31
pboroyeah I was thinking more of social stuff than some real conversations about some specific topics :D11:33
grantcingres drinking game ... for every sql statement mentioned you have to down a mouthful?11:34
pborohehe11:35
pboroI guess the people on the chan are so few and so scattered that having a social get-to-know or similar meeting is not possible11:35
grantcperhaps11:36
*** troal01 has left #ingres12:40
*** troal01 has joined #ingres12:45
*** perftuning has joined #ingres13:03
elPiolagrantc, re Code Complete, I have, eons ago13:16
grantcok - i keep hearing about it on the stack overflow podcast13:17
grantcwas wondering if it was any good?13:17
elPiolafrom what I remember it was thick, so I'm not sure if I finished it, and I sold it or gave it away13:18
grantc:)13:18
elPiolaI have kept Writing Solid Code, but I haven't looked at it for quite some time13:19
GerhardWhat is the difference between "wintcp" and "tcp_ip" when adding a Vnode in VisualDBA?13:34
grantcthe latter uses the new Winsock2 protocol driver13:35
GerhardThanks. Is it faster than the older protocol?13:40
*** rossand has joined #ingres13:52
*** ChanServ sets mode: +o rossand13:52
*** Gerhard has quit IRC13:59
mc349can "customers" who are not paying for support  raise a service request / enhancement request?14:22
Alex|at http://bugs.ingres.com14:23
Alex|the community tracking system14:23
troal01BTW grantc, this lets me exceed the page limitation: modify quote to reconstruct with partition = (hash on id 4 partitions (part1, part2, part3, part4)), location = (data_1, data_2, data_3, data_4)\g14:26
troal01So I guess it's confirmed just reorganizing to other locations isn't sufficient to grow the table14:26
grantcok - glad you worked it out14:26
grantcnow can you do a write up for the wiki?14:26
troal01Hehehe, yeah sure, where do you want me to put it?14:27
grantcwith tid > 2^2314:27
grantcdo the write up and I will have a think about it14:28
grantci guess under Articles..14:28
troal01So there's not a page for it currently?14:29
grantcyou could write it as a how to... or what to do when ...14:30
troal01Under tech tips is probably a good place14:31
troal01Do we have code tags for our wiki?14:45
troal01I guess <pre> tags will have to do14:50
troal01Would be nice to have the <source> extension though14:50
troal01http://community.ingres.com/wiki/TID_Limitation14:53
*** DarylM has joined #ingres14:55
troal01Hey DarylM, mind taking a look? http://community.ingres.com/wiki/TID_Limitation14:56
DarylMk14:56
DarylMI don't have the reference handy but I believe there is a fairly exact formula on rows/page in the dba guide that would be a nice reference there.14:58
troal01Let me do a quick search14:59
DarylMAlso, I don't think the locations are required?  If so, it might be misleading because adding locations is a much bigger pain for a dba than partitioning a table.14:59
DarylM(In fact, we are rapidly moving away from database locations.  I consider them a leftover from pre-Raid/pre-SAN days)15:00
troal01Good question I didn't try without locations... But I guess they might not be necessary15:01
troal01Well I kinda like being able to locate my data on a separate HDD from my OS :)15:10
troal01Is this what you were talking about DarylM? http://docs.ingres.com/Ingres/9.2/Database%20Administrator%20Guide/calculatingdiskspace.htm#o178015:13
DarylMMoving your data to a different file system from other stuff can be a good idea.  Using multiple data locations isn't really necessary is the vast majority of cases anymore15:16
DarylMThere are of course exceptions15:16
DarylM;)15:16
DarylMYa15:16
troal01Great I'll link it in15:17
troal01Thanks15:17
DarylMRight.  The actual formula was embedded in the iitables system catalog.15:17
grantctroal01, i am going to rename the page to "Working with large tables"15:33
grantcassuming you have no objections :)15:33
troal01Not at all, I'm terribly at naming :)15:40
*** Alex| is now known as Alex|off15:42
grantc:)15:42
grantcdone15:42
grantchttp://community.ingres.com/wiki/Working_with_large_tables15:42
DarylMSuccinct and to the point.  I like it.15:44
troal01Thanks grantc, good reference :)15:48
grantcbtw the IRC logs of this channel are now at http://irc.planetingres.org15:54
grantcupdated every 30 mins or so15:54
DarylMZOMG we are enshrined forever........15:55
*** grantc is now known as grantc_offline15:57
troal01LOL15:57
*** grantc_offline is now known as grantc16:00
grantctroal01, are you going to extend that wiki page to include the steps you need to create the locations and extend the db?16:06
troal01No because according to DarylM the extra locations aren't necessary16:07
troal01I never tested but I trust his memory! :)16:07
DarylMfoolish mortal16:07
troal01Spare me oh awesome guru of Ingres16:08
* DarylM is sitting here Yoga style in his chair but not because he is a guru, but because of the level of BS on the floor16:09
DarylM;)16:09
troal01Hehehe16:09
mc349is there a maximum number of partitions for a table?    Perhaps this limit (if any) should be mentioned on the wiki page,  giving the maximum theoretical rows that Ingres can handle in a single table.    Not that I like growing anything above a few tens of millions!16:18
mc349(of rows)16:19
troal01That's a good question mc349, DarylM any idea?16:21
DarylMThat is a good question.  The SQL reference manual does have the following note"  Note: If tables are defined with thousands of partitions, Ingres should be16:24
DarylMproperly configured."16:24
mc349The DBA should be properly reconfigured in my opinion!16:25
DarylM:D16:25
troal01LOL16:27
*** toumi01 has joined #ingres16:41
*** Alex|off is now known as Alex|17:00
*** Alex| is now known as Alex|off21:00
mc349Hi Roy!21:40
*** ukjay has joined #ingres21:40
*** ukjay has left #ingres21:41
*** DarylM has quit IRC23:35
*** grantc is now known as grantc_offline23:55
*** elPiola has left #ingres23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!