Re: MySQL vs. PostgreSQL -- speed test

2003-07-14 Thread Robson Oliveira
 I agree with your opinion in 100%, but in my case I need DBMS with
 features like subselectes/utf-8/stored procedures but the
 speed is also
 very important issue.

 You might have to spend money!



You are saying that there is DBMS with all this features and it is as
fast as MySQL ?

I don't know, but if there is, it is one you will have to pay for.
In any case, speed is as much a matter of application design as a DBMS
characteristic.

As a minor side issue, we did some _very limited_ testing with MS SQLServer
2000 using unicode v ascii queries. Using unicode, queries tended to run at
about half the speed compare to using ascii.
 This was client server, so it is likely that the increased network traffic
is to blame, but bear it it mind.

IPv6 is coming soon and PostgreSQL 7.4 will be the 1st database IPv6-ready!
This oportunity give to us the choice to move on to IPv6 network environment.
I do believe (tested in my network 6to4 connection) this move can improve the
environment performance until 18% in all!

Some moves can Checkmate!
Robson Oliveira

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Can't send Register ID

2003-06-09 Thread Robson Oliveira
Thank you so much ;-)
- Original Message -
From: Fred van Engen [EMAIL PROTECTED]
To: Robson Oliveira [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, June 08, 2003 2:30 PM
Subject: Re: Can't send Register ID


Hi,

On Sun, Jun 08, 2003 at 01:53:24PM -0300, Robson Oliveira wrote:
 I'm trying to send a e-mail with the record register ID from a PHP code
query and don't show the value.

 // Connect to database
 $db = mysql_connect (localhost, my_db, passxx);


$db = mysql_connect (localhost, my_db, passxx);
if (!$db) {
  print 'mysql_connect error: '.mysql_error();
}
else {

 // Select the database

 mysql_select_db(my_db, $db);


  if (!mysql_select_db(my_db, $db)) {
print 'mysql_select_db error: '.mysql_error();
  }
  else {

 // Select user registration ID from the database based on the last record
string $ssecurity_record from the registration page.

 $register_id = mysql_query( SELECT register_id from table_register WHERE
$ssecurity_record = ssecurity_record;


Are you sure it gets this far? Your line above won't compile because of
a missing  and a missing ).

$result = mysql_query( SELECT register_id from table_register WHERE
$ssecurity_record = ssecurity_record );

if (!result) {
  print 'mysql_query error: '.mysql_error();
}
else {
  $row = mysql_fetch_row($result);
  if (!row) {
print 'mysql_fetch_row: no row, error: '.mysql_error();
  }
  else {
$register_id = $row['register_id'];

 echo $register_id = At this time the value is blank when I print the value


  }
}
  }
}



 Please, If someone know how to print the record value and Select function in
php send to me.


Read the manual, check return values, etc. If you're running PHP in
apache, then check the error_log and use the error_log() function
instead of print as I use in the code above.

My code above is untested BTW.


Regards,

Fred.


--
Fred van Engen  XB Networks B.V.
email: [EMAIL PROTECTED]Televisieweg 2
tel: +31 36 5462400 1322 AC  Almere
fax: +31 36 5462424 The Netherlands

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Can't send Register ID

2003-06-08 Thread Robson Oliveira
Hi,

I'm trying to send a e-mail with the record register ID from a PHP code query and 
don't show the value.

// Connect to database
$db = mysql_connect (localhost, my_db, passxx);
 
// Select the database

mysql_select_db(my_db, $db); 
 
// Select user registration ID from the database based on the last record string 
$ssecurity_record from the registration page.
 
$register_id = mysql_query( SELECT register_id from table_register WHERE 
$ssecurity_record = ssecurity_record;

echo $register_id = At this time the value is blank when I print the value


Please, If someone know how to print the record value and Select function in php send 
to me.

-rgoliver