I have created Neo4j virtual machine in windows azure.How to increase the performance of it?Now it takes time in 30-50 seconds range for simple query also.How to improve this?Any one can please help?
My sample data model is given below
public class Users
{
public string email
{
get;
set;
}
public string password
{
get;
set;
}
public string firstname
{
get;
set;
}
public string lastname
{
get;
set;
}
public string dob
{
get;
set;
}
public string gender
{
get;
set;
}
public string id
{
get;
set;
}
public string facebookId
{
get;
set;
}
public string googleId
{
get;
set;
}
public string profile_pic
{
get;
set;
}
public Guid Recoverid
{
get;
set;
}
public Guid Emailverification
{
get;
set;
}
public string HighSchool
{
get;
set;
}
public string College
{
get;
set;
}
public string Employer
{
get;
set;
}
public string Currentcity
{
get;
set;
}
public string HomeTown
{
get;
set;
}
public bool registerationstatus
{
get;
set;
}
public string Language
{
get;
set;
}
public string Username
{
get;
set;
}
public string FullName
{
get;
set;
}
public string joinDate
{
get;
set;
}
public string primeryrecoverymail
{
get;
set;
}
public string secondaryrecoverymail
{
get;
set;
}
public string loginnotification
{
get;
set;
}
public string Mobileno1
{
get;
set;
}
public string Mobileno2
{
get;
set;
}
public string FuturePostSettings
{
get;
set;
}
public string FriendrequestSettings
{
get;
set;
}
public string Contactmesettings
{
get;
set;
}
public string Lookmebymail
{
get;
set;
}
public string LookmebyPhone
{
get;
set;
}
public string isvisible
{
get;
set;
}
public string userstatus
{
get;
set;
}
#endregion
}
and query is
var datas = client.Cypher.Match("(user:User)").Where((Users user) => user.email == email && user.password == password).Return(user => user.As<Users>()).Results;